Results 1 to 3 of 3

Thread: Category Description Style and <a href> issue

  1. #1
    Join Date
    Aug 2006
    Posts
    32

    Default Category Description Style and <a href> issue

    Hi, how to I modify the codes associated with the category description.

    In the file, category.class.php, line 500+, there is this $cat_desc, which has a built-in code of <a href="">description</a>.

    Due to this, it follows the style of any a. links, but when we click it goes nowhere.

    I would like to change the code to either link to the category itself just like the category title, or simply leave it as text.

    I wonder if this $cat_desc is affected by the subcategory, whose links are working fine. But I doubt so.

    Kindly let me know how I can change this.

    Best Regards

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    To change the category appearance, edit /themes/kosmos/setting.php
    Code:
    /*===================================================
      category appearance
    ===================================================*/
    
    $cat_table_width        = "100%";              // table witdth
    $cat_cellspacing        = "3";                 // table cellspacing
    $cat_font_face          = "Arial";             // category font face
    $cat_link_style         = "font-size: 11px; color: #000000;";     // category link style
    $subcat_font_face       = "Arial";             // sub category font face
    $subcat_link_style      = "font-size: 11px; color: #000000;";  // sub category link style
    $category_separator     = " > ";               // string that will separate between the category and its subcategories
    $number_of_links_format = " <font color=\"#000000\"><b>(<%\$number_of_links%>)</b></font>";  // number of links
    $number_of_links_format_search_result = " ";   // number of links
    $cat_columns            = 2;
    $max_sub_cat            = 5;
    $cat_default_image      = $site_url.'/themes/'.$active_theme.'/images/folder.gif';//"images/folder.gif";
    $cat_description_format = "<a style=\"{font-size: 11px; color: #567E96;}\"><%\$cat_description%></a>";

  3. #3
    Join Date
    Aug 2006
    Posts
    32

    Default Thanks

    Hi Dody, thanks for the info.

    btw, I have sent a series of mail to you regarding my change of webhosting and the above issue. Please ignore the part about the above.

    The issue is regarding change in IP address but on the same domain name. There are some weird issues which I have described in the email to info@.

    The other question is related to sales, since I am a new customer and just paid last week. Asking if I can get an upgrade price for the latest unlimited promotion packages going on at the order page.

    Regards

Similar Threads

  1. category issue
    By rookers in forum v5.x
    Replies: 3
    Last Post: 08-02-2006, 06:31 PM
  2. Replies: 6
    Last Post: 06-02-2005, 09:08 AM
  3. Sub Category css style
    By Battousai in forum v5.x
    Replies: 3
    Last Post: 11-30-2003, 11:06 AM
  4. Display Category Description?
    By amanda in forum v5.x
    Replies: 0
    Last Post: 10-09-2001, 07:27 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
  •