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, 03:02:53 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  How can I hide the links to subgalleries? [solved]
Advanced search
  « previous next »
Pages 1
Author
Topic: How can I hide the links to subgalleries? [solved]  (Read 3274 times)
« on: January 14, 2007, 06:54:50 am »
Clemens M. Hürten Offline
Newbie
*
Posts: 10

View Profile Email

Hello!
I am working on my special design of RSGallery2. Thinking, that it is a bit unlogical, to present the main link for a subgallery and also show the links to the next hierarchy level of the sub-sub-galleries, I want them not to show up.

In my example: I have several main galleries covering the theme ranges like "product photography" or "nature". In the next level I split it into detailled themes like "a HiFi-system" and "electronic assemblies" and "electronic devices" and so on. So if I watch the webpage "main gallery", I do see all the subgalleries and the links to them, but also links which lead directly to their detailled themes. And these links to the detailled themes should be hidden or not included.

Please, tell me, in which PHP-file do I find the inclusion of these links so that I can comment them out?

And yes, I can search for this PHP-file by myself. But as I have nearly no knowledge about PHP-programming, I would waist lots of time for this.

Thanks in advance!
Clemens
« Last Edit: January 15, 2007, 05:06:31 am by Clemens M. Hürten » Logged
 
Reply #1
« on: January 14, 2007, 01:54:11 pm »
Clemens M. Hürten Offline
Newbie
*
Posts: 10

View Profile Email

Hi
My question is not answered by this, but I have found a simple work around:
I have edited the rsgallery.css by setting the class "rsg2-subGalleryList-container" to "display: none".

Further I have used a work around to set" rsg2-galleryList-title" to "bold" and I increased font size, by inserting this class in the css-file. I was astonished that this class is used, allthough it is not in the rsgallery.css-file.

.rsg2-galleryList-title{
    font-size: 1.2em;
    font-weight: 700;
}

Someone has asked here, how to disable the display of the total images counting. I have disabled this by the same method:
I added the class ".rsg2-galleryList-totalImages" and set the parameter to "display: none".

I will keep this setting only until the bug is cleared, that the overview over galleries, which only contain subgalleries and no pictures will show up with 0 pictures. This will confuse the visitors.

I hope, that my changes will not lead to other problems, which I cannot foresee by now.

Have a nice day!

Clemens
« Last Edit: January 14, 2007, 02:01:15 pm by Clemens M. Hürten » Logged
 
Print  Pages 1
« previous next »
Jump to: