[PHP] Dreamweaver templates

2001-08-20 Thread -:-Doigy-:-

Hi Folks,

Can't find an answer in the archives...
Can php parse DW templates?
ie. I want only a small amount of code to be editable with the ?php ? tag.
Dreamweaver places the following code to identify editable regions:
!-- #BeginEditable Name_of_region --
\\ editable code here
!-- #EndEditable --

I don't think PHP will parse the tags and leave them as dw comments only.
They appear to invoke server functions e.g. !-- #include file= --
Is there a way to configure PHP to ignore these tags?

Kind regards

Steve





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Dreamweaver templates

2001-08-20 Thread Darius Ivanauskas

I think you should look at Smarty Template Engine:
http://www.phpinsider.com/php/code/Smarty/
Hope this helps.

Regards
--
Darius Ivanauskas

On Mon, 20 Aug 2001, -:-Doigy-:- wrote:

 Hi Folks,
 
 Can't find an answer in the archives...
 Can php parse DW templates?
 ie. I want only a small amount of code to be editable with the ?php ? tag.
 Dreamweaver places the following code to identify editable regions:
 !-- #BeginEditable Name_of_region --
 \\ editable code here
 !-- #EndEditable --
 
 I don't think PHP will parse the tags and leave them as dw comments only.
 They appear to invoke server functions e.g. !-- #include file= --
 Is there a way to configure PHP to ignore these tags?
 
 Kind regards
 
 Steve
 
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Dreamweaver templates

2001-08-20 Thread Tim

PHP already ignores those SGML comments.  They're just there for the
Dreamweaver editor to know where the editable regions are.

- Tim

On Mon, 2001-08-20 at 08:45, -:-Doigy-:- wrote:
 Hi Folks,
 
 Can't find an answer in the archives...
 Can php parse DW templates?
 ie. I want only a small amount of code to be editable with the ?php ? tag.
 Dreamweaver places the following code to identify editable regions:
 !-- #BeginEditable Name_of_region --
 \\ editable code here
 !-- #EndEditable --
 
 I don't think PHP will parse the tags and leave them as dw comments only.
 They appear to invoke server functions e.g. !-- #include file= --
 Is there a way to configure PHP to ignore these tags?
 
 Kind regards
 
 Steve
 
 
 
 
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]