Hey, that's a good trick, Ralf! Alternately, though it's not exactly what you were asking for, if you're doing good separation of semantics and presentation with XHTML and CSS, you can make a print-only stylesheet that will automatically get substituted when you go to print a site. If you print out one of our managed pages (e.g. http://gato.its.txstate.edu/support/release-notes.html) you'll see all the sidebar and header stuff stripped away, leaving only the content.
Sean On 6/29/07 6:21 AM, "Ralf Hirning" <[email protected]> wrote: > Robin, > > Add a selector to the URL to specify a print version of a page like > /home.print.html and handle the different markup in the template. > > You get the selector (everything between handle and suffix) with > Resource.getSelector(request). > > Ralf > > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 29. Juni 2007 13:03 > An: [email protected] > Betreff: [magnolia-user] Reloading Templates at runtime > > Hello, > > after using magnolia a while some needs have been > generated. so my question is: > is there a possibility to reload the template of a > webpage dynamically. > e.g. for a print version: reload a template without > the navigation or any other overhead. > i didn't found anything related to this theme. > it would be nice to get some hints or links. > > thanks in advance > > Robin > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
