1
happycase
My Ads module categories display
  • 2004/11/30 19:48

  • happycase

  • Just popping in

  • Posts: 3

  • Since: 2004/11/23


My Ads module categories display

Hello everybody,

I'm trying to modify "My-ads" XOOPS module in order to fit it on my classified site.

What I'm trying to do, is quite simple, I need to display (have a look at my site!!Happy Case) for each categories page here,
the categories links, 3 for line and in case the total number of categories would be not multiple of 3, remaining ones in the last line.

Eg.
Way it is now:

cat cat cat
cat
cat cat cat
cat
cat cat cat

Way Id' like it to be:

cat cat cat
cat cat cat
cat cat cat
cat cat.

I found the lines the regulate this organization it is the following:

<{foreach item=cat from=$categories}>
        <{
math equation="i % 3" i=$cat.i assign="mod"}>
            <{if 
$mod == 0}><tr><{/if}>
            <
td valign="top" align="center" style="width:33%;">
            <
table class="outer" cellspacing="0" style="width:100%;">
              <
tr><td class="head"><{$cat.image}> <{$cat.link}> (<{$cat.count}>)</td></tr>
              <
tr><td class="odd"><{$cat.subcat}></td></tr>
            </
table>
            </
td>
            <{if 
$mod == || $cat.== $cat_count}></tr><{/if}>
        <{/foreach}>



I tried to mess it out (obviously by pushing buttons as I'm not a php genious), but nothing I actually expected happened...
Can You Help me please?
Thank you...



2
happycase
Re: My wish is, a menu module how can make submenus too
  • 2004/11/24 18:54

  • happycase

  • Just popping in

  • Posts: 3

  • Since: 2004/11/23


Many Thanks, I'll try to see what I can Find...



3
happycase
Re:My wish is, a menu module how can make submenus too
  • 2004/11/23 21:00

  • happycase

  • Just popping in

  • Posts: 3

  • Since: 2004/11/23


This is the kind of module I'm looking for, but cannot find it anywhere.
I've just installed the one hacked by cucoket, but it only allows to add submenu of the module who can actually do it by default.

I need something to let me add submenu manually.

Option1-LinkToWhateverItIs/SubOption1-LinkToWhateverItIs
/SubOption2-LinkToWhateverItIs

Option2-LinkToWhateverItIs/SubOption1-LinkToWhateverItIs
/SubOption2-LinkToWhateverItIs

And so on.
If anybody knows, please let me know...
Many Thanks...




TopTop



Login

Who's Online

173 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 173


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