[GeneralDiscussion] Re: zope/plone article

[email protected] (Niall Douglas) Thu, 05 Mar 2009 06:28:06 -0800
Newsgroups gmane.comp.web.zope.zwiki
Message-ID <49AFE165.25316.46AFDC0__27283.3904870369$1236263391$gmane$org@s_sourceforge.nedprod.com>
On 3 Mar 2009 at 8:51, Simon Michael wrote:

> Well I'm not clear on what you're doing, but I'll make a guess: dtml-var 
> "wikilink(ThePage.read())" ?

Do you mean by this that I replace portal_skins/zwiki/content.pt like 
this:

    <div metal:define-macro="content" class="content">
      <div tal:content="structure python:here.talsafe(
			here.wikilink(pageWithName('Masterinclude').read()+here.read()))">
        content goes here..
      </div>
      <!-- <div tal:replace="structure 
python:here.talsafe(options['body'])">
        main text, subtopics links, comments
      </div> -->
      <a name="bottom"></a>
      <br />
      <div metal:use-macro="here/macros/commentform" />
    </div>

I'll try giving this a go when I next get access to my website for a 
while.

Niall


--
forwarded from http://zwiki.org/GeneralDiscussion#msg49AFE165.25316.46AFDC0@s_sourceforge.nedprod.com