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:33:09 am
+  RSGallery2 Support Forums
|-+  RSGallery2
| |-+  General discussion (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  Remove or change Main Gallery link on thumbnails page
Advanced search
  « previous next »
Pages 1
Author
Topic: Remove or change Main Gallery link on thumbnails page  (Read 9488 times)
« on: March 27, 2007, 08:52:06 pm »
A Weathers Offline
Newbie
*
Posts: 3



Hello,

I know that there is another post regarding this issue and that I should "find the text in the language
file" and set the string to empty or change it, but where is the "language" file?

I have version 1.12.2 and see no language file anywhere..I've downloaded the php files and the css file and searched
for the text and cannot find it...

Thanks for your help!

AW
Logged
 
Reply #1
« on: March 27, 2007, 11:48:17 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

go to site root/administrator/components/com_rsgallery2/language
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #2
« on: March 28, 2007, 10:34:27 pm »
A Weathers Offline
Newbie
*
Posts: 3



Daniel,
Thanks so much for the reply...I was spacing on the correct folder...can you tell me how I might
insert a link back to a specific category where that link is now, or insert a "back" link?

Thanks again,

AW
Logged
 
Reply #3
« on: March 29, 2007, 11:58:06 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

well, back links are usually done by adding:
<a href="javascript: history.go(-1)">Back</a>
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #4
« on: March 29, 2007, 03:45:29 pm »
A Weathers Offline
Newbie
*
Posts: 3



Daniel,

Sorry, I just realized how poorly I worded that last question...I should have said:

I'd like to insert a js back button or a link to one of my categories (or a link to anything, really)
and make it appear where that "Main gallery page" link is now...

but in the language file, isn't that just where the string for the link is supplied and not the
actual link itself?

Can you tell me where I need to insert the actual <a href... or <javascript... tag?

Thanks again for your help,

AW
Logged
 
Reply #5
« on: March 29, 2007, 04:26:05 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

sorry, can't help you there, maybe ronald or jonah can, moving thread to general board
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #6
« on: April 02, 2007, 12:27:25 am »
osva Offline
Newbie
*
Posts: 14



Hi
I also want to make a link instead of going home main page, go to the home of the current gallery.
that would be awesome.. Because once you go to a gallery and click on a photo and start browsing photos, there is no way you can go back to the home of that gallery where you can watch all pictures thumbnailed.
Logged
 
Reply #7
« on: April 02, 2007, 11:05:56 am »
osva Offline
Newbie
*
Posts: 14



I found a workaround in this.
I dont know if it is what you looking for.. But for me it works.
I'm now able to go back for the complete photo album (main specific gallery homepgae) instead of going back to the main gallery page.
This is what I did.
In the file rsgallery2.html.php find the following code:
Code:
<a href="<?php echo sefRelToAbs("index.php?option=com_rsgallery2&amp;Itemid=".$Itemid); ?>">
                <?php echo _RSGALLERY_MAIN_GALLERY_PAGE?>

And I changed to this
Code:
<a href="<?php echo sefRelToAbs("index.php?option=com_rsgallery2&amp;catid=".$catid); ?>">
                <?php echo _RSGALLERY_MAIN_GALLERY_PAGE?>

Now on the language file look for _RSGALLERY_MAIN_GALLERY_PAGE and change from main gallery home to whatever you like.

hope this helps..
Logged
 
Reply #8
« on: April 02, 2007, 06:12:58 pm »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

ok, almost correct, the Itemid needs to be in there, so add that aswell, and pathway an access rights within joomla work also for the page following the link
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #9
« on: April 02, 2007, 07:06:28 pm »
osva Offline
Newbie
*
Posts: 14



So it should be like this?
Code:
<a href="<?php echo sefRelToAbs("index.php?option=com_rsgallery2&amp;Itemid=".$Itemid"&amp;catid=".$catid); ?>">

Logged
 
Reply #10
« on: April 03, 2007, 03:02:59 am »
Daniel Tulp Offline
Administrator
Hero Member
*****
Search search search before posting please Posts: 1870

WWW

yes, that is correct
Logged

RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
 
Reply #11
« on: April 03, 2007, 01:40:06 pm »
osva Offline
Newbie
*
Posts: 14



If I put it that way it gives me an error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/unitedof/public_html/wp/components/com_rsgallery2/rsgallery2.html.php on line 791

update: I forgot a "." next to .$Itemid

Code:
<a href="<?php echo sefRelToAbs("index.php?option=com_rsgallery2&amp;Itemid=".$Itemid."&amp;catid=".$catid); ?>">
« Last Edit: April 03, 2007, 01:44:29 pm by osva » Logged
 
Reply #12
« on: April 11, 2007, 12:15:57 am »
osva Offline
Newbie
*
Posts: 14



Where can I get this change done in the new SVN??
Its not in rsgallery2.html.php
thanks
Logged
 
Reply #13
« on: April 11, 2007, 01:21:52 am »
osva Offline
Newbie
*
Posts: 14



Nevermind I found it..
Logged
 
Reply #14
« on: June 28, 2007, 09:52:53 am »
Martinvdm Offline
Newbie
*
Posts: 3



please can someone tell me where i can find this in the new version of RS Gallery ??
Logged
 
Print  Pages 1
« previous next »
Jump to: