• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The links end up resolving to the HTML page.

This is an issue if you want then to be able to print and the HTML page uses features such as images and sidebars that are not supposed to print.

-- MC

I've put in the whiteboard my latest patch but have not committed it because it is incomplete.

This adds detection for template= templatename and rewrites this as a link to a parallel set of generated pages.

The parallel sets of generated pages are controlled by a loop in the block @@ -192,15 +197,24 @@ - viewprint is commented out but is where I have it.

$templatesReferenced is intended to catch the usage of another set of templates and trigger the generation of the set for it.

It seems to work reasonably well.

I was going to hack the printable link directly in my site's templates but shyed away on the grounds that I need to generate test, prod versions and on multiple machines. Better the logic goes in the generation code.

Comments welcome.

-- MC

Committed and closed.

-- MC

Changing this from Waiting for release to closed; only items related to twiki releases should be marked waiting for release.

-- SP

Summary Printable links do not generate properly
ReportedBy TWiki:Main.MartinCleaver

SVN Range Sat, 06 May 2006 build 10108
AppliesTo Extension
Component PublishContrib
Priority Enhancement
CurrentState Closed

Checkins 10242 10354
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r9 - 2006-06-06 - SteffenPoulsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback