简体   繁体   中英

JOOMLA : template overrides for plugin

i'm doing a gallery plugin for joomla, someone told me to use template overrides, i really don't know what the hell is this, and why i need to use it for my gallery plugin? i did googling and found this article useful Joomla template override , but still i am not able understand why i need this, and how to do this for my gallery plugin 'cause the example i found is for modules, your help will be much appreciated.

If you are simply trying to insert some content (a gallery) into the output via a plugin, template overrides are not what you need. Template overrides would allow you to modify the output of a component or a module, but not to insert a functionality like a gallery. You simply want to create a plugin that acts on onContentPrepare.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM