#645 Posted in ‘Showtime Image Gallery’

Latest post by Lefteris Kavadas on Monday, 23 November 2020 11:47 EET

webfeuer - Mag. Bauer
Hello,
is there a way to render the gallery in a override, like I would with other custom fields?
If I use <?php var_dump($item->jcFields['galerie']->rawvalue);?> the output is 1. How could I get the images?

The same goes for using the gellery field as custom content source in yootheme pro. It also just displays "1".

thank you!

Lefteris Kavadas
Hi,

The output of the field is available in the "value" property, not the "rawvalue".
<?php var_dump($item->jcFields['galerie']->value);?>


The rawvalue is just the associated gallery ID.

The problem is that Yootheme is using the wrong property. You have to ask their support about it. They could at least add an option for that when using a custom field.

There is also an alternative way to display the field using Yootheme dynamic content . Custom fields are rendered on specific events. If you edit a custom field there is an option named "Automatic display" under the "Options" tab. This is where you select your preferred event for rendering the field. Going back to the page builder and importing that specific event instead of the custom field will make the field displayed. But keep in mind that if there are any other plugins rendered on that event they will also get displayed.

The best solution here is to ask Yootheme support about the custom fields integration before anything else.

Regards

webfeuer - Mag. Bauer
perfect thank you!

Lefteris Kavadas
You are welcome.

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