RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : December 04, 2008, 02:10:41 am
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Developer Lobby
| | |-+  RSGallery2 adheres to MVC of 1.5?
Advanced search
  « previous next »
Pages 1
Author
Topic: RSGallery2 adheres to MVC of 1.5?  (Read 1964 times)
« on: July 17, 2008, 01:06:44 pm »
juro Offline
Newbie
*
Posts: 8



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
Logged
 
Reply #1
« on: July 18, 2008, 12:12:04 pm »
Jonah Offline
Administrator
Hero Member
*****
Posts: 1414



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.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #2
« on: July 18, 2008, 01:29:23 pm »
juro Offline
Newbie
*
Posts: 8



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.
Logged
 
Print  Pages 1
« previous next »
Jump to: