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, 04:35:06 pm
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  No "Most Viewed, Top Rated" etc After Update
Advanced search
  « previous next »
Pages 1
Author
Topic: No "Most Viewed, Top Rated" etc After Update  (Read 2505 times)
« on: January 26, 2008, 06:24:24 am »
adamagic Offline
Newbie
*
Posts: 2



Hey guys,

I just updated RSGallery, and I have noticed that the links at the top that had "Most Hits" "Best Rated" "Recently Commented On" etc. have now vanished in the new update.

How come?

I wan't them back as I need them for what I want to do.

I have looked in the gallery.php and the links are no longer there in the new version, but they are in the old version.

Please Help,

Adam
Logged
 
Reply #1
« on: January 26, 2008, 07:26:55 am »
Ronald Smit Offline
Administrator
Hero Member
*****
Posts: 1219

WWW

Did you by any chance use the JA AVIAN template?

That is a highly tweaked version of RSGallery2.
Upgrading that version will remove all tweaks.

Cheers,

Logged

Ronald Smit
RSGallery2 Developer
FAQ|Known issues
 
Reply #2
« on: January 26, 2008, 06:06:18 pm »
Zorro Offline
Newbie
*
Posts: 10



Hi all,

Funny thing - I would like to actually disable this "toolbar" AND is using JA AVIAN Template....
Any idea on how to disable the toolbar without updating and loosing tweaks?

Cheers,
Zorro Wink
Logged
 
Reply #3
« on: March 22, 2008, 06:11:12 pm »
bertm Offline
Newbie
*
Posts: 20



the function you have to tweak is in the file gallery.php in the templates\ja_semantic\html folder.  I added a conditional statement so that it does not display unless the user is Admin or SuperAdmin.

around line # 17 or so find the line that reads
<div id="rsg2-tool">

and place this command before it
<?php if($my->usertype == 'Administrator' || $my->usertype == 'Super Administrator' ){?>

then around line #50 or so, find the four lines as follows
         </li>
       </ul>
   </div>
<?php

and add   }  on the line after that to close out the conditional statement

worked for me. I have many other hacks in my code, so I hope I isolated this one properly.


Logged
 
Reply #4
« on: March 22, 2008, 06:23:11 pm »
bertm Offline
Newbie
*
Posts: 20



Now I have a question of my own.  On the gallery page generated by gallery.php. the gallery name is generated by the command

<?php echo $kid->galleryName;?>

In the JA AVIAN template, this command produces the gallery name linked in the same manner as the thumbnail, bold and underliined.  See http://template.joomlart.com/ja_avian_ii_m/index.php?option=com_rsgallery2&Itemid=65

Any idea on how I might find the modification that will make this happen in the current version of RSgallery2?

Bert

(by the way, I am interested in reproducing as many of the JA AVIAN mods as I can into the svn679 version. If anyone else is working on this please offer your insights)
Logged
 
Print  Pages 1
« previous next »
Jump to: