HighDots Forums  

How to lock editable region in child template?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How to lock editable region in child template? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ralph de Groot
 
Posts: n/a

Default How to lock editable region in child template? - 01-21-2005 , 01:46 AM






Hi all,

I have a template , templateParent with 2 editable regions; say region1 and
region2.
I make a nested template, templateChild and I want the pages that will be
made from this template to be able ONLY region1.
How doe I edit region2 in the templateChild and then lock it so the pages
made from it cannot edit region2

(Actualy I will be making several templateChild)

It sounds terribly ssimple, but I cant ffigure it oout. The help files
babble about using @@):@@ but I can get that to work.

Any ideas?

Tnx
Ralph


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How to lock editable region in child template? - 01-21-2005 , 05:30 AM






Making nested templates is usually not something I recommend - your
troubleshooting tasks escalate considerably. Why are you using them?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Ralph de Groot" <ralph (AT) lefthandmedia (DOT) com> wrote

Quote:
Hi all,

I have a template , templateParent with 2 editable regions; say region1
and
region2.
I make a nested template, templateChild and I want the pages that will be
made from this template to be able ONLY region1.
How doe I edit region2 in the templateChild and then lock it so the pages
made from it cannot edit region2

(Actualy I will be making several templateChild)

It sounds terribly ssimple, but I cant ffigure it oout. The help files
babble about using @@):@@ but I can get that to work.

Any ideas?

Tnx
Ralph




Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How to lock editable region in child template? - 01-21-2005 , 05:38 AM



Oops - sent too soon.

The help files are just wrong in this regard.

In the 2nd generation template, change this -

<!-- TemplateBeginEditable name="region2" -->blah blah<!--
TemplateEndEditable -->

to this -

<!-- TemplateBeginEditable name="region2" -->@@( )@@blah blah<!--
TemplateEndEditable -->

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Ralph de Groot" <ralph (AT) lefthandmedia (DOT) com> wrote

Quote:
Hi all,

I have a template , templateParent with 2 editable regions; say region1
and
region2.
I make a nested template, templateChild and I want the pages that will be
made from this template to be able ONLY region1.
How doe I edit region2 in the templateChild and then lock it so the pages
made from it cannot edit region2

(Actualy I will be making several templateChild)

It sounds terribly ssimple, but I cant ffigure it oout. The help files
babble about using @@):@@ but I can get that to work.

Any ideas?

Tnx
Ralph




Reply With Quote
  #4  
Old   
Ralph de Groot
 
Posts: n/a

Default Re: How to lock editable region in child template? - 01-21-2005 , 08:39 AM



Thanks,

that did it. i must say it feels like a workaround for something that is
quite standard practice. in my opinion.

thanks yo
Ralph


"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
Oops - sent too soon.

The help files are just wrong in this regard.

In the 2nd generation template, change this -

!-- TemplateBeginEditable name="region2" -->blah blah<!--
TemplateEndEditable --

to this -

!-- TemplateBeginEditable name="region2" -->@@( )@@blah blah<!--
TemplateEndEditable --

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Ralph de Groot" <ralph (AT) lefthandmedia (DOT) com> wrote in message
news:BE1671CC.C07%ralph (AT) lefthandmedia (DOT) com...
Hi all,

I have a template , templateParent with 2 editable regions; say region1
and
region2.
I make a nested template, templateChild and I want the pages that will be
made from this template to be able ONLY region1.
How doe I edit region2 in the templateChild and then lock it so the pages
made from it cannot edit region2

(Actualy I will be making several templateChild)

It sounds terribly ssimple, but I cant ffigure it oout. The help files
babble about using @@):@@ but I can get that to work.

Any ideas?

Tnx
Ralph






Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How to lock editable region in child template? - 01-21-2005 , 09:31 AM



Standard? I don't think so, although your workflow may be different from
mine - I never (well, very rarely) use nested templates. But this way
works.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Ralph de Groot" <ralph@*remove*lefthandmedia.com> wrote

Quote:
Thanks,

that did it. i must say it feels like a workaround for something that is
quite standard practice. in my opinion.

thanks yo
Ralph


"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message
news:csqpjr$ogf$1 (AT) forums (DOT) macromedia.com...
Oops - sent too soon.

The help files are just wrong in this regard.

In the 2nd generation template, change this -

!-- TemplateBeginEditable name="region2" -->blah blah<!--
TemplateEndEditable --

to this -

!-- TemplateBeginEditable name="region2" -->@@( )@@blah blah<!--
TemplateEndEditable --

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Ralph de Groot" <ralph (AT) lefthandmedia (DOT) com> wrote in message
news:BE1671CC.C07%ralph (AT) lefthandmedia (DOT) com...
Hi all,

I have a template , templateParent with 2 editable regions; say region1
and
region2.
I make a nested template, templateChild and I want the pages that will
be
made from this template to be able ONLY region1.
How doe I edit region2 in the templateChild and then lock it so the
pages
made from it cannot edit region2

(Actualy I will be making several templateChild)

It sounds terribly ssimple, but I cant ffigure it oout. The help files
babble about using @@):@@ but I can get that to work.

Any ideas?

Tnx
Ralph








Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.