Results 1 to 4 of 4

Thread: Print Area

  1. #1

    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?

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    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.

  3. #3

    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?

  4. #4
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Print Area

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How Do I show the Module Footer such as Reply/View Count/Print
    By FHmania in forum "How Do I..." Questions
    Replies: 7
    Last Post: 02-20-2007, 01:07 AM
  2. Replies: 1
    Last Post: 02-27-2006, 10:52 PM
  3. don't print the title
    By nowrap in forum "How Do I..." Questions
    Replies: 3
    Last Post: 02-24-2006, 11:18 PM
  4. Replies: 1
    Last Post: 12-30-2005, 08:11 PM
  5. print portal output error
    By vbusers11 in forum Troubleshooting / "How do I..." Questions
    Replies: 3
    Last Post: 01-30-2005, 11:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •