Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Latest gallery image in module

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 6 months ago #164281 by Steven Trooster
Latest gallery image in module was created by Steven Trooster
I would like to create a module which shows the latest image added to a photo-gallery on my homepage. I tried to create a html module with the ligpro shortcode:
{gallery}myfolder:300:300:1:0{/gallery}

but this doesn't work. The module displays the the code, not the gallery. Is there a way to show the most recent uploaded image?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164283 by Krikor Boghossian
Replied by Krikor Boghossian on topic Latest gallery image in module
You need to enable the "Prepare Content" setting in the module's params.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 6 months ago #164290 by Steven Trooster
Replied by Steven Trooster on topic Latest gallery image in module
Thank you, that worked!

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

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 6 months ago #164291 by Steven Trooster
Replied by Steven Trooster on topic Latest gallery image in module
Still one question: I would like to see the latest addition in the module, so that if I add a new image, this image is shown. But it seems to stick to the first item.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164318 by Krikor Boghossian
Replied by Krikor Boghossian on topic Latest gallery image in module
I assume you are using the single thumbnail mode, if that is the case, then simply reverse the ordering.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Steven Trooster
  • Steven Trooster's Avatar Topic Author
  • Offline
  • Premium Member
More
6 years 6 months ago #164321 by Steven Trooster
Replied by Steven Trooster on topic Latest gallery image in module
I've found it. It's called Reverse Default. (Reverse Date would be more a more clear name ;-) )
But isn't this a general setting for all galleries? I'm using more than one gallery, but just this specific ones needs to have a reverse date order.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164354 by Krikor Boghossian
Replied by Krikor Boghossian on topic Latest gallery image in module
Yes, this is a global setting.
Unfortunately it can't be applied on a per gallery basis.

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