What is the defaultGallery in Greenery?

More
5 years 7 months ago - 5 years 7 months ago #11989 by jos
In Greenery in roomtype/default.php on line 75 I read this statement:
<?php echo $this->defaultGallery; ?>

What is that defaultGallery, and where is it defined?

(I'm building a layout based on Greenery. I have installed Solidres and created an override for the roomtype. That works, but I can't find the gallery.)
Last edit: 5 years 7 months ago by jos.

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

More
5 years 7 months ago #12000 by solidres
Replied by solidres on topic What is the defaultGallery in Greenery?
Hi,

The default gallery is the Simple Gallery which can be configured in your Solidres Options.

Simple Gallery can be found here: plugins/solidres/simple_gallery/components/com_solidres/layouts/gallery

Regards,

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

More
5 years 7 months ago - 5 years 7 months ago #12006 by jos
Replied by jos on topic What is the defaultGallery in Greenery?
Got it. Had to activate the plugin.

If I want to use a different plugin, how can I substitute Simple gallery for that one?

Where do I configure the Simple Gallery options?
Last edit: 5 years 7 months ago by jos.

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

More
5 years 7 months ago #12013 by solidres
Replied by solidres on topic What is the defaultGallery in Greenery?
Hi,

To add your own gallery, you can develop a new gallery plugin which has the same structure with plg_solidres_simple_gallery, make sure that the plugin name has the word "gallery" in it. Then install it using Joomla Installer and it will be showed up in the Solidres config for selection.

Regards,

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

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?