[Zope] Accessing sub methods
Troy Farrell
entheos@entheossoft.com
Fri, 18 Jan 2002 13:22:40 -800
Or <dtml-var expr="include.clock"> or <dtml-var "include.clock">. We could go on. Just remember that you are dealing with objects. <dtml-var expr="include.clock"> says get me the clock object that lives in the include object.
Troy
> Perhaps the simplest way is to do this:
>
> <dtml-with include>
> <dtml-var clock>
> </dtml-with>
>
> Good luck,
>
> -Chris
>
> On Friday 18 January 2002 03:13 pm, you wrote:
> > I think I got Zope running stable now. Thanks for the helpful feedback.
> >
> > I am now trying to copy-n-paste data from my existing intranet to create
> a
> > "look-alike" version in zope. We use LOTS of includes in our pages so I
> > have copied the contents of the includes into a folder called /includes
> as
> > DTML Methods. Now, I want to alter the /index.html and pull-in the data
> > from that folder.
> >
> > This does not work:
> > <dtml-var /include/clock>
> >
> > How do I pull-in the DTML Methods from a sub-folder?
> >
> > Thanks
> >
> > Allen May
> > MCSi Web Admin
> > 800.842.1702 x7628
>
> --
> Chris Kratz
> Systems Analyst/Programmer
> VistaShare LLC
> www.vistashare.com