A search directory Mod

Discussion in 'Directories' started by daones, Oct 11, 2007.

  1. #1
    Ive had some requests for users when they search my directory in the results they would also like to see where that particular site is located in my directory, eg. the category. This is good for people who dont know exactly what category to submit their site to. Is there such a mod available?
     
    daones, Oct 11, 2007 IP
  2. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Yes, it's called the 'search'

    That will usually bring up similar categories that pertain to the searched key term and help then find their way.
     
    an0n, Oct 11, 2007 IP
  3. daones

    daones Well-Known Member

    Messages:
    1,151
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Yes i know that, but to make it easier for example you search for Alive Directory, your results come up and it will show your site details and also have Located in: Internet/Directories with a hyperlink so they can go to that location from the search.
     
    daones, Oct 11, 2007 IP
  4. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #4
    does 2.1.3 have the ability to rebuild your category cache?

    if it does, then you could just add this to your link.tpl to have that:

    
     {if !empty ($search) or !empty ($uid)}
          <p>{l}Category{/l}: <a href="{$smarty.const.DOC_ROOT}/{$link.CATEGORY_URL|escape|trim}" title="{$link.CATEGORY_TITLE|escape|trim}">{$link.CATEGORY_TITLE|escape|trim}</a></p>
       {/if}
    
    Code (markup):
     
    an0n, Oct 11, 2007 IP
  5. daones

    daones Well-Known Member

    Messages:
    1,151
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    120
    #5
    ill give it a try, thanks
     
    daones, Oct 11, 2007 IP
  6. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #6
    I have been considering adding maps to the details pages for individual business...

    Is thier a way for that?

    thx
    malcolm
     
    malcolm1, Oct 17, 2007 IP
  7. mywebsearches

    mywebsearches Peon

    Messages:
    764
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Of course, there is thread for about this topic:

    http://www.phplinkdirectory.com/forum/showthread.php?t=18263&highlight=google+maps

    Just ask Dawzz and he will do it for you in less than 5 minutes. There are others things to add to make the code work, so don't waste your time if you don't know how to do it.

    Good luck!!
     
    mywebsearches, Oct 17, 2007 IP