Please login or register.
Login with username, password and session length
May 22, 2013, 08:18:38 AM
News: We're back! And here to stay!
collapse

* User Info

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

* Recent Posts

Fatal error: by mailtobala04
[May 17, 2013, 04:36:20 PM]


Backend Items (Images) don't work by bauchinj
[May 15, 2013, 04:18:55 PM]


Permissions issue: a user can upload images in other user galleries by guidocx84
[May 11, 2013, 05:17:44 PM]


Payment after loggin by mirjam
[May 11, 2013, 03:02:56 PM]


image titles without dashes by mirjam
[May 11, 2013, 02:57:48 PM]


Batch Upload Fails by mirjam
[May 11, 2013, 02:52:08 PM]


Slow Gallery with many Photos by mirjam
[May 11, 2013, 02:49:36 PM]


500 error Rackspace by mirjam
[May 11, 2013, 02:23:09 PM]

Advertisement


Pages: [1]   Go Down

Author Topic: RSGallery2 standard parameters  (Read 5556 times)

Offline Jonah

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 1.412

RSGallery2 standard parameters
« on: June 17, 2007, 07:55:50 AM »
The following are standard parameters that RSGallery2 accepts.  These are retrieved from $_REQUEST, so you can set them as $_POST variables or in the URL with &name=value.  In RSG2 1.14 (or a current nightly) you can also pass these variables in an array to rsgInstance::instance();

task - decides the general type of operation to do.  The default is to execute a template, so don't set this unless you want another task.  Other tasks:
  xml shows an xml template
  downloadfile streams an image file

rsgTempate - the template to use
xmlTemplate - template to use when generating an xml file.  these two template parameters will probably be renamed to the same name sometime in the future.

page - when viewing a template, the type of view.  varies per template.

gid - id of gallery to show.

id - not yet implemented.  id of item to show.

limit - when showing more than one item limit sets the number of items per page
limitstart - after being ordered, the item at this position is shown first

filter_order - not yet implemented.  what field to filter by.  item name, ranking, etc.  defaults to ordering.
filter_order_Dir - not yet implemented. asc or desc.


Comments are welcome.
« Last Edit: July 08, 2007, 04:22:00 AM by Jonah »
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 Merlinox

  • Newbie
  • *
  • Posts: 2
    • Merlinox's Blog

Re: RSGallery2 standard parameters
« Reply #1 on: October 09, 2008, 10:13:57 AM »
I try to create this url:
http://www.xxxxxxxxxxxxx.com/component/option,com_rsgallery2/gid,15/
but in the page I see all active galleries.

How can I modify the menu item to show only one gallery?
Pages: [1]   Go Up
 

anything