Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: messagestack

    Quote Originally Posted by rkarta View Post
    I changed $message.=strip_tags($thisoutput['text']).'\n';
    to $message=strip_tags($thisoutput['text'],'<br>');
    and now it works!

    for some reason the \n didn't work but now it's fine. I just have to change all \n to <br>.

    Thanks a lot for your help!!!!!!!!
    No problem, I'm guessing lightalert.js uses the html break tag instead of the newline character.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  2. #2
    Join Date
    Dec 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: How can I put attribute errors into a javascript popup?

    Hi guys,

    I was wondering about this issue also and saw here that you fixed it.
    However I am a new Zenner and I got lost in your conversation.

    Could you please detail exactly what you did to fix this?
    What file/files did you modify and what modification therein?

    I would really appreciate any help with this.

    Thanks,

  3. #3
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: How can I put attribute errors into a javascript popup?

    Hi

    I played around with the javascript option but i couldn't get it working properly in the end. I don't exactly remember what the problem was, but it just didn't look nice so eventually i just removed it all.

    If you want to give it a shot, the file i changed was tpl_message_stack_default.php and you can see all the changes in this thread on page 1.

    Good luck!

  4. #4
    Join Date
    Dec 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: How can I put attribute errors into a javascript popup?

    OK! Thanks,
    I will give it a shot and will report back if I make any progress.

    Thanks for the quick reply. I appreciate it.

  5. #5
    Join Date
    Jun 2009
    Location
    Kent, UK
    Posts
    347
    Plugin Contributions
    5

    Default Re: How can I put attribute errors into a javascript popup?

    i know this an old thread, but im hoping someone will still be around to advise.

    ive done the above and its great, there was mention of adding slimbox to the alert popup to style it, can anyone give any kind of guidance on how to do this please? i have it installed already i just need to know how to call it etc from that code above. thanks

 

 

Similar Threads

  1. v151 How can I put an image into main page template?
    By Twitchin Kitten in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 7 Mar 2016, 11:00 PM
  2. v150 How to put Attribute Images into Columns?
    By beyre in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 26 Nov 2012, 08:10 PM
  3. Can I put a WYSIWYG Editor into a Text Box Attribute?
    By NCSWI in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 9 Aug 2011, 10:30 PM
  4. Can I put a "click for details" popup in my attribute descriptions?
    By brandonturpin in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Oct 2009, 03:20 PM
  5. Shipping Estimator Popup - Javascript Errors in IE
    By thehin in forum General Questions
    Replies: 1
    Last Post: 12 Jul 2007, 05:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg