[Skip to main content](#vessel-content)

#   Notification messages classes

##

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

8 years 2 months ago [\#296824](#296824) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  *[Notification messages classes](/forum/26-product-category-display/895519-notification-messages-classes#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 &quot;alert alert-message&quot; instead of &quot;alert alert-success&quot; like in Joomla.  Please let me know is it possible to correct this issue?  thanks!")* was created by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")*

-- 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.

[ ![screen&#95;2018-08-16.jpg](/forum/attachment/44564) ](/forum/attachment/44564 "...2018-08-16.jpg")

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

thanks!

- [ ![screen&#95;2018-08-16.jpg](/forum/attachment/44564) ](/forum/attachment/44564 "...2018-08-16.jpg") [ ](/forum/attachment/44564?download=1 "...2018-08-16.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU1MTktbm90aWZpY2F0aW9uLW1lc3NhZ2VzLWNsYXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 2 months ago [\#296826](#296826) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Notification messages classes](/forum/26-product-category-display/895519-notification-messages-classes#296826 "-- 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 &quot;alert alert-message&quot; instead of &quot;alert alert-success&quot; like in Joomla.  Please let me know is it possible to correct this issue?  thanks!")*

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 &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU1MTktbm90aWZpY2F0aW9uLW1lc3NhZ2VzLWNsYXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")**
- [![info@vesica.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile") Topic Author
- [ Offline](/forum/user/32522-info-vesica-org)

Less More

- Posts: 162
- Thank you received: 0
-
-

8 years 2 months ago [\#296870](#296870) by [info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")  Replied by *[info@vesica.org](/forum/user/32522-info-vesica-org "View info@vesica.org's Profile")* on topic *[Notification messages classes](/forum/26-product-category-display/895519-notification-messages-classes#296870 "-- 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 &quot;alert alert-message&quot; instead of &quot;alert alert-success&quot; like in Joomla.  Please let me know is it possible to correct this issue?  thanks!")*

Hi,

on the cart page I'm saving the cart.

[ ![screen&#95;2018-08-17.jpg](/forum/attachment/44571) ](/forum/attachment/44571 "...2018-08-17.jpg")

thanks!

- [ ![screen&#95;2018-08-17.jpg](/forum/attachment/44571) ](/forum/attachment/44571 "...2018-08-17.jpg") [ ](/forum/attachment/44571?download=1 "...2018-08-17.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU1MTktbm90aWZpY2F0aW9uLW1lc3NhZ2VzLWNsYXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 2 months ago [\#296872](#296872) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Notification messages classes](/forum/26-product-category-display/895519-notification-messages-classes#296872 "-- 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 &quot;alert alert-message&quot; instead of &quot;alert alert-success&quot; like in Joomla.  Please let me know is it possible to correct this issue?  thanks!")*

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](https://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](https://github.com/joomla/joomla-cms/blob/staging/components/com_users/controllers/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](https://github.com/joomla/joomla-cms/blob/staging/templates/protostar/html/layouts/joomla/system/message.php)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU1MTktbm90aWZpY2F0aW9uLW1lc3NhZ2VzLWNsYXNzZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
