1
limecity
Changing Mylinks template ??
  • 2004/3/27 3:48

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


For the index. when its open up. The page will look somehow distorted when there are too many sub catgegory.

I modify the template but it doesn't work. Here what was trying to make. Just the categroy name beside the category image and the subcategroy underneath both of them.

[PICTURE] <Category name>(totallink)
<sub_cat><sub_cat><sub_cat><sub_cat>
<sub_cat><sub_cat><sub_cat><sub_cat>
<sub_cat><sub_cat><sub_cat><sub_cat>

-------------------------
Here's my coding for those part


<table border='0' cellspacing='5' cellpadding='0' align="center">
<tr>
<!-- Start category loop -->
<{foreach item=category from=$categories}>

<td valign="top">

<{if $category.image != ""}>
<a href="<{$xoops_url}>/modules/mylinks/viewcat.php?cid=<{$category.id}>"><img src="<{$category.image}>" height="50" border="0" alt="" /></a>
<{/if}>

</td>
<td valign="top" width="40%"><p><strong><a href="<{$xoops_url}>/modules/mylinks/viewcat.php?cid=<{$category.id}>" class="style1"><{$category.title}></a>&nbsp;</strong>(<{$category.totallink}>)</p>
<p>&nbsp;</p> </td>

<{if $category.count is div by 3}>
</tr>
<tr>
<td colspan="2" valign="top"><{$category.subcategories}></td>
</tr>
</table>



2
Mithrandir
Re: Changing Mylinks template ??

"It doesn't work" ... elaborate please. How doesn't it work? Blank screen? Showing up as usual (did you update the module?) all messed up...


3
limecity
Re: Changing Mylinks template ??
  • 2004/3/27 10:52

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Oops..
the page blank white.
I made the changes from the admin template area. After using dreamweaver to edit the index file.


4
Mithrandir
Re: Changing Mylinks template ??

And what does debug tell you?

Login

Who's Online

157 user(s) are online (109 user(s) are browsing Support Forums)


Members: 1


Guests: 156


heyula,

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