Results 1 to 4 of 4

Thread: Show meta description in browse.html

  1. #1
    Join Date
    Oct 2001
    Posts
    94

    Default Show meta description in browse.html

    This may sound a bit strange but something I want to do and will appreciate any leads in the right direction.

    I want to display the meta description of a category in browse.html. I put <%meta_description%> where I want it displayed (under the category_path_with_link) but it doesn't show.
    When I check the page source it has <%meta_description%> but the description does not show in the page.

    Why do I want to do this:

    I have content (ad materials) above this space and I have just noticed that google indexes the page. Picks up the category_path_with_link as well as my ad material which is not the actual description of that category.

    I will like a situation in my browse.html like this

    header
    cat_path_with_link Top > Shopping > Malls
    description Best malls in the universe (I want this to come from the meta_description I add when creating the category)

    Has anyone an idea?
    Thank you

    NB. Using category description will not produce the effect I am looking for.
    I can also make do with a custom field but to avoid going through all the categories one by one I will like to pull this data from the meta description.

  2. #2
    Join Date
    Oct 2001
    Posts
    94

    Default

    Anyone out there?

  3. #3
    Join Date
    Aug 2002
    Location
    Germany
    Posts
    1,180

    Default show nearly all

    browse.php:

    // vars template
    global $category,$link,$pagination,$category_path,$conten t,$content2,$editor, $category_path_search_opt, $meta_keywords, $page_title, $meta_description;

    <- add what you want

    If I remeber right it is all..

    Frank

  4. #4
    Join Date
    Oct 2001
    Posts
    94

    Default

    Frank,

    I can't thank you enough.

    I added in Var template as well as in DisplayTemplate (the last sention before main program)
    In case this helps someone.

    Thank you so much
    Binto

Similar Threads

  1. Replies: 6
    Last Post: 03-31-2004, 10:39 PM
  2. Page Title & Meta Tags
    By anosh in forum v5.x
    Replies: 1
    Last Post: 12-15-2003, 05:47 AM
  3. Adding Meta tags to detail.php
    By craven in forum v5.x
    Replies: 7
    Last Post: 06-07-2003, 03:12 AM
  4. Replies: 1
    Last Post: 06-24-2002, 12:57 PM
  5. Category description hack
    By armadinina in forum v3.2
    Replies: 0
    Last Post: 08-31-2001, 12:06 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
  •