4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Sleepy on June 15, 2007, 05:59:17 AM

Title: How to add a link for "back to the category" where the images is?
Post by: Sleepy on June 15, 2007, 05:59:17 AM
Hi,

Would anyone please tell me how to add a link for "back to the category (and the page)" where the images is?
I wanna a link or a button in the details.html, so that when users are viewing several images, they could go back to the image's catetory and page more easily.

Thank you very much.
Title: Re: How to add a link for "back to the category" where the images is?
Post by: mawenzi on June 15, 2007, 09:42:37 AM
... try this in your details.html as a back-link to the category...
Code: [Select]
<a href="{cat_url}">{cat_name}</a>

... or this ...
Code: [Select]
<a href="{cat_url}">Back to the category</a>

Title: Re: How to add a link for "back to the category" where the images is?
Post by: Sleepy on June 15, 2007, 09:52:17 PM
... try this in your details.html as a back-link to the category...
Code: [Select]
<a href="{cat_url}">{cat_name}</a>

... or this ...
Code: [Select]
<a href="{cat_url}">Back to the category</a>



Thank you very much for your reply.
However, it would go to the first page of the catrgory not the image's page if there's more than one page.
Is there any way that I could have a link not only back to the category but the right page???


Thank you very much.
Title: Re: How to add a link for "back to the category" where the images is?
Post by: mawenzi on June 21, 2007, 05:45:54 PM
... than try this ...
... [MOD] Page-Nr. In Clickstream ...
http://www.4homepages.de/forum/index.php?topic=6114
Title: Re: How to add a link for "back to the category" where the images is?
Post by: Sleepy on July 09, 2007, 07:49:39 PM
... than try this ...
... [MOD] Page-Nr. In Clickstream ...
http://www.4homepages.de/forum/index.php?topic=6114

Thank you very much.
I am gonna try it to see if it works...
Title: Re: How to add a link for "back to the category" where the images is?
Post by: [M]ike on July 24, 2007, 02:59:55 AM
Surely

Code: [Select]
<A HREF="javascript:history.go(-1)">Return to Category</A>
Would be fine?