PDA

View Full Version : Which file has the code for the ...


Cary
03-13-2008, 11:15 PM
I would like to eliminate the blank line between the Category and the subcats below it, but not the blank line between the sub cats and the next Major category. Anyone have a clue as to the location in the code for that effect? Or is it an artifact of the text size?


Cary

A Listings (4)

Adoption, Accountants, Attorneys, ...

Alice Area (0)

Aransas Pass Area (0)

B Listings (1)

Business (General), ...

C Listings (4)

Churchs, Computer, Concrete, ...

Dealers (0)

E Listings (4)

Electric, Employment, Entertainment, ...

James
03-14-2008, 01:09 AM
main.tpl in the template you are using.

Cary
03-14-2008, 02:15 AM
Modified code:

{* Display subcategories *}
{if !empty($cat.SUBCATS)}
</br class="subcats">
{foreach from=$cat.SUBCATS item=scat name=scategs}
<a href="{$smarty.const.DOC_ROOT}/{$scat.CACHE_URL|escape}">
{$scat.TITLE|escape}</a>, {/foreach} ...
<br>
{/if}
<br>

Viewable at coastalbendwebmall com