I am attempting to install 'printanypage' and part of the installation instructions are as follow:
Change the code that ends the HEAD section so that it includes the following:
echo '\n";
echo '';
I am using 0ri0n theme, in which the HEAD section (as far as I could find) does not exist.
Any help or direction is greatly appreciated.
Scott
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
PrintanyPage help request
-
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 1193
The problem is that the 0ri0n theme doesn't close the HEAD section that PN starts for the theme. Just put the code directly above where the 0ri0n theme generates the tag.
And I replied to your email as well.... -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Sep 30, 2004
- Posts: 5
Got it...almost...the only problem I am having now, is that after using Printanypage to print, it won't return to the proper theme. For example, the next page I click to within postnuke is still in the pap theme. I need to do a refresh to return to the regular theme.
Any suggestions? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 28
Hi -
I'm trying to implement this in PN 750, PostNuke template. I'm not really a noob, but still having a few problems following the (excellent) manual.
I can get it into the header file fine. The problem is with the printer button graphic.
The button graphic doesn't show, just the code I added -
Also, instead of jumping to the particular article's print-formatted page, it's simply reopening the entire page it's on - menus, banners, everything - in a smaller window, and the print dialog never opens.
I don't have a sample link - I took it off after the errors appeared -
=> I think the answer lies in the .750 header.php file - I tried to place the required code:
Code
// Add capability to over-ride theme once for this user (needed for print-friendly theme)
pnSessionSetup();
$themeOnceLocal = pnSessionGetVar("themeOnce");
if (($themeOnceLocal != '') && (file_exists("themes/$themeOnceLocal"))) {
$thistheme = $themeOnceLocal;
pnSessionSetVar("themeOnce","Ignore");
$themeOnceLocal = "";
pnSessionDelVar("themeOnce"); // Done once, now forget about it
}
// ColdRolledSteel 01-10-03
at the bottom, just above the head () snippet, but I'm not sure if that's correct.
Where in the PostNuke theme should the remaining code go?
- This part confused me:Code
Which template file(s), and where? (I don't want the "Print this page" form button - I only want the mini-printer graphic.)
A step-by-step would be very welcome - but I don't want to push my luck..
Thanks in advance - looks like a truly helpful MOD! -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 349
I tried using the Print Any Page mod, but the problem I had with it is that it slowed down the loading of each page -- not a lot, just a few seconds for each page, but Every page, so it got to be just too much of a drag. Just didn't seem worth the trade-off. Is this others' experience as well? Should I give it another try? -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 11
I'm stumped on installing printanypage for .750.
I don't see where to add the code in the head function. Is this now to be replaced by assigning the themeoverridecategory value? If so, where and to what?
Thanks!!!
- Moderated by:
- Support
