View Full Version : Basic Module
CallieJo
04-16-2005, 11:33 PM
I have to thank you bunches for this! This is in my bookmarks because I've used it for everything I do...really!
Thanks for sharing this ;-) I'd be lost without it....
Hugs*
CallieJo
akira
07-12-2005, 06:16 AM
This will add a basic module to your CMPS in witch you can put images, text, etc...
In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_custom_1".
Insert this code into the template (replace the blue code with your text/code):
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Custom Module 1</b></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<!-- Begin custom code -->
Your custom code comes here.
<!-- End custom code -->
</td>
</tr>
</table>
<br />Save the template!
Still in your Admincp - vBa CMPS - Add Module
- Module Title - Custom 1
- Module Identifier - Leave blank
- OR Template to Include - custom_1
- Activate and select the column you want it in.
- Save and you are done.
Have Fun,
cLord ;)
Thank you it was just what i needed :)
agentorange
07-28-2005, 09:30 PM
Hi,
I've installed this mod on my portal, it's great, thanks. One question though which doesn't appear to have been asked. How do I change the background colour of this specific module?
Thanks in advance,
Ali.
Samir
07-29-2005, 03:57 PM
Use whatever you normally would for a table and put it on the line:<td class="$getbgrow" width="100%">
virtualburn
07-30-2005, 04:43 PM
Just a thankyou... this has concluded two hours of fiddling about trying to add another module from scratch. cheers.
mrpibbny
04-24-2006, 08:45 AM
I was just getting ready to post about how I couldn't get this piece of crap to work.
...then I noticed I was missing a " at the end of my test link.
Great job. Thank you.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.