vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2008, 01:42 PM
badseed badseed is offline
Member
 
Join Date: Jan 2008
Posts: 82
Default Print Area

I have created a custom page and would like to have a link/button that when clicked would print out the contents of the page. I don't want it to print the modules or header. How would I do this?
Reply With Quote
  #2  
Old 04-02-2008, 02:12 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Print Area

You can wrap an <if condition> tag around the $header variable in your 'adv_portal' template to hide the header on just that page.

Code:
<if condition="$pages['name'] != 'page_identifier_here'">
$header
</if>
Then of course for the rest you would just add a new CMPS page with only the Custom Page Content module active and add your link/image wherever you would like.
Reply With Quote
  #3  
Old 04-02-2008, 07:32 PM
badseed badseed is offline
Member
 
Join Date: Jan 2008
Posts: 82
Default Re: Print Area

Ok, so it sounds like that eliminates the header from being printed but, how do I write the code to actually print the page itself minus the modules?
Reply With Quote
  #4  
Old 04-03-2008, 12:48 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Print Area

There is no code to write. Just disable the modules on that page.
Reply With Quote
Reply


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
How Do I show the Module Footer such as Reply/View Count/Print FHmania "How Do I..." Questions 7 02-20-2007 12:07 AM
How do I show the print and view option in a module in cmps index page ang2el "How Do I..." Questions 1 02-27-2006 09:52 PM
don't print the title nowrap "How Do I..." Questions 3 02-24-2006 10:18 PM
Print Time in Seconds that Page is Generated and How many PHP Calls were made vic_jay "How Do I..." Questions 1 12-30-2005 07:11 PM
print portal output error vbusers11 Troubleshooting / "How do I..." Questions 3 01-30-2005 10:54 AM


All times are GMT -4. The time now is 01:52 PM.

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.