Joomla Forum

General Discussion => Techies Zone => Topic started by: Antonio on October 07, 2008, 08:09:28 PM



Title: How to - RSGallery2 multi-folders hack?
Post by: Antonio on October 07, 2008, 08:09:28 PM
Hi everybody!! First of all let me apologize in advance for my bad English. Let me ask you if you can create an hack for RSGallery2 to create folders for each gallery. Actually the component load all photos into a common folder. May you help me? My knowledge does not allow me to make this change. Thanks


Title: Re: How to - RSGallery2 multi-folders hack?
Post by: locutus on October 08, 2008, 09:28:03 AM
I recommend not to adapt a component that way; every new version has to be changed with your special code. The way to go is: post a message on the wish list of RSgallery.

It not so difficult to sort your pictures: just put the name of the gallery in the images filename, so you get something like this:
  • gallery_yellow-picture1.jpg
  • gallery_yellow-picture2.jpg
  • gallery_yellow-picture3.jpg
  • gallery_yellow-picture4.jpg
  • gallery_green-picture1.jpg
  • gallery_green-picture2.jpg
  • gallery_black-picture1.jpg
  • gallery_black-picture2.jpg
  • gallery_black-picture3.jpg


Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com