![]() |
|
#1
|
|||
|
|||
|
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: 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 /> |
|
#2
|
|||
|
|||
|
this will load the page via the ?page=XXXX url??
|
|
#3
|
|||
|
|||
|
not exaclty, this will add the content on your template to your cmps_index.php page, but to do what you want, just create the template, and then add the page under your vba cmps options (in place of editing the existing page there in step 3). then you can view it at ?page=yours
|
|
#4
|
||||
|
||||
|
Can you point us to an example please?
Thanks, Grump |
|
#5
|
|||
|
|||
|
anarchystar,
Thanks! That's what i was looking for. Thanks for doing all the leg work. |
|
#6
|
|||
|
|||
|
Thanks so much, anarchystar. I am looking all around becos of the same issue too.
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Content Page Module? | apokalupsis | Troubleshooting / "How do I..." Questions | 6 | 01-31-2005 11:39 AM |
| I'm baffled... Custom Page Content | maniac | Troubleshooting / "How do I..." Questions | 4 | 01-22-2005 10:20 PM |
| Edit Module - Custom Page Content | TORON | Troubleshooting / "How do I..." Questions | 6 | 10-29-2004 10:26 PM |
| Module and custom page question | Viks | Troubleshooting / "How do I..." Questions | 2 | 10-17-2004 09:25 PM |
| custom page content module | tpr | Troubleshooting / "How do I..." Questions | 8 | 06-21-2004 06:14 AM |