Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
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
« previous
next »
Topic Tools
Search this topic
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
Newbie
Posts: 3
Remove or change Main Gallery link on thumbnails page
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
Administrator
Hero Member
Search search search before posting please
Posts: 1870
Re: Remove or change Main Gallery link on thumbnails page
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
Newbie
Posts: 3
Re: Remove or change Main Gallery link on thumbnails page
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
Administrator
Hero Member
Search search search before posting please
Posts: 1870
Re: Remove or change Main Gallery link on thumbnails page
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
Newbie
Posts: 3
Re: Remove or change Main Gallery link on thumbnails page
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
Administrator
Hero Member
Search search search before posting please
Posts: 1870
Re: Remove or change Main Gallery link on thumbnails page
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
Newbie
Posts: 14
Re: Remove or change Main Gallery link on thumbnails page
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
Newbie
Posts: 14
Re: Remove or change Main Gallery link on thumbnails page
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&Itemid="
.
$Itemid
);
?>
">
<?php
echo
_RSGALLERY_MAIN_GALLERY_PAGE
;
?>
And I changed to this
Code:
<a href="
<?php
echo
sefRelToAbs
(
"index.php?option=com_rsgallery2&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
Administrator
Hero Member
Search search search before posting please
Posts: 1870
Re: Remove or change Main Gallery link on thumbnails page
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
Newbie
Posts: 14
Re: Remove or change Main Gallery link on thumbnails page
So it should be like this?
Code:
<a href="
<?php
echo
sefRelToAbs
(
"index.php?option=com_rsgallery2&Itemid="
.
$Itemid
"&catid="
.
$catid
);
?>
">
Logged
Reply #10
«
on:
April 03, 2007, 03:02:59 am »
Daniel Tulp
Administrator
Hero Member
Search search search before posting please
Posts: 1870
Re: Remove or change Main Gallery link on thumbnails page
yes, that is correct
Logged
RSgallery2 developement team
RSgallery2 modules:
design.danieltulp.nl
Reply #11
«
on:
April 03, 2007, 01:40:06 pm »
osva
Newbie
Posts: 14
Re: Remove or change Main Gallery link on thumbnails page
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&Itemid="
.
$Itemid
.
"&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
Newbie
Posts: 14
Re: Remove or change Main Gallery link on thumbnails page
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
Newbie
Posts: 14
Re: Remove or change Main Gallery link on thumbnails page
Nevermind I found it..
Logged
Reply #14
«
on:
June 28, 2007, 09:52:53 am »
Martinvdm
Newbie
Posts: 3
Re: Remove or change Main Gallery link on thumbnails page
please can someone tell me where i can find this in the new version of RS Gallery ??
Logged
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
=> New translations
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1.7
|
SMF © 2006-2008, Simple Machines LLC
Pn-Pn Theme by koni.
Loading...