Author Topic: How to have a fixed Category height?  (Read 2996 times)

0 Members and 1 Guest are viewing this topic.

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
How to have a fixed Category height?
« on: July 20, 2008, 08:26:55 PM »
Hello,

I know we could set the "Table Width" in "Category Setting".
However, is there any way to set the "Table Height"?

I don't really need to have that function in the Control Panel.
It's fine with me to edit the files to have the width I need.

If there's anybody know how to do it, please let me know.
Thank you very much for your time and help.

p.s. I am using 1.7.6.

Best regards,
Sleepy

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: How to have a fixed Category height?
« Reply #1 on: July 21, 2008, 06:08:56 AM »
Hi,

you can find the codes in:
includes/functions.php

under the function:
Code: [Select]
function get_categories($cat_id = 0) { Here you can find the tables, tr,td
I thing, you have no problems to edit it:
use this:
Code: [Select]
height=\"???\"


Kurt

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: How to have a fixed Category height?
« Reply #2 on: July 21, 2008, 06:09:56 AM »
I figured it out by myself.
The file I edited is "category_bit.html" in the templates.

I created a table with fixed height for
Code: [Select]
{if cat_description}<span class="smalltext">{cat_description}</span><br />{endif cat_description}
{if sub_cats}{sub_cats}{endif sub_cats}

^_^.

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: How to have a fixed Category height?
« Reply #3 on: July 21, 2008, 06:13:17 AM »
Hi,

you can find the codes in:
includes/functions.php

under the function:
Code: [Select]
function get_categories($cat_id = 0) { Here you can find the tables, tr,td
I thing, you have no problems to edit it:
use this:
Code: [Select]
height=\"???\"
Kurt

Thanks for your reply.
Although I've solved my problem by myself, I guess I would try your resolution later today.
I really appreciate your time and help. Thank you very much.