Author Topic: How to add a link for "back to the category" where the images is?  (Read 4207 times)

0 Members and 1 Guest are viewing this topic.

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
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.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to add a link for "back to the category" where the images is?
« Reply #1 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>

Your first three "must do" before you ask a question ! ( by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: How to add a link for "back to the category" where the images is?
« Reply #2 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.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to add a link for "back to the category" where the images is?
« Reply #3 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
Your first three "must do" before you ask a question ! ( by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: How to add a link for "back to the category" where the images is?
« Reply #4 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...

Offline [M]ike

  • Newbie
  • *
  • Posts: 15
  • That guy who usually needs help...
    • View Profile
    • Messenger Display Pictures
Re: How to add a link for "back to the category" where the images is?
« Reply #5 on: July 24, 2007, 02:59:55 AM »
Surely

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