ok, this is my galleries:
http://www.hapoelj.net/Galleries/index.php (http://www.hapoelj.net/Galleries/index.php)
it's all good, but only one thing left - where categories appear i just cant change the align from left to right!
how do i do that? i suspect this is not in the theme files, but where?
thank you all in advance,
Moshe.
Find $template_cat_list variable from themes/sample/theme.php and paste it to themes/your theme/theme.php if you don't have it already
and then change the align properties to right
This
<td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
should be
<td class="tableh1" width="80%" align="right"><b>{CATEGORY}</b></td>
And this
<td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
should be this
<td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="right">{CAT_THUMB}</td><td align="right"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
And this
<td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
should be this
<td class="catrow" align="right"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
thanks!
it appears that who programmed that template was somewhat lazy, the theme.php file was only 4KB. i just copied the whole sample theme.php file and changed the lines in there.
thanks again, it was really helpful.:-)
Quote from: mbhpotter on July 09, 2007, 08:26:18 AM
it appears that who programmed that template was somewhat lazy, the theme.php file was only 4KB.
That's fine and expected.
Quote from: mbhpotter on July 09, 2007, 08:26:18 AMi just copied the whole sample theme.php file and changed the lines in there.
Undo that - you're not suppossed to copy the entire content of the sample theme into your custom theme. Only the stuff that you actually change should be copied to your custom theme, overriding the default behaviour.
From the preliminary documentation for cpg1.5.x (http://documentation.coppermine-gallery.net/theme.htm#theme_sample) that applies to cpg1.4.x as well in this aspect:
QuoteDon't copy the whole content from themes/sample/theme.php into your custom theme, as this will only clutter your custom theme and will make upgrading very hard in the future. Instead, copy the sections you want to modify.
Quote from: GauGau on July 09, 2007, 08:37:59 AM
That's fine and expected.
Undo that - you're not suppossed to copy the entire content of the sample theme into your custom theme. Only the stuff that you actually change should be copied to your custom theme, overriding the default behaviour.
From the preliminary documentation for cpg1.5.x (http://documentation.coppermine-gallery.net/theme.htm#theme_sample) that applies to cpg1.4.x as well in this aspect:
ok, got the point.. that's what i'll do.
thanks:-)