Results 1 to 6 of 6

Thread: Detail page instead of URL directly.

  1. #1
    Join Date
    Jun 2003
    Posts
    6

    Default Detail page instead of URL directly.

    I want that all listings are linked to their detail page (not to URL). How can I do this?

    By example. In section of latest links, if the visitor clicks the name of the link, he is directed to the url... for me would be better that visitor can see detail page instead of url directly.

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

    Default

    the generic way to do that is to edit the various "row" html templates.

    In the themes/default look for the file names with the word "row" in them. Edit them and search for "go" pr <%url>. Replace them with something like
    Code:
    <a href="detail.php?id=<%link_id%>" style="color:#000000; text-decoration: none"><b><%title%></b></a>
    probably the two main files are: rows.html and sp_cat_rows.html

    That should get you started. Let us know if there are any specific pages to be changed
    Last edited by esm; 06-14-2003 at 08:16 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
    Jun 2003
    Posts
    6

    Default

    Thanks for your help esm. The solution was this:

    Modify in themes/default/:

    new_links_rows.html
    msg.php

    changing all that has <%url%> by detail.php?id=<%link_id%>

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

    Default

    I think there are other places but I'm glad it is doing what you want!
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  5. #5
    Join Date
    Jul 2003
    Posts
    60

    Default

    I don't get it....

    All of my "rows" HTML files have the detail.php?id=<%link_id%>

    Yet my index page launches their web site it title clicked....

    I'm talking about the <%new_links%> bit of index.html - what do I change and where to get that to take the user to the detail page?

  6. #6
    Join Date
    Jul 2003
    Posts
    60

    Default

    Scrub that...

    Found it in msg.php


Similar Threads

  1. affiliate link in url on detail page
    By morgankd in forum v5.x
    Replies: 4
    Last Post: 05-19-2004, 11:52 PM
  2. Replies: 7
    Last Post: 01-04-2004, 08:19 AM
  3. Random 10 links on Detail page.
    By at00m in forum v3.2
    Replies: 11
    Last Post: 12-04-2003, 11:38 AM
  4. Make your detail page spidered
    By Shophere in forum v3.2
    Replies: 36
    Last Post: 11-26-2003, 02:30 AM
  5. links showing but no detail page follows
    By janewest in forum v5.x
    Replies: 3
    Last Post: 07-02-2003, 07:31 PM

Posting Permissions

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