LemonStand Forum: Style Cms_Exception dialog - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Style Cms_Exception dialog

#1 User is offline   rm 

  • Member
  • Group: Members
  • Posts: 5
  • Joined: 21-December 10

Posted 25 January 2011 - 12:52 AM

Hi Guys,

I'm wondering if there is any way to apply custom styles on Cms_Exception?
0

#2 User is offline   Eric 

  • Developer
  • PipPipPip
  • Group: Members
  • Posts: 1,290
  • Joined: 04-August 10
  • LocationVancouver, Canada

Posted 25 January 2011 - 11:05 AM

Hi Reyaz,

Do you mean the alert (dialog box) that shows up if there is an error/exception on the frontend? Or do you mean the exception page (not a dialog)?

Posted Image
or
Posted Image

Thanks
0

#3 User is online   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 3,626
  • Joined: 31-October 09

Posted 25 January 2011 - 03:57 PM

Hi!

Please read this documentation article: http://lemonstandapp...arning_process/

It explains how to replace the default detailed error message with a custom error page.

Thank you

#4 User is offline   omarkassim 

  • Member
  • Group: Members
  • Posts: 19
  • Joined: 15-September 10

Posted 25 January 2011 - 08:25 PM

Hi Guys,

Thanks for the information above.

Is there any way to actually style the alert dialog box?
0

#5 User is offline   Eric 

  • Developer
  • PipPipPip
  • Group: Members
  • Posts: 1,290
  • Joined: 04-August 10
  • LocationVancouver, Canada

Posted 25 January 2011 - 09:38 PM

Aleksey made a post in this topic about extending the MooTools frontend with custom alert dialogs.

If you use the jQuery frontend, try this code:

Phpr.showLoadingIndicator = function() {
    // show lightbox that says "Processing"
};

Phpr.hideLoadingIndicator = function() {
    // hide lightbox
};

Phpr.response.popupError = function() {
    // show lightbox for X seconds with this text: this.html.replace('@AJAX-ERROR@', '');
};


I've attached the full usage with a customized jBar.

As Aleksey mentioned, this page may be helpful: http://lemonstandapp...ript_framework/
0

#6 User is offline   omarkassim 

  • Member
  • Group: Members
  • Posts: 19
  • Joined: 15-September 10

Posted 25 January 2011 - 11:01 PM

Hi Eric,

Thanks for the quick response. We'll have a look at this to see what we can do!
0

#7 User is offline   rm 

  • Member
  • Group: Members
  • Posts: 5
  • Joined: 21-December 10

Posted 26 January 2011 - 12:08 AM

Thanks Guys,
:)
0

#8 User is offline   Eric 

  • Developer
  • PipPipPip
  • Group: Members
  • Posts: 1,290
  • Joined: 04-August 10
  • LocationVancouver, Canada

Posted 22 February 2011 - 11:10 AM

Reattached for new forum.

Attached File(s)


0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users