| Author |
Message |
Slavik
|
Posted: 6 Aug 2005 05:45:23
hi,
it's so hard to change your templates, i can't align categories, they are to close to each other, you can see this on your site demo: http://www.skalinks.com/dir/ Admin please tell me how can i align categories exactly, i mean look at the center column it's not aligned correctly.
Please can you help?
|
skalinks Admin
|
Posted: 9 Aug 2005 04:25:35
Hi Slavik.
There is a function "display_cats()" in design.php file in SkaLinks_include folder. You can modify it as you wish.
Thanks.
|
slavik
|
Posted: 9 Aug 2005 15:38:54
thanks a lot :)
|
attorneybud
|
Posted: 12 Aug 2005 20:49:27
I don't really know much about php. Any suggestion on what code or how i can align the categories apart like your demo. My categories are all shift to the left and there's no enough space in between so they are all together. Please help. Thanks.
|
skalinks Admin
|
Posted: 12 Aug 2005 23:02:37
Hi attorneybud
You whouldn't know php, if you want to make this changes, this funtion written in php, but it just output the html code, just look throught this function, find the html code ( tags, styles ) and modificate as you wish.
Thank you!
|
attorneybud
|
Posted: 13 Aug 2005 22:09:54
sorry... i'm still lost. i'm not quite sure of your explaination. anyway, i just want my categories to align like your demo without all three row being crush together on the far left and large open white space on the right. What did you change on the design.php file to make this aligning possible? If you can send me a copy of your design. php file or post it here, it would help. box05@hotmail.com
|
skalinks Admin
|
Posted: 15 Aug 2005 00:01:59
Hi attorneybud
May be you have large open white cpase on the left right, because there are not so many categories in you directory? Our demo have many categories, and all they situated in 3 rows, and there no white space. And as I understood, you want, that all your categories will be situated in center of category page, well, in future, when your category will be big, all you categories will situated centered in 3 rows ( or other rows; you can change the count of rows in design.php file, just change the value of row_cats of display array ) or if you want to have your categories centered now, just find the code in template\cat.tpl file:
{else}
<table><tr><td align=left>
<table cellpadding=5>
<tr><td>{show_ads id=$_output.cat_info.ID type=$type position=left}</td></tr>
</table>
</td>
<td>
{ display_cats output=$_output}
<br>
</td></tr>
</table>
{/if}
and replace this code with:
{else}
<table align=center><tr><td align=left>
<table cellpadding=5>
<tr><td>{show_ads id=$_output.cat_info.ID type=$type position=left}</td></tr>
</table>
</td>
<td>
{ display_cats output=$_output}
<br>
</td></tr>
</table>
{/if}
Thank you!
|
attorneybud
|
Posted: 15 Aug 2005 19:41:32
I tired what you suggested. It's still the same.
Here's my the link to my directory:
http://www.foreclosurefreetoday.com/directory/
See what I mean? All the categories are on the left and there's open space on the right. I want the categories to align to the left but to stay center on the page.
|
attorneybud
|
Posted: 15 Aug 2005 19:47:08
Basically, I want to open up the space in between each category wider. What do I need to change?
|
skalinks Admin
|
Posted: 16 Aug 2005 00:32:30
Hello attorneybud.
All these categories and subcategories situated in table. Here is the code in index tpl file which shows these categories:
{else}
<table><tr><td align=left>
<table cellpadding=5>
<tr><td>{show_ads id=$_output.cat_info.ID type=$type position=left}</td></tr>
</table>
</td>
<td>
{ display_cats output=$_output}
<br>
</td></tr>
</table>
{/if}
As you can see <table><tr><td align=left> <table cellpadding=5>.
Try to change values for align and cellpadding and write here about your successes, please.
Thanks.
|
Colleen Member
|
Posted: 18 Aug 2005 15:31:49
My index.tpl only has this code in it "assign var=type value=cat" Is it supposed to have the above?
Thanks.
Also I am trying to add my own footer to complete my design and I can't see how, somehow it broke the bottom of the page when I tried to add it even though I removed it.
http://directorysource.info/resources
|
skalinks Admin
|
Posted: 18 Aug 2005 23:36:54
Hello Colleen.
My index.tpl only has this code in it "assign var=type value=cat" Is it supposed to have the above? . What did you mean? There are a lot of another code in this file.
Try to look through the header, because some parts of our design use divs. Thats why if you want to change something in the footer you should first see the header.
Thank you for using our product.
|