Jump to content

Recommended Posts

Imagine I have a template called "A".

All my pages are A-based.

 

Is it possible to have php code on the A template? (.dwt)

I can't find way to have for example the login area always present on my website.

 

Thank you.

If you include that .dwt file into a .php file then the PHP code in the .dwf will be processed. If you go to the .dwt file then the PHP code wont be processed, unless your server is setup to parse .dwt files as PHP.

Link to comment
https://forums.phpfreaks.com/topic/38083-php-dwt/#findComment-183735
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.