- "Ask the Expert" or Advice Column
- "Must Have" Modules
- A Challenge
- Books Overview
- Changing Garland - A Practical Example
- Comparison of Links and Web Links modules
- Create Simple Tables
- Creating a "Biographies" page
- Developing a Module on a Windows System
- Generic Table Display
- How to page a custom DB query
- List Users From a Single Role in a Block
- My Modules
- SBS Web Site Notes
- Searching for a New Hosting Company
- Taxonomy Tidbits
- Theming a Specific Content Type
A. If You Use Dreamweaver
Submitted on Wed, 10/31/2007 - 00:02.
If you do use DreamweaverAn application set that is designed to produce web sites and edit code. For some uses, it constitutes an IDE, in others it is inadequate for that., for whatever reasons, here are a few tips to help you out:
- The most annoying thing is that DW doesn't know, out of the box, that a "moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP." suffix means it's PHPRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. code, so it won't color it. The solution is described here. I added "moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP.," "install," and "inc" as equivalents to PHPRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML..
- The second really annoying, and coding standards violation, thing is that DW will insert tabs into your code rather than spaces. You can address this issue.

- Go to "Edit » Preferences" and locate the category for "Code format."
- Check the "indent option and specify 2 "spaces."
- Set "Tab size" to 2.
- Save your changes.
- While you're in the Preferences page, select "Code coloring." Look for the "PHPRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML." document type and then click the "Edit Coloring Scheme" button. Review the options. The only thing I changed was the "PHPRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Script Bracket" to a high contrast color (such as dark green or dark blue), but not black. This is because it's something a lot of people get tripped up on. I just wish they would allow different colors for the different kinds of brackets.
- Drupal
Drupal
An open-source content management system that is used on this site and is taking over the world. coding standards call for no PHPRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. ending tag ("?>"), but DreamweaverAn application set that is designed to produce web sites and edit code. For some uses, it constitutes an IDE, in others it is inadequate for that. really demands it, so include it during development but remove it before committing. - DW is not really good at "Apply source formatting" for PHPRecursive acronym for "PHP: Hypertext Preprocessor" - is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. code, so it's up to you.
Frequently (at least before passing it through the Coder module - and you will do that, please), select all (CTRL+A) your code, then right click and choose "Selection;" then choose "Change tabs to spaces."


Recent comments
1 week 5 days ago
6 weeks 3 days ago
6 weeks 4 days ago
7 weeks 2 days ago
7 weeks 3 days ago
8 weeks 4 days ago
8 weeks 5 days ago
9 weeks 1 day ago
9 weeks 3 days ago
9 weeks 3 days ago