collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Can't get RSG "Show My Galleries" to work by Dampfnudel
[February 25, 2019, 11:01:55 AM]


Change the order of uploaded images in the gallery by whazzup
[February 19, 2019, 10:37:29 PM]


Upload timeout for large galleries (500 images each) by whazzup
[February 11, 2019, 10:07:25 PM]


Greetings from Ronald Smit by whazzup
[January 06, 2019, 03:39:22 PM]


Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]


search.html.php refer to rsgsearch.css with a wrong path by whazzup
[January 13, 2018, 08:12:04 PM]


Slow Gallery with many Photos by whazzup
[September 22, 2017, 09:22:33 AM]

RSGallery2 adheres to MVC of 1.5?

  • 2 replies
  • 3399 views
*

Offline juro

  • *
  • 15
RSGallery2 adheres to MVC of 1.5?
« on: July 17, 2008, 08:06:44 PM »
Hi,
I am looking for a more standard way of defining menu items that link straight to a certain gallery and have come to this page:

http://docs.joomla.org/Component_parameters

This describes that the menu item parameters are located in a xml file in

/PATH_TO_JOOMLA/components/com_COMPONENT_NAME/views/VIEW_NAME/tmpl/TEMPLATE_NAME.xml

As there is non such folder in the rsgallery2 component, I was wondering whether RSGallery2 adheres to Joomla's MVC and - if not - when this will be the case.

I would like to add more parameters than only the gellery id. For instance it would be nice to define the look of the menu item straight when creating it, i.e. slideshow, single view, thumbnail view, etc.

Any comments will be appreciated.

juro

*

Offline Jonah

  • ****
  • 1.412
Re: RSGallery2 adheres to MVC of 1.5?
« Reply #1 on: July 18, 2008, 07:12:04 PM »
Hi Juro,

RSG2 has only recently become J1.5 native and still has a lot of work to become ful J1.5 standardized.

My advice is to create an external link and just drop in the exact URL that works for you.  To view a gallery in a certain fashion, look into the rsgTemplate and page parameters.  Between gid and rsgTemplate you should be able to do what you want.
Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.

*

Offline juro

  • *
  • 15
Re: RSGallery2 adheres to MVC of 1.5?
« Reply #2 on: July 18, 2008, 08:29:23 PM »
Jonah, thank you for moving the thread .... had a momentary lapse of reason there.

I have figured out how to manually create the link, was just curious as to how 1.5 conform RSGallery2 already is.

Another question, is it possible to add custom variables to the menu link and read them in a template? I have a slideshow with controls (stop/start/next/previous) which I want to show based on the GET parameter options.