PEAK XOOPS - Problem Subcategory Myalbum in englishin japanese

Problem Subcategory Myalbum

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2004/8/17 16:17
Vincegex  企霹始   Posts: 2
Thank you for this great module myalbum, but I have a little problem. In the first page of Photo Album, the subcategories are written without blank, like this :
subcategory1 subcategory2 subcategory3.....

and I wonder this presentation :
subcategory1
subcategory2
subcategory3
.....


It s possible ? Thank you

Vince
Votes:1 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/8/20 18:39
GIJOE  黎扦烦菱   Posts: 4110
hi Vincegex.

It's an issue of templates.
You can edit myalbum*_categories.html of your templates set like this:

<table width="100%" border='0' cellspacing='5' cellpadding='0' align="center">
  <tr>
  <{foreach from=$subcategories item=cat key=count}>
    <td valign="top" align="right">
      <{if $cat.imgurl != ""}>
        <a href="<{$mod_url}>/viewcat.php?cid=<{$cat.cid}>">
          <img src="<{$cat.imgurl}>" width="120" border="0" alt="" />
        </a>
      <{else}>
        <a href="<{$mod_url}>/viewcat.php?cid=<{$cat.cid}>">
          <img src="<{$mod_url}>/images/folder32.gif" width="32" height="32" border="0" alt="" />
        </a>
      <{/if}>
    </td>
    <td valign="top" align="left" width="33%">
      <a href="<{$mod_url}>/viewcat.php?cid=<{$cat.cid}>"><span style="font:bold 150%;"><{$cat.title}></span></a> <{$lang_total}><{$cat.photo_total_sum}> (<{$cat.photo_small_sum}>)
      <br />
      <{foreach from=$cat.subcategories item=subcat}>
        <{if $subcat.number_of_subcat}>
          <a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}><img src='<{$mod_url}>/images/subcat.gif' width='15' height='15' /></a>  
        <{else}>
          <a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}></a> (<{$subcat.photo_small_sum}>)   
        <{/if}>
        <br />
      <{/foreach}>
    </td>
    <{if ($count+1) is div by 3}>
      </tr><tr>
    <{/if}>
  <{/foreach}>
  </tr>
</table>
Votes:1 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/8/24 16:43
Vincegex  企霹始   Posts: 2
Yes, it's good Thank you very much
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!