Notification messages classes

  • Posts: 162
  • Thank you received: 0
5 years 8 months ago #296824

-- HikaShop version -- : 3.5.1

Hi,

I see on some notification messages the correct classes are not used sometimes. For example when a success message is printed to screen the html tag has the class "alert alert-message" instead of "alert alert-success" like in Joomla.



Please let me know is it possible to correct this issue?

thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
5 years 8 months ago #296826

Hello,

Without more details about what action you're performing to get that message ; I'm afraid that we won't be able to give you a useful indication to change the type of the message.
Please provide these details.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 162
  • Thank you received: 0
5 years 8 months ago #296870

Hi,

on the cart page I'm saving the cart.



thanks!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
5 years 8 months ago #296872

Hello,

"success" is not a valid parameter for the function "enqueueMessage" (more specially in the front-end context).
See : docs.joomla.org/Display_error_messages_and_notices

You can also see how it is handle in the Joomla core components, where there is no type parameter for success messages.
github.com/joomla/joomla-cms/blob/stagin...trollers/profile.php

And the Joomla default template is right displaying a green background for these messages.
github.com/joomla/joomla-cms/blob/stagin...a/system/message.php

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum