PHPLD - Where does the description goes ?

Discussion in 'Directories' started by MeetHere, Jun 28, 2007.

  1. #1
    I have written descriptions for each top level categories..
    But i dont see them anywhere (except admin panel :p)

    There is a separate field of meta description too ( i input the same things)

    Can i know where does the description goes ?:confused:
     
    MeetHere, Jun 28, 2007 IP
  2. Antonio

    Antonio Well-Known Member

    Messages:
    1,504
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    155
    #2
    Make sure your description meta tags correct at your template.

    BTW, which version are you using?
     
    Antonio, Jun 28, 2007 IP
  3. chinadirectory

    chinadirectory Peon

    Messages:
    174
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    check the picture i uploaded, it should go above the subcats. :p
     

    Attached Files:

    chinadirectory, Jun 28, 2007 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    I am using v3.2 ...
     
    MeetHere, Jun 28, 2007 IP
  5. iceberg

    iceberg Notable Member

    Messages:
    1,751
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    200
    #5
    Are you the coder of your template ? If you are not, then check your header.tpl for the following two lines -

    <h1 id="title">{$in_page_title|escape|trim}</h1>
    <p id="descr">{$description|escape|trim}&nbsp;</p>

    If they are disabled, enable them.
     
    iceberg, Jun 28, 2007 IP
  6. chinadirectory

    chinadirectory Peon

    Messages:
    174
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #6
    did you fill this in? check image :p
     

    Attached Files:

    chinadirectory, Jun 28, 2007 IP
  7. Antonio

    Antonio Well-Known Member

    Messages:
    1,504
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    155
    #7
    {if !empty($MetaKeywords)}
             <meta name="keywords" content="{$MetaKeywords|strip|escape|trim}" />
          {/if}
          {if !empty($MetaDescription)}
             <meta name="description" content="{$MetaDescription|strip|escape|trim}" />
          {/if}
    PHP:
    These codes work for my v3.2 phpld directory, you may have a try :)

    //edit

    I may misunderstand, do you mean the description on categories not in the file source?
     
    Antonio, Jun 28, 2007 IP
  8. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #8
    Yes that is what I did...

    No i am not the coder of my template...

    Can anybody show me a demo where description is visible on a directory ( should be written from the admin panel - not the articles one )
     
    MeetHere, Jun 28, 2007 IP
  9. Antonio

    Antonio Well-Known Member

    Messages:
    1,504
    Likes Received:
    128
    Best Answers:
    0
    Trophy Points:
    155
    #9
    The official demo is working.
     
    Antonio, Jun 28, 2007 IP
  10. iceberg

    iceberg Notable Member

    Messages:
    1,751
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    200
    #10
    I already said your coder has disabled or removed the following two lines -

    <h1 id="title">{$in_page_title|escape|trim}</h1>
    <p id="descr">{$description|escape|trim}&nbsp;</p>

    without enabling them you cant see the descriptions...
     
    iceberg, Jun 28, 2007 IP
    LeopardAt1 and khushal like this.
  11. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #11
    ^^iceberg has already said this twice, and he is 100% correct in what he's saying, so you should listen to his advise. :)
     
    an0n, Jun 28, 2007 IP
  12. enQuira

    enQuira Peon

    Messages:
    1,584
    Likes Received:
    250
    Best Answers:
    0
    Trophy Points:
    0
    #12
    paste the code posted by iceberg in main.tpl, topbar or anywhere you want the description to appear
     
    enQuira, Jun 28, 2007 IP
  13. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #13
    OK thanks guys for the help...
    Will implement that code soon..

    But still looking for a directory with descriptions live in action. ;)
     
    MeetHere, Jun 28, 2007 IP
  14. CReed

    CReed Prominent Member

    Messages:
    3,969
    Likes Received:
    595
    Best Answers:
    0
    Trophy Points:
    310
    #14
    eWebPages displays a brief description for top level categories - is that what you're referring to?
     
    CReed, Jun 28, 2007 IP
  15. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #15
    Yes Creed, thats what I was looking for.
    Thanks. You have done a good work.
     
    MeetHere, Jun 28, 2007 IP
  16. saadahmed007

    saadahmed007 Admínistratör

    Messages:
    5,272
    Likes Received:
    869
    Best Answers:
    0
    Trophy Points:
    380
    #16
    Linksholder.com also have descriptions for top level categories..
    Saad
     
    saadahmed007, Jun 28, 2007 IP
  17. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #17
    Some of mine have the description diplayed below the title.

    You just need to put code for it in header.tpl file.
     
    coolsitez, Jun 28, 2007 IP