1
hightyde
list mylink categories vertically instead of horizontally
  • 2004/4/5 16:32

  • hightyde

  • Just popping in

  • Posts: 86

  • Since: 2003/7/11


Any way the categories in mylink (and my ads too) can be listed vertically instead of horizontally?

Currently:

Cat A Cat B Cat C
Cat D Cat E Cat F
Cat G Cat H Cat I

I would like:

Cat A Cat F
Cat B Cat G
Cat C Cat H
Cat D Cat I
Cat E ...

2
builderb
Re: list mylink categories vertically instead of horizontally
  • 2004/4/5 18:58

  • builderb

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/8/4 2


@ line # 24

replace this:
<{if $category.count is div by 3}>
</tr><tr>
<{/if}>


with this:
</tr><tr>

That should work for the index page.

If you want to do the same thing with the sub-category pages you will need to replace the following text @ line 24:

<{if $subcat.count is div by 4}>
</tr><tr>
<{/if}>

with this:

</tr><tr>

3
hightyde
Re: list mylink categories vertically instead of horizontally
  • 2004/4/5 19:49

  • hightyde

  • Just popping in

  • Posts: 86

  • Since: 2003/7/11


Thank for your prompt reply builderb! That gets me one (vertical) column list view. Like this...

A
B
C
D
E
F
G
H
I
...

Now, is there a way to get two columns? Looks like this...

A | G
B | H
C | I
D | J
E | K
F | L

Thanks you very much!

4
hamood
Re: list mylink categories vertically instead of horizontally
  • 2005/9/26 12:31

  • hamood

  • Just popping in

  • Posts: 11

  • Since: 2004/3/11


hello

its very easy

replace this:
<{if $category.count is div by 3}>
</tr><tr>
<{/if}>


with this:
<{if $category.count is div by 2}>
</tr><tr>
<{/if}>


thanx

Login

Who's Online

240 user(s) are online (172 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits