Results 1 to 3 of 3

Thread: Add the "Category" forAdmin Duplicate Link listing

  1. #1
    Join Date
    May 2002
    Posts
    10

    Default Add the "Category" forAdmin Duplicate Link listing

    I would like to add or be able to view which *Category* the duplicate link is found in the 'Duplicate List Report'.

    The reason being, I have purposely added duplicate links under different categories and do not want to remove the link as log as it is does not appear twice within the same category.

    I assume a simple template change can do it but my attempt to add a new row with the <%category%> did not make a difference. Please help.

    Lela

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    211

    Default

    Lela,

    Open link.class.php, in line 3173, function ViewDuplicateLinks() modify the query :
    PHP Code:
    $query "select distinct url, count(url) as cu from $this->table_name group by url order by url"
    with this :
    PHP Code:
    $query "select distinct url, count(url) as cu from $this->table_name group by url,category_id order by url"
    Hope it works.

    Sofiah

  3. #3
    aladdin Guest

    Default

    As anyone have an answer for this question.

Similar Threads

  1. Weird Errors when Updating a Listing!
    By Illuvatar in forum v5.x
    Replies: 4
    Last Post: 07-13-2003, 07:36 PM
  2. INDEXU FEATURES
    By Hart_House in forum Pre-Sales Questions
    Replies: 13
    Last Post: 06-30-2003, 11:57 AM
  3. Modify a link problem!
    By craven in forum v5.x
    Replies: 8
    Last Post: 11-20-2002, 04:48 PM
  4. Replies: 0
    Last Post: 08-29-2001, 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
  •