Skip to main content

Notification messages classes

More
8 years 1 month ago #296824 by info@vesica.org
-- 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!

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

More
8 years 1 month ago #296826 by Jerome
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.

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

More
8 years 1 month ago #296870 by info@vesica.org
Hi,

on the cart page I'm saving the cart.



thanks!

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

More
8 years 1 month ago #296872 by Jerome
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.

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

Time to create page: 0.176 seconds
Powered by Kunena Forum