#940 Posted in ‘Showtime Image Gallery’

Latest post by Jip JJ Jonker on Thursday, 22 September 2022 14:57 EEST

Jip JJ Jonker
Hi! We have setup up a template for a wwebsite that uses a shwotime custom field in com_content. So a gallery can easilty be added to artciles.

Ik knw we can use the editor plugin to add a tag in the content of an artivle that will show the galery attached to the aricle. But I would like to do this in our template.

In our template I have the ID of the galery. I tried:

echo JHTML::_('content.prepare', '{field 3}');

But that does not work. I get this errro:
0 - count(): Argument #1 ($value) must be of type Countable|array, null given

Is there a way to render the gallery in our tempate using the custom field gallery ID value we have?

Jip JJ Jonker
I used the {showtime ID} tag. This works.

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review