My members love this gallery but most would like to see the gallery in a CMPS box with one single random or rotating graphic.
I can create a new CMPS Module but what I don't kow how to do is remove the gallery random pics from the forumhome template and put it into the module.
Do I use put the code that belongs in the forumhome template into the CMPS Module:
Quote:
<!-- gallery-featured header -->
<table cellspacing="0" cellpadding="0" align="center">
<tr>
$featured_gallery
</tr>
</table>
|
and then
Quote:
<if condition="$vboptions['show_latest']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
<tr>
<td class="tcat" colspan=$gal_num_rows>
Galerie
<div class="smallfont">Latest Pictures in the gallery:</div>
</td>
</tr>
<tr>
$latestgallery
</tr>
</table>
<br />
<br />
</if>
<if condition="$vboptions['show_random']==1">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="99%">
<tr>
<td class="tcat" colspan=$gal_num_rows>
Gallery
<div class="smallfont">Latest Pictures in the gallery:</div>
</td>
</tr>
<tr>
$random_gallery
</tr>
</table>
<br />
<br />
</if>
<!--Gallery-Addition-->
|
I have tried this but it isn't working for me. Any ideas on how show random graphics this way?