Results 1 to 6 of 6

Thread: Changing Visit homepage link around to site details

  1. #1
    Join Date
    May 2003
    Posts
    69

    Default Changing Visit homepage link around to site details

    Alright.... I have seen some sites do this and i can't find the dam file to edit this....
    When a listing comes up it will show the title and when you click on it...it takes you to the details of that link...

    There is also a link after the description that says visit homepage...

    I have seen these switched around where the title will take you to the site and the visit homepage link is renamed Details and it take you to the details of that link...

    Where and how can i do this??? Sorry if this is a dumb question...i tried searching but could not find an answer...

    Lordkinjo

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    take a look at the rows.html and detail_link.html files in the themes/default folder.

    for example, in detail_link.html

    Code:
    <a href='go.php?id=<%link_id%>' target=_blank  onmouseout="window.status=''; return true;"
     onmouseover="window.status='<%url%>'; return true;"><%url%></a></td>
    You could change the last <%url%> to <%title%>. Now the hyperlink would be the Title and not the URL

    Same for rows.

    to go to the detail, use: <a href="detail.php?id= etc, etc

    to go to the website, use: <a href="go.php?id= etc, etc
    Last edited by esm; 06-04-2003 at 06:13 AM.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  3. #3
    Join Date
    May 2003
    Posts
    69

    Default

    Hmmm. I have a row.html but not a link_detail.html... I'm using 3.1 did that change then?

    Anywho...I got it to work see.. http://www.eonlinestores.com/browse.php?cat=149

    Thank you

    Colin
    Lordkinjo

  4. #4
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default yep

    ai,

    thats easy:

    rows.html is the template that display the links in browse.html (php)
    detail_link.html display the link details in the detail.html (php).

    Look to my demo I send to you yesterday -> in my category view the first link with title shows to the detail site (so I get the internal link pop with the link title as anchor) and at the end of the description you can go with "Visit homepage" to the linked site.

    Btw: Coming soon -> link to the site with it's real URL, so your partners will get full google page rank !

    Greetings
    Frank

  5. #5
    Join Date
    May 2003
    Posts
    69

    Default

    Ahhh ... He typed link_detail.html not detail_link.html . I though everyone had a file I didn't..lol

    Thanks
    Lordkinjo
    Lordkinjo

  6. #6
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    yep, got it backwards!

    I've modified the original.
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

Similar Threads

  1. Replies: 2
    Last Post: 02-18-2004, 11:32 AM
  2. Replies: 0
    Last Post: 02-13-2004, 08:56 PM
  3. Site after I vote for a link ?
    By Frank71 in forum v3.2
    Replies: 1
    Last Post: 08-05-2003, 08:48 AM
  4. Changing the link description
    By emilehoffman in forum v5.x
    Replies: 4
    Last Post: 12-16-2002, 03:02 PM
  5. Changing forms such as bad link
    By starchdoggy in forum v5.x
    Replies: 1
    Last Post: 09-14-2002, 09:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •