LemonStand Forum: Flash Message - LemonStand Forum

Jump to content

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

Flash Message

#1 User is offline   mitchkramez 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 84
  • Joined: 26-February 10

Posted 26 August 2010 - 01:36 PM

It'd be great to have the flash message "x items added to cart" if "cart" linked to the cart.

If there's a simple way to do this globally that'd be fine too without having to update every place where i have an add to cart button.

Thanks!

This post has been edited by mitchkramez: 26 August 2010 - 01:44 PM

0

#2 User is offline   Aleksey 

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

Posted 26 August 2010 - 04:07 PM

Hi, Mitch!

Thank you for the suggestion. Now the flash_message() function removes HTML formatting from messages. I will extend this function with an optional parameter which will allow you to display HTML-formatted messages. I will let you know when I publish the update.

Thanks

#3 User is offline   mitchkramez 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 84
  • Joined: 26-February 10

Posted 27 August 2010 - 08:06 AM

Just an additional thought... if some of the default flash messages, such as the added to cart one could be a partial that you could easily edit/format on a global basis.
0

#4 User is offline   Aleksey 

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

Posted 07 September 2010 - 06:38 PM

Hi, Mitch!

Please read this post: http://forum.lemonst...ost/3215/#p3215

Thanks

Share this topic:


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

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