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, 12:51:58 am
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  Display and Templates (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Image name not reqd.
Advanced search
  « previous next »
Pages 1
Author
Topic: Image name not reqd.  (Read 2025 times)
« on: July 08, 2008, 02:17:27 am »
V S Punn Offline
Newbie
*
Posts: 24



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
« Last Edit: July 08, 2008, 02:20:14 am by V S Punn » Logged
 
Reply #1
« on: July 09, 2008, 02:36:24 pm »
Chef Groovy Offline
Dev Team
Full Member
*
Posts: 110

WWW


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?
Logged

Chef Groovy
RSGallery2: Legacy - Dev
Test Site: dev.fantasyartwork.net
 
Reply #2
« on: July 10, 2008, 12:31:12 am »
V S Punn Offline
Newbie
*
Posts: 24



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.
Logged
 
Reply #3
« on: July 10, 2008, 08:08:50 pm »
Chef Groovy Offline
Dev Team
Full Member
*
Posts: 110

WWW

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.
Logged

Chef Groovy
RSGallery2: Legacy - Dev
Test Site: dev.fantasyartwork.net
 
Reply #4
« on: July 11, 2008, 01:20:49 am »
V S Punn Offline
Newbie
*
Posts: 24



Thanks.
Did It
Logged
 
Print  Pages 1
« previous next »
Jump to: