RSGallery2 Support Forums

RSgallery2 support forums => Display and Templates => Topic started by: V S Punn on July 08, 2008, 02:17:27 am



Title: Image name not reqd.
Post by: V S Punn on July 08, 2008, 02:17:27 am
On the gallery page, I donot need  to display the image name and the navigation bar. How do I remove these two.

Also is there any way I can show the thumbnails on the gallery page and these get enlarged on clicking

Please suggest.

The web site is academicheights.in

The slideshow has the gallery component

Joomla 1.0.15


Title: Re: Image name not reqd.
Post by: Chef Groovy on July 09, 2008, 02:36:24 pm

If what you are talking about is the main page for an individual gallery, you can remove the image title in the control panel.   In the Display tab under Gallery View (Show image name below thumb).

To remove navigation would have to edit the display.class.php of the template

in semantics its in the showThumbs function, looks something like

Code:
<div class="rsg2-pageNav">
<?php
if( $itemCount $limit ){
global $Itemid;
echo $pagenav->getPagesLinks();
echo "<br /><br />".$pagenav->getPagesCounter();
}
?>

</div>

But why disable the navigation bar?  Or am I reading it all wrong?


Title: Re: Image name not reqd.
Post by: V S Punn on July 10, 2008, 12:31:12 am
Thank you for your reply.
The option of Show image name below thumbnail is already disabled.

When someone clicks on the RSGallery module (renamed as Tour a school), the full size images get dispalyed. these images are displaying the name as well. How to remove it.

From the code of display.class.php what will be the final code.

please suggest.


Title: Re: Image name not reqd.
Post by: Chef Groovy on July 10, 2008, 08:08:50 pm
maybe you should do the navigation thing in the css file, little easier to undo.

put something like
Code:
.rsg2-pageNav
{ display:none; }

Didn't realize you wanted the title above the inline display gone.  Thats in display.class too,  around line 274
in the showDisplayImage() function.  Remove the line that has

Code:
<td><h2 class='rsg2_display_name' align="center"><?php echo htmlspecialchars(stripslashes($item->title), ENT_QUOTES); ?></h2></td>

Remove the whole row if want.


Title: Re: Image name not reqd.
Post by: V S Punn on July 11, 2008, 01:20:49 am
Thanks.
Did It