I've tried to put a DTML standard header into index_html but it doesn't access it. Have I done something wrong? -- John
Likely but provide some code otherwise you can't expect help. -aj --On Sonntag, 8. Februar 2004 1:04 Uhr +0000 John Poltorak <jp@warpix.org> wrote:
I've tried to put a DTML standard header into index_html but it doesn't access it.
Have I done something wrong?
John Poltorak wrote:
I've tried to put a DTML standard header into index_html but it doesn't access it.
What type of object is index_html? -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM Skype: colliberty
as a default, it's a dtml method. ----- Original Message ----- From: "Johan Carlsson" <johanc@easypublisher.com> To: <zope@zope.org> Sent: Sunday, February 08, 2004 1:11 PM Subject: Re: [Zope] DTML in index_html
John Poltorak wrote:
I've tried to put a DTML standard header into index_html but it doesn't access it.
What type of object is index_html?
-- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM Skype: colliberty
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Ok, You have a dtml method called index_html that references a standard header. Presumably you have your own version of the standard header modelled on the default standard header but placed so that it will be acquired rather than the system provided default. (I generally put mine at the root and override them if needed.) To track down your problem, we need to know your folder layout and how you can tell whether you have invoked the "right" standard header. You may want to check the syntax of dtml code that calls the standard header in your index_html as a typo can easily cause a fragment of dtml to be silently ignored. On Sun, 8 Feb 2004, Bobb wrote:
as a default, it's a dtml method.
John Poltorak wrote:
I've tried to put a DTML standard header into index_html but it doesn't access it.
What type of object is index_html?
On Sun, Feb 08, 2004 at 07:11:47PM +0100, Johan Carlsson wrote:
John Poltorak wrote:
I've tried to put a DTML standard header into index_html but it doesn't access it.
What type of object is index_html?
How do I tell? It's the object which gets created automatically when I created a new folder.
-- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM Skype: colliberty
-- John
John Poltorak wrote at 2004-2-8 19:20 +0000:
On Sun, Feb 08, 2004 at 07:11:47PM +0100, Johan Carlsson wrote:
John Poltorak wrote:
I've tried to put a DTML standard header into index_html but it doesn't access it.
What type of object is index_html?
How do I tell?
In the management screen, most objects have an associated icon. It tells you about the object's type. When you click on the object, the resulting management page tells you: "XXX at URL". The "XXX" is the object's type.
It's the object which gets created automatically when I created a new folder.
Modern Zope versions create a PageTemplate (aka ZPT). PageTemplates do not understand DTML. -- Dieter
John Poltorak wrote at 2004-2-8 01:04 +0000:
I've tried to put a DTML standard header into index_html but it doesn't access it.
Have I done something wrong?
What type of object is your "index_html"? It would need to be a DTML object (i.e. DTML Method or DTML Document) in order to do anything with a "DTML standard header" (whatever this may be). Note: it is wise to build your site with ZPT (rather than DTML). It is more orthogonal and therefore easier than DTML. -- Dieter
participants (6)
-
Andreas Jung -
Bobb -
Dennis Allison -
Dieter Maurer -
Johan Carlsson -
John Poltorak