Results 1 to 13 of 13

Thread: categorie.

  1. #1
    Join Date
    Apr 2003
    Posts
    24

    Default categorie.

    In the first sorry for my bad english

    I find to decrease the upper deviation in the category on main page and under category nos is if this :

    Category 1 category2

    Category 3 category 4


    i whant this

    category1 category 2
    category3 Category4

    any idea ?


    Thanks .

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

    Default ?

    ai,
    ähm, please can you explain it again ?
    Which deviation do you mean ?
    Please send a link to your site...
    Frank

  3. #3
    Join Date
    Apr 2003
    Posts
    24

    Default

    now the category is
    if this

    Category1
    <<------- I whant remove this line ( space )------->>
    Category 2


    i whant it

    Category 1
    Category 2

    c'est plus Clair ??
    i cannot give link because a site is very

    )) he is not online ...

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

    Default ->

    ai,

    /lib/category.class

    -> search: if(!empty($cat_description)) $category .= "<br>";

    delete this and the breaks behind you don't want to have.

    I think this is it...

    Frank

  5. #5
    Join Date
    Apr 2003
    Posts
    24

    Default thanks

    but
    no this ..

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

    Default ?

    Ähm, sorry, please can you give some more information ?
    If you look to the category.class as I told you, there is the function display categories (or so) and there are a lot of breaks.
    Delete these you don't need...
    Corlath

  7. #7
    Join Date
    Apr 2003
    Posts
    24

    Default re

    i have this

    ---
    // if($this->type_of_list=="STANDART_LIST") {
    $category .= "<p>";
    $category .= "$image <FONT FACE=$cat_font_face SIZE=$cat_font_size>";
    $category .= "<B><A HREF=\"$cat_url\" style=\"$this->cat_link_style\">$cat_name</A></B> $html_number_of_links \n";
    $category .= "$number_of_links\n";
    if($this->show_description) {
    if(!empty($cat_description)) $category .= "<--br>";
    //$category .= "<a style='font-size: 11px; color: #567E96;'>$cat_description</a>\n";
    $category .= "$cat_desc \n";
    }
    if($this->show_subcat) $category .= "<--br>";
    }
    //
    ----

    i remove every <--br> but no this ...
    Last edited by salim75; 04-26-2003 at 12:29 PM.

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

    Default hm

    Hm, yes you are right - then I don't know. I think it must be in the loop some rows somelines before, but I'm not so firm in php.
    Check the finished Html-code and try to find it.

    By the way - why will you do this ???

    Frank

  9. #9
    Join Date
    Apr 2003
    Posts
    24

    Default because :)))

    i have approxymatle 80 category ....
    this space is if i have 160 category in the main page ...
    and in sub cat i have in every categrory ... 12 sub cat ...

    this space is big place ....

    cat1
    cat2
    cat3
    cat4


    an now is

    cat1

    cat2

    cat3

    cat4

    if i no find i create a main page manuealy and paste a link ..

  10. #10
    Join Date
    Apr 2003
    Posts
    24

    Default

    where is the father dody...?
    it must have gone has the beach and leaves us)
    y' is two years old has each problem I phone to him by forgetting the time decalage)

    but it is sympathetic and patient with my English whom I learned on the moon )

    )

  11. #11
    Join Date
    Apr 2003
    Posts
    24

    Question Why i havent reponse

    ??? 4 days no reponse...

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

    Default

    Sorry about the delay guys. I'm visiting family in other cities for 3 days. No internet, because it's a village.

    Frank has gave right direction, you have to go to /lib/category.class.php in order to alter category function. Search through display() function about line 454.

    You want to delete space between category? Read carefully line 584-595 that construct category
    PHP Code:
              if($this->type_of_list=="STANDART_LIST") { 
                
    $category .= "<p>";
                
    $category .= "$image <FONT FACE=$cat_font_face SIZE=$cat_font_size>";
                
    $category .= "<B><A HREF=\"$cat_url\" style=\"$this->cat_link_style\">$cat_name</A></B> $html_number_of_links \n";
                
    $category .= "$number_of_links\n";
                if(
    $this->show_description) {
                  if(!empty(
    $cat_description)) $category .= "<br>";
                  
    //$category .= "<a style='font-size: 11px; color: #567E96;'>$cat_description</a>\n";            
                  
    $category .= "$cat_desc \n";            
                }
                if(
    $this->show_subcat$category .= "<br>";
              } 
    To delete space between categories, just delete or edit line 585
    PHP Code:
    $category .= "<p>"
    You may prefer to use &lt;br> instead.

  13. #13
    Join Date
    Apr 2003
    Posts
    24

    Default MERCI

    tahnks ...

    in the night .. .4 h in morning in france i am here http://www.webalgerie.com/mod.php?mo...=32&page_id=29 this radio live ...you lessen salim ))

Similar Threads

  1. New Release Features
    By Hart_House in forum Announcements
    Replies: 27
    Last Post: 11-13-2002, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •