Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Pea-Jay #1
unlock head tags on child page based on template
Is there a way to unlock the head tags and body tag of a child page that is
based on a template?
I can insert Flash Video on the template page, I can insert FV on a page
created before I make it a template, but as soon as I create a page based from
that template and try to insert FV, it needs to put a script in the head tag
and a body onload. It can't do that because those areas are locked by the
template.
How can this be done? I'm practicing on my own template-based page because I
have to do this for a client and her page is template based.
Here are my pages I'm using for now.
[url]http://www.pjkwebdesigns.com/pages/videos.html[/url]
Hoping this is possible...........to install a FV on a template-based page.
Thanks
PJ
Pea-Jay Guest
-
need help with create page based on template
I created a template on my class computer and i created few pages based on it. Today i moved all the file&folders to my private computer, and when... -
How to treat template tags as comment tags?
Hi all, I am using DW MX to edit templates for a FreeMarker application. The template tag fromat is like so: <ul> <#list birds as bird>... -
Problems inserting layer on to template based page
I'm trying to add a layer onto a page that is based on a template. When I tried to insert the layer, I got the following error message from... -
Using Head Tags
may have something to do with the 5 refresh tags there, the first of which is <meta http-equiv="Refresh"... -
Using ParseChildren attribute to load child tags - VS removes tags
I am building a poll control, nested in the tag I have child tags to setup the poll options. Everything works fine, but when I edit a property in... -
Murray *TMM* #2
Re: unlock head tags on child page based on template
> Is there a way to unlock the head tags
Yes - put them into an editable region in the head of the page (you would
have to add the editable region to the template page (if there is not
already one there)), and allow it to propagate to the child pages.
You would need to investigate the use of editable attributes (DW's F1 help).> and body tag
Which DW are you using? Which DW was used to create the templates?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dkscf1$8ki$1@forums.macromedia.com...> Is there a way to unlock the head tags and body tag of a child page that
> is
> based on a template?
>
> I can insert Flash Video on the template page, I can insert FV on a page
> created before I make it a template, but as soon as I create a page based
> from
> that template and try to insert FV, it needs to put a script in the head
> tag
> and a body onload. It can't do that because those areas are locked by the
> template.
>
> How can this be done? I'm practicing on my own template-based page
> because I
> have to do this for a client and her page is template based.
>
> Here are my pages I'm using for now.
>
> [url]http://www.pjkwebdesigns.com/pages/videos.html[/url]
>
> Hoping this is possible...........to install a FV on a template-based
> page.
>
> Thanks
> PJ
>
Murray *TMM* Guest
-
-
Murray *TMM* #4
Re: unlock head tags on child page based on template
Then do what I suggested....
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dktgrl$66m$1@forums.macromedia.com...> I'm using DW8.
Murray *TMM* Guest
-
Pea-Jay #5
Re: unlock head tags on child page based on template
I made the body editable and updated the child pages, and then tried to insert
the video. Didn't work. Still blocked by the template.
I then tried to make the Head tags editable, but DW says: Which attributes of
the head tag do you want editable? When I click on ADD, it then wants me to
enter a name of the new attribute to insert into the head tag. Problem is, I
just want it to be editable so that on the child page I can go to Modify ->
Templates -> Make Attribute Editable.
So I don't know what I need to put in that head tag. If I put the "script" in
for the Flash Video, then that script will be on every single child page. I
only want it on the one child page, thus the reason to modify the child page
after the template head tags being editable.
So........I don't know where to go from here.
Pea-Jay Guest
-
Pea-Jay #6
Re: unlock head tags on child page based on template
See, I need both the body for body onload, and the head tags editable. Again,
I did make the body editable, but the FV still can not be inserted as it is
still blocked. And now I am at the point trying to make the head tags
editable.
Pea-Jay Guest
-
Pea-Jay #7
Re: unlock head tags on child page based on template
I don't see where I can edit these messages, so I'm adding that I MEANT that on the child page, once those areas are editable, then I would go to modify -> template properties -> ....
Pea-Jay Guest
-
Murray *TMM* #8
Re: unlock head tags on child page based on template
You are confusing editable regions with editable attributes.
You would ADD an editable region to the head (the way a properly created
template in DMX/DMX2004/DW8 already does), e.g.,
<head>
....
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
....
</head>
Then you will be able to place any head content you want into that editable
region on any child page. In addition, DW will use that editable region for
javascript to support its behaviors.
Since the <body> tag cannot be placed in an editable region, DMX introduced
the editable attribute feature. This allows you to specify any attribute of
any tag on the page as editable, e.g., onLoad, or width, or whatever.
That's what you would use for the body tag.
To use the editable region in the head of the child page, you would just
paste your head content directly in. To use the editable attribute in the
body tag of the child page, you would need to select MODIFY | Template
Properties, and edit through that user interface.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dkue09$f19$1@forums.macromedia.com...> See, I need both the body for body onload, and the head tags editable.
> Again,
> I did make the body editable, but the FV still can not be inserted as it
> is
> still blocked. And now I am at the point trying to make the head tags
> editable.
>
Murray *TMM* Guest
-
Pea-Jay #9
Re: unlock head tags on child page based on template
u would ADD an editable region to the head (the way a properly created
template in DMX/DMX2004/DW8 already does), e.g.,
You say "properly created".
Q. Okay, so what did I do incorrectly that makes this template NOT properly
created?? I need to know for the next time I do it. I've never had a problem
with my templates, and the only reason I discovered 'this problem" is because
the FV would not install in the editable content region.
Q. If I create an editable region in the content, does DW automatically
create one in the head knowing it's a template? I've never had to create that
separately, but then I've never put a FV on a template-based page either.
Pea-Jay Guest
-
Murray *TMM* #10
Re: unlock head tags on child page based on template
> Q. Okay, so what did I do incorrectly that makes this template NOT
Try two things -> properly
> created??
1. Create a page with FILE | New > Basic HTML, then insert an editable
region and save it with FILE | Save As..., and name it test1.dwt, saved in
the Templates folder.
2. Create a new page with FILE | New > Basic HTML, then insert an editable
region and save it with FILE | Save as template, with the name test2.dwt.
Look at the code on the pages.
Although you have used legal operations in both processes, the first one is
not the right way to create a template, and results in a template page
without an editable region around the <title>, as well as without an
editable region in the head of the page.
Method 2 is the proper way to create a template.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dl06sc$7c6$1@forums.macromedia.com...>u would ADD an editable region to the head (the way a properly created
> template in DMX/DMX2004/DW8 already does), e.g.,
> You say "properly created".
>
> Q. Okay, so what did I do incorrectly that makes this template NOT
> properly
> created?? I need to know for the next time I do it. I've never had a
> problem
> with my templates, and the only reason I discovered 'this problem" is
> because
> the FV would not install in the editable content region.
>
> Q. If I create an editable region in the content, does DW automatically
> create one in the head knowing it's a template? I've never had to create
> that
> separately, but then I've never put a FV on a template-based page either.
>
>
Murray *TMM* Guest
-
Pea-Jay #11
Re: unlock head tags on child page based on template
2. Create a new page with FILE | New > Basic HTML, then insert an editable
....save as template
I've always known to "save as template" but maybe for some reason on this one
I didn't. So I'll do a test one like you suggested and see if it does what
it's supposed to do.
Thank you for giving me that information because again when making templates I
always save as templates and thus would not have thought I did any differently
on this one.......thus I'd never have found the error.
Thank you.
Pea-Jay Guest
-
Pea-Jay #12
Re: unlock head tags on child page based on template
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
I took an existing index page, detached it from the old template, then I
created an editable content area and resaved as a template and let DW update
the old template and the old pages.
So why does DW put the editable head tags open and closed right above the
closing head tag? Should the opening editable tag be above the opening head
tag and the closing editable tag be below the closing head tag???
Pea-Jay Guest
-
Pea-Jay #13
Re: unlock head tags on child page based on template
And using your examples, making a test1 and test2, the test2 saved as template
has the same thing: < !-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
< /head>
just above the closing head tags.
My template has the editable region around the title and right above the
closing head tags. And I've made the body tag editable.
Still can't apply a FV within the editable content area on the video page
because it tells me it's locked by the template.
Pea-Jay Guest
-
Murray *TMM* #14
Re: unlock head tags on child page based on template
> So why does DW put the editable head tags open and closed right above the
No. Don't be confused by the name of the editable region. It's not> closing head tag? Should the opening editable tag be above the opening
> head
> tag and the closing editable tag be below the closing head tag???
intended to make the entire head region editable - rather it just gives you
an editable region in the head that both you and DW can use for page
specific markup.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dl0dfk$gpk$1@forums.macromedia.com...> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
> </head>
>
> I took an existing index page, detached it from the old template, then I
> created an editable content area and resaved as a template and let DW
> update
> the old template and the old pages.
>
> So why does DW put the editable head tags open and closed right above the
> closing head tag? Should the opening editable tag be above the opening
> head
> tag and the closing editable tag be below the closing head tag???
>
Murray *TMM* Guest
-
Murray *TMM* #15
Re: unlock head tags on child page based on template
> And using your examples, making a test1 and test2, the test2 saved as
It can't be. My method one produces pages without those editable regions.> template
> has the same thing: < !-- TemplateBeginEditable name="head" --><!--
> TemplateEndEditable -->
> < /head>
> just above the closing head tags.
By using editable attributes, right?> And I've made the body tag editable.
Does this method involve writing something into the body tag? If so, what?> Still can't apply a FV within the editable content area on the video page
> because it tells me it's locked by the template.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dl0dq9$h65$1@forums.macromedia.com...> And using your examples, making a test1 and test2, the test2 saved as
> template
> has the same thing: < !-- TemplateBeginEditable name="head" --><!--
> TemplateEndEditable -->
> < /head>
> just above the closing head tags.
>
> My template has the editable region around the title and right above the
> closing head tags. And I've made the body tag editable.
>
> Still can't apply a FV within the editable content area on the video page
> because it tells me it's locked by the template.
>
Murray *TMM* Guest
-
Pea-Jay #16
Re: unlock head tags on child page based on template
> And I've made the body tag editable.
Yes.
But now I need to start over because it turned into such a nightmare that DW
even crashed. I did this as I got instructions, a little at a time, and each
time I couldn't figure out where I left off.
So now I've detached the template from the index page, saved that page as a
template, let it overwrite the existing template and let it update the pages,
except now when I try to do that DW opens the inconsistent region names box and
wants me to say where I want the onload template property to go and where I
want the content area to go. And I only have NOWHERE and not resolved as the
option for the onload, and the option for the content I gave it region 1.
So I think this is turning into a nightmare and I just better figure out how
to redo the template so I can update the entire site. Fortunately, it's not a
big one.
But when I do something in bits and pieces, and don't know what I'm doing, and
then try to fix what needs to be fixed, if it doesn't go right then I don't
know how to get out of the mess. So I'm better off to start over again. All
this because I was just TRYING to put a video on a page that is template based.
And I don't even want a video on MY PAGE. I just know I'm going to have to do
this on two different client's pages and I wanted to practice on MY SITE so I
wouldn't screw up their site. Good thing I did!! LOL
Pea-Jay Guest
-
Pea-Jay #17
Re: unlock head tags on child page based on template
Here is a clean test page of the code that will need to go in the head tags and
the body tags in order for a FV to work on the page.
I haven't uploaded the actual video but you can see the code on the page.
[url]http://www.pjkwebdesigns.com/test.htm[/url]
Pea-Jay Guest
-
Murray *TMM* #18
Re: unlock head tags on child page based on template
What is this FV going to do for you?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Pea-Jay" <pjkinann@aol.com> wrote in message
news:dl0hd1$m27$1@forums.macromedia.com...> Here is a clean test page of the code that will need to go in the head
> tags and
> the body tags in order for a FV to work on the page.
>
> I haven't uploaded the actual video but you can see the code on the page.
> [url]http://www.pjkwebdesigns.com/test.htm[/url]
>
Murray *TMM* Guest
-
Pea-Jay #19
Re: unlock head tags on child page based on template
What is this FV going to do for you?
Puts a video on the page. I have two clients that use video. But I've never
put it on a TEMPLATE-BASED page, so I was using my site to learn how to do
that. Her site is 98 pages - did NOT want to mess that one up. And her other
site only has a home page at the moment which I put a video on for her, but
again, it's not template based.
Pea-Jay Guest
-
Pea-Jay #20
Re: unlock head tags on child page based on template
[url]http://www.theanimalscommunicator.com[/url]
FV on this page, but I haven't done anymore work on her site yet as I'm doing
another one - she's next in the queue. :D She wanted this video on the page
while she is waiting for the site to go up. So you can see this is not
template based yet.
That seems to be the problem I'm having - putting a video on a template-based
page.
Pea-Jay Guest



Reply With Quote

