Skip to main content
September 5, 2007
Question

ADT Logout behaviour and templates problems

  • September 5, 2007
  • 1 reply
  • 448 views
Hello,

Created a master template from which other subject templates are derived - applied Developer toolbox logout behaviour to the master. Works fine. Also works fine on subject templates. Stops working as on pages to which subject templates are applied. Previews as blank page in Safari. Noticed that on subject template pages and exclamation mark appeare next to the logout transaction in the server behaviours panel. Disappears when opened and OK'd again but page stil previews blank.
Can't get my head round this any solutions apprectiated. I really don't want to apply the logout behaviour to *every* page.

TIA

Ian

This topic has been closed for replies.

1 reply

Inspiring
September 5, 2007


"planethead" <webforumsuser@macromedia.com> wrote in message
news:fbmmri$r1s$1@forums.macromedia.com...
> Hello,
>
> Created a master template from which other subject templates are derived -
> applied Developer toolbox logout behaviour to the master. Works fine. Also
> works fine on subject templates. Stops working as on pages to which
> subject
> templates are applied. Previews as blank page in Safari. Noticed that on
> subject template pages and exclamation mark appeare next to the logout
> transaction in the server behaviours panel. Disappears when opened and
> OK'd
> again but page stil previews blank.
> Can't get my head round this any solutions apprectiated. I really don't
> want
> to apply the logout behaviour to *every* page.
>
> TIA
>
> Ian

Dynamic Code in a template outside the html tag will not propagate by
default, you can either set code outside HTML to be locked, but that will
probably overwrite the server-scripts already attached to the child pages.
Server scripts in templates and template-based documents
http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WScbb6b82af5544594822510a94ae8d65-7ac8.html

Use the Restrict access to folder to apply the restrict access behavior to
multiple pages, or move the restrict access code in the template into a
locked region.

Joris

September 6, 2007
Thanks Joris

I've been round the houses with this and finally gone back to using the standard logout behaviour included in DW9 and can now use it on any pages created from child templates. I'm guessing that the problem/solution lies somewhere in the transaction engine side of DWTB.
Anyone know of a solid tutorial for using the DW toolbox logout behaviour with parent/child templates

TIA

Ian