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, 05:13:15 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Hide listing of Subgalleries?
Advanced search
  « previous next »
Pages 1
Author
Topic: Hide listing of Subgalleries?  (Read 1692 times)
« on: March 23, 2008, 12:37:47 pm »
itgl72 Offline
Newbie
*
Posts: 11



 Sad Is there a way to hide the list of Subgalleries when looking at the page with available galleries? If I make a gallery that has 30 galleries in it I would rather have them click that gallery and look for the gallery they want from there and not clutter up the first main page.
Logged
 
Reply #1
« on: March 23, 2008, 08:53:04 pm »
bertm Offline
Newbie
*
Posts: 20



find  components\com_rsgallery2\templates\semantic\html\gallery.php


Around line 45 find this code

<div class="rsg_sub_url_single">
        <?php $this->_subGalleryList( $kid ); ?>
</div>

and either delete it or comment it out (you can paste this commented out copy below)

<!--<div class="rsg_sub_url_single"><?php $this->_subGalleryList( $kid ); ?></div>-->

Logged
 
Reply #2
« on: March 23, 2008, 09:33:32 pm »
itgl72 Offline
Newbie
*
Posts: 11



Thank You I will try this.

The effect I am looking for is to break up the types of pictures.

Something like, a section for

KIDS
CARS
AIRPLANES

...and then put a subgallery inside each of those galleries. I just didnt want every sub gallery listed from the front page of the root gallery.

If there is a more effective way to do what I want please share it. Otherwise I will try the code hack. Thanks!
Logged
 
Reply #3
« on: March 24, 2008, 03:24:08 am »
bertm Offline
Newbie
*
Posts: 20



If you want to use RSgallery navigation all the way, it sounds like this hack is what you need.  Otherwise, you could create a menu link to a static content item, grab the links to each of your category thumbnail pages (KIDS, CARS, AIRPLANES) and create text or image links to those pages of RSgallery2.  If you do not hide the breadcrumb feature ('pathway' in your template) your visitors will eventually be able to find the ROOT view of RSgallery2 with thumbnails and all subgalleries listed, but that is probably not bad after they have become familiar with the layout of your site.

Know what I mean?
 
Logged
 
Reply #4
« on: March 25, 2008, 10:34:38 am »
itgl72 Offline
Newbie
*
Posts: 11




Know what I mean?
 

Gotcha ghost rider.. the pattern is now full.... Thanks for the help!
Logged
 
Print  Pages 1
« previous next »
Jump to: