PDA


View Full Version : I simpily can not get a new module to appear...


thenewuser
03-19-2005, 08:51 PM
I tried all of these steps:

http://www.vbadvanced.com/forum/showthread.php?t=6387

and I can't get one to show up on the front page of www.powerlevel.org

Any clues?

Boosted MR-S
03-19-2005, 10:02 PM
Give me a second to look at the thread.

Boosted MR-S
03-19-2005, 10:08 PM
Ok There is two different Styles you can do this with.

Style #1


<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] TITLE OF MODULE</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">
</br>
<a href="insert link here">INSERT TITLE HERE</a>
</br>
<a href="insert link here">INSERT TITLE HERE</a>
</br>
<a href="insert link here">INSERT TITLE HERE</a>
</br>
</td>
</tr>
</table>
<br/>

Boosted MR-S
03-19-2005, 10:12 PM
Style #2



<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"<strong>$vba_options[portal_blockbullet]
<font color="#FFFFFF">BLOCK NAME HERE</font> $vbphrase[vba_navigation]</strong></span></td>
</tr>

<tr>
<td class="alt1" style="text-align: center;">
<b>
<span class="smallfont">
<a href="INSERT LINK HERE"><b>INSERT NAME HERE</b></a></span></b></td>
</tr>

<tr>
<td class="alt2" style="text-align: center;">
<b>
<span class="smallfont">
<a href="INSERT LINK HERE"><b>INSERT NAME HERE</b></a></span></b></td>
</tr>

</table>
<br />


on this style you'll notice


<td class="alt2" style="text-align: center;">


This code tells the module what color the background should be. In order to keep this alternating when adding a new link alternate alt1 with alt2 etc.

Enjoy!

Boosted MR-S
03-19-2005, 10:15 PM
Oh I forgot to enter the steps to make this happen SORRY! :D

AdminCP -> Styles -> Add New Template

Name template: adv_portal_links

Copy Code

Save

AdminCP -> VBACMPS -> Add Module ->

Module Name: Links of Intrest
OR Template Include: links
Active: Yes
Update all Pages: Yes

Save!

thenewuser
03-21-2005, 12:37 AM
Ok I made a new template.

Named it: adv_portal_games

Put in the 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] Games:</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">
</br>
<a href="insert link here">1</a>
</br>
<a href="insert link here">2</a>
</br>
<a href="insert link here">3</a>
</br>
</td>
</tr>
</table>
<br/>




I then go to: Add Module

Title: Games
Module Ident: (left blank)
File: None
Templete to include: adv_portal_games
Active: Yes
Left Column
Templates used: (left blank)


I did all of that and it still isn't working. I know this is dead simple, it just plain isn't working for me. :(

mholtum
03-21-2005, 02:20 AM
template to include should be games. NOT adv_portal_games

Boosted MR-S
03-21-2005, 03:23 AM
Yes name of template and template include are two different names.

mholtum
03-21-2005, 04:42 AM
Just change the module settings to:
Title: Games
Module Ident: (left blank)
File: None
Templete to include: games
Active: Yes
Left Column
Templates used: adv_portal_games (would be better than blank as it wont leave you with an uncached template) but blank will work.

thenewuser
03-21-2005, 07:13 PM
Worked, thanks :)

GmvsFord
04-03-2005, 04:57 PM
Ok There is two different Styles you can do this with.

Style #1


<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] TITLE OF MODULE</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">
</br>
<a href="insert link here">INSERT TITLE HERE</a>
</br>
<a href="insert link here">INSERT TITLE HERE</a>
</br>
<a href="insert link here">INSERT TITLE HERE</a>
</br>
</td>
</tr>
</table>
<br/>


This was very helpful to me as well, thank you very much.... ;)