![]() |
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
||||
|
||||
|
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> |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
||||
|
||||
|
There is no code to write. Just disable the modules on that page.
|
![]() |
| 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 |
| 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 |