Quote:
Originally Posted by Zellbet
1. I am trying to modify the VBadanced module to show only one category. IE I want one module to show the most popular files, and another module to show the latest files. Not sure what I am doing wrong here, but this is the image i get
This is the code. I would like it to just say in the module the names of the files. And not include most popular files 2 times, and remove the lines around it.
Code:
<if condition="$dl->statsmostpopularfiles > 0">
<tr align="center">
<td class="thead" width="25%"><span class="smallfont">Most Popular Files</span></td>
</tr>
<tr align="center">
<td class="alt1">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>Most Popular Files</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>
</if>
|
That's because the same templated is used two times. For the second module, create a new template next to adv_portal_ecdownloads, for example adv_portal_ecdownloads2.
Then open /modules/downloads2.php and change adv_portal_ecdownloads in it to your other template and give the module another name (for example downloads3.php), so you have two modules
Quote:
Originally Posted by scotsmist
Hi, if vbportal was free to you, would you test with it ?
|
That's an interesting offer

Then I would certainly experiment with it and try to port the module.