Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,828
    Plugin Contributions
    31

    Default what messages appear in the header message stack?

    Just seen this appear (I think for the first time).
    As it initially broke my page layout I would be interested to know (for test purposes) what other events cause a message to appear in this location.

    Here's a starter..

    1) "Product has been added to cart"
    when a product has been added to a cart (and "Display Cart After Adding Product" is set to false)

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: what messages appear in the header message stack?

    Grep the files for $messageStack

    Or use the developers tool kit
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,828
    Plugin Contributions
    31

    Default Re: what messages appear in the header message stack?

    yes, there are loads of references to $messageStack but many of those messages do not appear in the header but in the main body.
    I'd never seen one in the header before this one.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: what messages appear in the header message stack?

    Try looking for

    Code:
    $messageStack->add_session('header'
    That should give you the full list of header-destined messages.

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,828
    Plugin Contributions
    31

    Default Re: what messages appear in the header message stack?

    ok, thanks

 

 

Similar Threads

  1. v153 Adding a message into the message stack
    By delia in forum General Questions
    Replies: 9
    Last Post: 22 Oct 2014, 05:29 PM
  2. v151 Add an error to the message stack for checkout shipping?
    By delia in forum General Questions
    Replies: 7
    Last Post: 10 Dec 2012, 02:55 PM
  3. Add span class to the message stack text
    By LissaE in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Mar 2010, 11:55 AM
  4. Stack Warning Messages
    By mrbillinny in forum General Questions
    Replies: 0
    Last Post: 18 Sep 2009, 08:01 PM
  5. Message Stack Error - Changing the text
    By rkmoore11 in forum General Questions
    Replies: 2
    Last Post: 16 Sep 2007, 02:09 AM

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