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

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : November 22, 2008, 02:45:12 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Can I move the sub-galleries below the thumbnail of main gallery?
Advanced search
  « previous next »
Pages 1
Author
Topic: Can I move the sub-galleries below the thumbnail of main gallery?  (Read 3933 times)
« on: November 05, 2006, 12:31:18 pm »
mikeho1980 Offline
Full Member
***
Dog Neighbor - http://www.dogneighbor.com Posts: 161
124373717 mikeho1980@hotmail.com mikeho1980
View Profile WWW Email

Now the sub-galleries always displayed above the thumbnail of the main gallery, can I move them to buttom?
Logged

Dog Neighbor http://www.dogneighbor.com
Joomla v1.0.12 Stable UTF-8 Traditional Chinese
RS Gallery 2 v1.14.0 SVN:472
Alpha RSItems module v1.4.2
PHP 5.2.0 Apache 2.0 mySQL 5.0.27 utf8_general
Internet Explorer 7.0.6000.16546 Firefox 2.0.0.11
 
Reply #1
« on: November 05, 2006, 01:44:12 pm »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1214

View Profile WWW Email

Not without hacking the code.
It isn't that hard to do though.
Open up rsgallery2.php and find around line 285 the following lines:

Code:
<?php
HTML_RSGALLERY::RSGalleryList($rowsNULL$catid );               //This show the subcats if they are available
HTML_RSGALLERY::RSShowPictures ($catid$limit$limitstart);       //Show the pictures
?>

Just switch the two rows and it will show thumbs first and subcats below that.

Good luck,
Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #2
« on: November 07, 2006, 11:58:54 am »
mikeho1980 Offline
Full Member
***
Dog Neighbor - http://www.dogneighbor.com Posts: 161
124373717 mikeho1980@hotmail.com mikeho1980
View Profile WWW Email

Thanks

My sub-gallery is always less important than the its parent-gallery, therefore sub-gallery should be below its parent-gallery.
Do you agree?
Logged

Dog Neighbor http://www.dogneighbor.com
Joomla v1.0.12 Stable UTF-8 Traditional Chinese
RS Gallery 2 v1.14.0 SVN:472
Alpha RSItems module v1.4.2
PHP 5.2.0 Apache 2.0 mySQL 5.0.27 utf8_general
Internet Explorer 7.0.6000.16546 Firefox 2.0.0.11
 
Print  Pages 1
« previous next »
Jump to: