PHPLD Coding Help!

Discussion in 'Directories' started by upshiftmedia, Jul 10, 2007.

  1. #1
    Theblogconnection.com

    I would like to change my subcategories to look like:

    Awards, Body Art, Comics...

    Instead of:

    Awards
    Body Art
    Classical Studies
    Comics
    Crafts

    Where would I have to change the code to make this happen?

    Mike
     
    upshiftmedia, Jul 10, 2007 IP
  2. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #2
    main.tpl in the template folder your currently using., there should be a <br /> somewhere around sub categories, depending on coding removing the br would make them how you want. Dont forget to make a backup before you edit.
     
    SasaVtec, Jul 10, 2007 IP
  3. upshiftmedia

    upshiftmedia Peon

    Messages:
    469
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    $smarty.const.ENABLE_REWRITE}{$cat.TITLE_URL|escape}/{$scat.TITLE_URL|escape}/{else}index.php?c={$scat.ID}{/if}">
    {$scat.TITLE|escape}</a><br />{/foreach}</p>

    How could I make my listings look like this: Awards, Body Art, Comics... I cant seem to get the ... at the end of the selected subcats.

    Mike
     
    upshiftmedia, Jul 10, 2007 IP
  4. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #4
    like I said remove the <br /> upload and see how it looks
     
    SasaVtec, Jul 10, 2007 IP
  5. upshiftmedia

    upshiftmedia Peon

    Messages:
    469
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    upshiftmedia, Jul 10, 2007 IP
  6. Muneeb2Good

    Muneeb2Good Notable Member

    Messages:
    2,591
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    245
    #6
    Its just very simple bro.

    You just have to find " ... " in the main.tpl

    and replace with :
     
    Muneeb2Good, Jul 10, 2007 IP
    kiviniar likes this.
  7. upshiftmedia

    upshiftmedia Peon

    Messages:
    469
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    For some reason, this code doesnt work with this template. I will add it and you click on more...tell me what happens. Give her a try..its weir...it just adds the category to the existing url...

    Mike
     
    upshiftmedia, Jul 10, 2007 IP
  8. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #8
    i don't see the more in your site yet.
     
    vic_msn, Jul 10, 2007 IP
  9. cocomo

    cocomo Active Member

    Messages:
    336
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    68
    #9
    What happened to the designer and sponsor links for this template? Reinclude the links or remove the template.
     
    cocomo, Jul 10, 2007 IP
    LeopardAt1 likes this.
  10. upshiftmedia

    upshiftmedia Peon

    Messages:
    469
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Designer and sponser link added.

    Once I switched the URL rewrite ON, the more link worked. Thanks for the help.

    Mike
     
    upshiftmedia, Jul 10, 2007 IP
  11. kiviniar

    kiviniar Notable Member

    Messages:
    1,964
    Likes Received:
    256
    Best Answers:
    0
    Trophy Points:
    255
    #11
    Yup, this looks great...

    Also, you have the PHPld link twice in the footer :)
     
    kiviniar, Jul 10, 2007 IP
  12. upshiftmedia

    upshiftmedia Peon

    Messages:
    469
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks! I just removed the duplication.

    Cheers!

    Mike
     
    upshiftmedia, Jul 10, 2007 IP