anarchystar
01-03-2005, 03:03 AM
I was having a problem figuring out how to add content to the custom page content module, I searched the forums and saw that there seemed to be quite a few people with the same problem. I followed the instructions I found in most of the posts and never got the results I wanted. Nor was there a definitive post that answered the question, but I was able to piece together the answer after reading about 6 different posts.
Anyway, if you want to add you own content to the cmps_index.php page, take the following steps.
1) go into style manger and click the drop down box in the style you want to use and click "add new template" make sure you name it "adv_portal_pagename"
substituting your page name for "pagename"
2) go into vba cmps and find the option maked "edit pages"
3) the top page list should say "Default / Hompage" click the "go" button to edit this page
4) the page template feild at the top of this page is blank, add the adv_portal_pagename to that field.
5) save
now that template will appear in the custom page content mod on you cmps_index page.
if you want the content to be in a block, like the other blocks on your page use the following 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 />
Anyway, if you want to add you own content to the cmps_index.php page, take the following steps.
1) go into style manger and click the drop down box in the style you want to use and click "add new template" make sure you name it "adv_portal_pagename"
substituting your page name for "pagename"
2) go into vba cmps and find the option maked "edit pages"
3) the top page list should say "Default / Hompage" click the "go" button to edit this page
4) the page template feild at the top of this page is blank, add the adv_portal_pagename to that field.
5) save
now that template will appear in the custom page content mod on you cmps_index page.
if you want the content to be in a block, like the other blocks on your page use the following 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 />