Hardlinks in phpld

Discussion in 'Directories' started by Justin Nijs, Apr 21, 2007.

  1. #1
    Hello,

    I use phpld with this template (http://www.avivadirectory.com/downloadblog/?p=109)
    And someone asked me to add a few hardlinks. I wanted to do that but the templates stood in my way.
    Can someone tell me how I can put hardlinks in my linkdir, (not in the footer of header.)

    In advance thanks .
     
    Justin Nijs, Apr 21, 2007 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    hardlinks?
     
    Richie_Ni, Apr 21, 2007 IP
  3. NRLMedia

    NRLMedia Peon

    Messages:
    2,462
    Likes Received:
    215
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You know, like hard as a rock.

    He probably means Header Links or Nav Links or Sitewide Links or Something Links
     
    NRLMedia, Apr 21, 2007 IP
    khushal likes this.
  4. hotpop

    hotpop Peon

    Messages:
    2,059
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I think he probably menas main page links.
     
    hotpop, Apr 21, 2007 IP
  5. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Please explain with an example as to which hard links are u talking about ??

    Use this code for internal links to pages like submit , top links etc..
    
    <a href="{$smarty.const.DOC_ROOT}/yourpage.php"> Some Text </a>
    
    Code (markup):
    Or use for external site links. Smarty is choosy with font sizes if thats what you are trying to do, use css styles or format.
    
    <a href="http://www.somerandomsiteugot.com"> Some Text </a>
    
    Code (markup):
    If you want to link to main page from other pages use
    
    <a href="{$smarty.const.DOC_ROOT}/index.php"> Some Text </a>
    
    or
    
    <a href="{$smarty.const.DOC_ROOT}/"> Some Text </a>
    
    
    Code (markup):
    Cheers
     
    paidhosting, Apr 21, 2007 IP
  6. onlinedude

    onlinedude Peon

    Messages:
    1,193
    Likes Received:
    322
    Best Answers:
    0
    Trophy Points:
    0
    #6
    onlinedude, Apr 21, 2007 IP
  7. Justin Nijs

    Justin Nijs Well-Known Member

    Messages:
    631
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    110
    #7
    In dutch we call 'harde links', the translater said hardlinks. So I used it.
    I don't mean <a href="out.php?id=xx">
    but: <a href="http://thewebsite">
    //straight to the face.

    I am sorry for the wrong word :$ (so a shame)
     
    Justin Nijs, Apr 21, 2007 IP
  8. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #8
    seo friendly url?
     
    Richie_Ni, Apr 21, 2007 IP
  9. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #9

    Please try the code i mentioned above should solve ur problem.

    Cheers
     
    paidhosting, Apr 21, 2007 IP
  10. smub

    smub Notable Member

    Messages:
    3,443
    Likes Received:
    375
    Best Answers:
    0
    Trophy Points:
    230
    #10
    all you need to do is add the basic html code

    <a href="http://xxx.com">text</a>

    to the file you want it to be in ...

    if you want on the header than edit header.tpl

    if in footer than edit footer.tpl

    but i see that you dont want it in the footer either ...

    than i am thinking you want it in the main.tpl

    edit the main.tpl and add it where ever you want it like

    in b/w featured links and regular links

    or on top of every featured link
     
    smub, Apr 21, 2007 IP
  11. Justin Nijs

    Justin Nijs Well-Known Member

    Messages:
    631
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    110
    #11
    When i put it in main.tpl it will be on every page and not just one category.

    I want it the same as when you submit a link but then more seo friendly.
     
    Justin Nijs, Apr 21, 2007 IP
  12. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #12
    Still not getting you, but i think you want SEO Friendly detail page URLS.
     
    SasaVtec, Apr 21, 2007 IP
  13. paidhosting

    paidhosting Peon

    Messages:
    4,822
    Likes Received:
    483
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Ok ur confusing us, got any example ?
     
    paidhosting, Apr 21, 2007 IP
  14. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #14
    I'm feeling sick now.:(
     
    Richie_Ni, Apr 21, 2007 IP
  15. Agent47

    Agent47 Well-Known Member

    Messages:
    775
    Likes Received:
    138
    Best Answers:
    0
    Trophy Points:
    135
    #15
    I would also be interested to know how to add "Soft Links"... thats what we call it in spanish.. lolz
     
    Agent47, Apr 21, 2007 IP
  16. popotalk

    popotalk Notable Member

    Messages:
    4,840
    Likes Received:
    522
    Best Answers:
    0
    Trophy Points:
    260
    #16
    Lolz :D

    @Justin Nijs
    Maybe your talking about a Sponsor Link on every category on the sidebar not a sidebar. If that is the case there would be a MOD coming out for DIRSENSEI known as the SUPER SPONSOR in a Sponsor for a Category could be in place.

    And Yes !!! This a Green Muscle Man MOD so please don't rip it.
     
    popotalk, Apr 22, 2007 IP