Edit First line in dreamweaver templates


hello,

when create page dreamweaver template, dreamweaver comment similar 1 below inserted:

<!-- #begintemplate "/templates/test.dwt" -->

each time edit page add php code in first line, removed every template update , source code again starts dreamweaver comment. need add pages php code in first line one:

<? $ob_start; $session_start; ?>

how can without removing code pages each template update. problem can't insert placeholder in first line of dreamweaver template. above first line locked in dreamweaver, can't change manually. there workaround available?

thanks,

philip

> how can without removing code pages each
> template
> update. problem can't insert placeholder in
> first
> line of dreamweaver template. above first line locked in
> dreamweaver, can't change manually. there workaround
> available?

put code above <html> tag.

which dw using? looks dw4 or earlier....

--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when 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
==================


"flip3" <webforumsuser@macromedia.com> wrote in message
news:ec40u0$mr3$1@forums.macromedia.com...
> hello,
>
> when create page dreamweaver template, dreamweaver comment
> similar 1 below inserted:
>
> <!-- #begintemplate "/templates/test.dwt" -->
>
> each time edit page add php code in first line,
> removed
> every template update , source code again starts
> dreamweaver comment. need add pages php code in
> first
> line one:
>
> <? $ob_start; $session_start; ?>
>
> how can without removing code pages each
> template
> update. problem can't insert placeholder in
> first
> line of dreamweaver template. above first line locked in
> dreamweaver, can't change manually. there workaround
> available?
>
> thanks,
>
> philip
>




More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support