Results 1 to 4 of 4

Thread: Couple of questions...

  1. #1
    Join Date
    Nov 2010
    Posts
    4

    Red face Couple of questions...

    Sorry again in advanced, but been picking over this for days now and can't seem to find what I need to make the following happen. Here are the two things I'd like to accomplish:

    Business Listing Title links to listing details rather than being an outgoing company URL. Is there a shortcut/code to doing this? And if so, what all files needed to be edited to make it universal throughout the site, or is there one general file to change that will change this for all listing types (featured, sponsored, hot etc)

    Is it possible to disable PageRank? How would this be done?

    Is it possible to set it so that the rotating image isn't a screenshot of the website snapshot, but rather a business logo? Or will this take place when images are uploaded. Basically I am hoping there isn't some setting that by default thumbshots.com auto generates the image, rather than using the image you upload..

    Thanks again Hopefully I explained those well!

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Hi Leeah,

    You can use indexu for business listing. If url become less important, you can set url field to be not required or invisible. To do this, in admin panel > links > default field.

    To make template to be more unique, you may want to start with header.html and footer. To change how the listing layout, you need to change: rows.html, sponsored_rows.html and premium_rows.html.

    I have written some tutorials, please check it here:
    https://github.com/dodyrw/indexu-doc/

    To disable/remove PR, you need to remove the pagerank_stat block in sidebar. And modify rows.html too.

    Rotating company logo is possible too. You need to modify /blocks/block.slide.php

  3. #3
    Join Date
    Nov 2010
    Posts
    4

    Default

    Hi Dody!

    Thanks for your reply! I'm not quite sure you understand what I mean about redirecting the links.

    Right now when I'm viewing listings, and I click on a Business Name in any listing category... The title link I click takes me out of MY web site and to THEIR web site. I do not want this. When you click the business link I would like the business listing title link to take me to the listing details page the SAME WAY the "details" button takes you to the "details" of the listing when it is clicked. I am looking for what specific line of code/hook you're using to do this.

    Make sense?

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    I see. The file is /themes/komet/rows.html

    In line 10
    Code:
      <h3><%$number%>. <a href="<%$url%>" name="link_<%$link_id%>"><b><%$title%></b></a></h3>
    You need to change <%$url%> to pointing to detail page. Change it to : <%$site_url%>/<%$detail_page_url%>

    The final code will be :
    Code:
      <h3><%$number%>. <a href="<%$site_url%>/<%$detail_page_url%>" name="link_<%$link_id%>"><b><%$title%></b></a></h3>
    Also notice that it has name="link_<%$link_id%>
    That is used to count the hit counter. So when someone clicking on that link, the hit counter will be up. Of course it has some prevention method to prevent multiple count from the same person.

Similar Threads

  1. Couple of questions
    By dass in forum v5.x
    Replies: 2
    Last Post: 03-25-2008, 04:30 PM
  2. Couple of questions
    By heohni in forum v5.x
    Replies: 3
    Last Post: 08-31-2003, 08:20 AM
  3. A couple of questions?
    By bios in forum Pre-Sales Questions
    Replies: 1
    Last Post: 08-22-2003, 06:39 PM
  4. A couple of questions
    By scheetz in forum v5.x
    Replies: 2
    Last Post: 11-13-2002, 04:33 PM
  5. New to themes and templates, couple of questions
    By pcoskat in forum Templates
    Replies: 6
    Last Post: 10-26-2002, 07:18 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
  •