Download Plone 3 Theming

Transcript
Chapter 2
•
Validate CSS/Validate HTML: When you are working with local Plone
instance standard, Validate HTML and Validate CSS will not work, since
the validators are not able to get to your localhost. Deploying to a test server
allows you to validate against your code prior to going live with your web
site, or you can (and should) use the Validate Local CSS and Validate Local
HTML options.
•
Error and Warning Logs: Clicking on the checkmark or X symbols to
the right of the Options drop-down list gives you the ability to go into
compliance mode, which gives you CSS and JavaScript warning logs when
you click on them.
The Web Developer Extension is a powerful tool, worth using for many tasks (such
as disabling stylesheets to check accessibility), and it's not uncommon to use it in
tandem with the next excellent tool, Firebug.
Firebug extension
Firebug is another open source extension for Firefox that can be downloaded from
Mozilla's web site https://addons.mozilla.org/en-US/firefox/addon/1843, or
http://getfirebug.com/. There is a dedicated team of developers that maintains
the extension, and the documentation is plentiful, so this is a tool that themers can
hopefully count on in the future.
Firebug can be used for both Firefox 2 and Firefox 3, but different versions are
required for each, so pay attention to the installation instructions.
It's worth mentioning that there is a bug in Firebug for Firefox 3 that
causes Firebug to crash if you attempt to edit user stylesheets. For this
reason alone, many individuals choose to do their initial debugging
on Firefox 2. It's hoped that this bug gets fixed soon.
Firebug allows you to edit, debug, and monitor CSS, HTML, and JavaScript
live in any web page. It is similar to the Web Developer Toolbar, but the way
in which it surfaces the CSS on a page and allows you to browse the styling of
ancestors is cleaner. For a list of keyboard shortcuts, you can visit this page:
http://getfirebug.com/keyboard.html.
[ 27 ]
Download at Boykma.Com
This material is copyright and is licensed for the sole use by Mauricio Esquenazi on 21st July 2009
10 Kenmare St. #4, , New York, , 10012