Keyword

Customized messages for specific categories on content contribution??

  • Knoxtt
  • Knoxtt's Avatar Topic Author
  • Offline
  • New Member
More
5 years 7 months ago #171770 by Knoxtt
Is it possible to tailor a verification message based on the category chosen? So for cateogry A when a registered user submits an item for a blog they get one message about awaiting confirmation from the administrator and thanking them for Message A for Category A and when content is submitted for category B, the user gets a different message, of course saying something similar about administrative approval but thanking them for their submission on Category B.

Can this be done?

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

More
5 years 7 months ago #171781 by JoomlaWorks
Yes, it's possible, but with a K2 plugin triggered on the "onAfterK2Save" event. You would grab the "catid" request variable (=the category ID) and display a different message accordingly.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Knoxtt
  • Knoxtt's Avatar Topic Author
  • Offline
  • New Member
More
5 years 7 months ago #171800 by Knoxtt
Is there an example you can provide? My php skills are basic. If an update is done to Joomla will the code be overwritten? Is there an extension or plugin that can do it?

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

More
5 years 7 months ago #171810 by JoomlaWorks
Not out of the box. You'd have to have a custom built plugin for that.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum