vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 01-03-2005, 02:03 AM
anarchystar anarchystar is offline
Member
 
Join Date: Dec 2004
Posts: 44
Default Answer to the mystic custom page content module question

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  
Old 01-03-2005, 08:57 PM
jugo jugo is offline
Junior Member
 
Join Date: Jun 2004
Posts: 22
Default Re: Answer to the mystic custom page content module question

this will load the page via the ?page=XXXX url??
  #3  
Old 01-04-2005, 07:29 AM
anarchystar anarchystar is offline
Member
 
Join Date: Dec 2004
Posts: 44
Default Re: Answer to the mystic custom page content module question

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  
Old 01-13-2005, 01:25 AM
Grumpy ol' Jim's Avatar
Grumpy ol' Jim Grumpy ol' Jim is offline
Junior n00b
 
Join Date: Sep 2004
Location: the Ether
Posts: 44
Default Re: Answer to the mystic custom page content module question

Can you point us to an example please?

Thanks,

Grump
  #5  
Old 01-13-2005, 02:35 AM
Oreamnos Oreamnos is offline
Junior Member
 
Join Date: Dec 2004
Posts: 19
Default Re: Answer to the mystic custom page content module question

anarchystar,

Thanks! That's what i was looking for. Thanks for doing all the leg work.
  #6  
Old 01-14-2005, 04:19 PM
giorgio giorgio is offline
Junior Member
 
Join Date: Jan 2005
Posts: 4
Default Re: Answer to the mystic custom page content module question

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 01:49 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.