Keyword

Using the plugin tag in php source (K2 item template)

  • Balazs Daniel
  • Balazs Daniel's Avatar Topic Author
  • Offline
  • New Member
More
12 years 9 months ago - 12 years 9 months ago #49371 by Balazs Daniel
I'd like to use the plugin in K2 item template php file but it's not working. I place the {gallery}folder{/gallery} tags and it shows the tags instead the gallery in the frontend.

If I'm right the problem is occuring because of the following row in the gallery php file:
// Find all instances of the plugin and put them in $matches
preg_match_all($regex, $row->text, $matches);

The code is searching the tags only in saved text in database.

I'm new to PHP and don"t know how to check the whole page and source code for the tag string.

Any solution to solve this?

Thanks for your help.

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

More
12 years 9 months ago #49372 by Katia
Simple Image Gallery is not compatible to K2, only SIG PRO.

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