IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

OnContentAfterSave, change custom field value and save that

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
2 weeks 1 day ago #179785 by Uzi
Hello,

I have a plugin thats does some external work when an article gets saved. This is based on a custom field value. Now I want to change that custom field value to a certain value every time that article gets saved. Is this possible? and if so how should i do that? should i run $article->save again or do I need to just run a direct query in the database?

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


Powered by Kunena Forum