Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ServerGrove Blog:
Editing Twig Templates in Dreamweaver
Mar 04, 2011 @ 16:16:28

On the ServerGrove blog today there's a new post showing how you can set up Dreamweaver to be able to edit Twig templates directly, complete with syntax highlighting.

If you are a designer working with Symfony developers you will soon encounter Twig. Twig is a template engine for PHP that has been adopted by Symfony 2, and from a designers perspective, it’s a major improvement over the way things are done in Symfony! For designers who have used templating systems like Smarty before, Twig is going to be a walk in the park, if you have not used a templating system before, Twig is a great place to start.

It's a simple two-step process to get things up and working. You just need to tell Dreamweaver that ".twig" files should be recognized as code and set up the syntax highlighting in the "MMDocumentTypes" XML configuration file (might be a little tricky for non-development types). This change tells the program to open them with HTML syntax highlighting.

tagged: edit tig template dreamweaver syntax highlight html

Link:

Stefan Mischook's Blog:
A Quick Look at Dreamweaver CS4 and the PHP Toolset
Sep 19, 2008 @ 15:29:19

Stefan Mischook has written up an article about the combination of a popular, powerful web development tool - Dreamweaver - and how it works with PHP.

We are going to take a quick look at the changes to Dreamweaver CS4, specifically concentrating on the things related to working with PHP. At the same time, I may weave in a few nerd-concepts here and there, so that we can gently get you used to this stuff.

He starts off looking at the interface Dreamweaver has to offer and then moves on to more advanced topics like workspaces and some of the tools available (like the layout features and how it directly integrates things for PHP like database connections and the inclusion of a "classic" code editor).

tagged: dreamweaver tutorial cs4 toolset workspace

Link:

Leon Kilat's Blog:
How to edit Wordpress themes using Dreamweaver
Jun 09, 2006 @ 11:38:33

In this new article (Part 1) from Leon Kilat on the Cybercafe Experiments, he takes a look at how to use a popular web site development tool, Dreamweaver, to modify WordPress templates.

WordPress, like most PHP-MySQL CMS, use template files to control the appearance of websites. The webpage is assembled from several PHP files controlling specific aspects of the site like the header, sidebar, main content and footer.

To use Dreamweaver to edit or customize WordPress themes, you need to combine these different PHP files into one page so that you can immediately view, while editing the codes, how the page would appear.

He opts to go with a template named Zimpleza for simplicity's sake, and gets right into it. He steps through the process you'll need to prepare the environment, including pulling over the code and HTML from the current template files into Dreamweaver. Then, remove the PHP code and insert dummy content to get a better idea of how it will be laid out.

This is just a start - part two, focusing on creation (versus just modification) of a new WordPress theme.

tagged: edit wordpress theme dreamweaver part1 edit wordpress theme dreamweaver part1

Link:

Leon Kilat's Blog:
How to edit Wordpress themes using Dreamweaver
Jun 09, 2006 @ 11:38:33

In this new article (Part 1) from Leon Kilat on the Cybercafe Experiments, he takes a look at how to use a popular web site development tool, Dreamweaver, to modify WordPress templates.

WordPress, like most PHP-MySQL CMS, use template files to control the appearance of websites. The webpage is assembled from several PHP files controlling specific aspects of the site like the header, sidebar, main content and footer.

To use Dreamweaver to edit or customize WordPress themes, you need to combine these different PHP files into one page so that you can immediately view, while editing the codes, how the page would appear.

He opts to go with a template named Zimpleza for simplicity's sake, and gets right into it. He steps through the process you'll need to prepare the environment, including pulling over the code and HTML from the current template files into Dreamweaver. Then, remove the PHP code and insert dummy content to get a better idea of how it will be laid out.

This is just a start - part two, focusing on creation (versus just modification) of a new WordPress theme.

tagged: edit wordpress theme dreamweaver part1 edit wordpress theme dreamweaver part1

Link:


Trending Topics: