<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Autarchy of the Private Cave &#187; start</title> <atom:link href="https://bogdan.org.ua/tags/start/feed" rel="self" type="application/rss+xml" /><link>https://bogdan.org.ua</link> <description>Tiny bits of bioinformatics, [web-]programming etc</description> <lastBuildDate>Wed, 28 Dec 2022 16:09:04 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>https://wordpress.org/?v=3.8.27</generator> <item><title>Drupal theme development: where to start</title><link>https://bogdan.org.ua/2008/06/08/drupal-theme-development-where-to-start.html</link> <comments>https://bogdan.org.ua/2008/06/08/drupal-theme-development-where-to-start.html#comments</comments> <pubDate>Sat, 07 Jun 2008 23:03:49 +0000</pubDate> <dc:creator><![CDATA[Bogdan]]></dc:creator> <category><![CDATA[Drupal]]></category> <category><![CDATA[Links]]></category> <category><![CDATA[Notepad]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[XHTML/CSS]]></category> <category><![CDATA[development]]></category> <category><![CDATA[drupal]]></category> <category><![CDATA[how-to]]></category> <category><![CDATA[start]]></category> <category><![CDATA[theme]]></category> <guid
isPermaLink="false">http://bogdan.org.ua/?p=303</guid> <description><![CDATA[Simplest way to develop your custom Drupal theme is to start with some skeleton/wireframe theme. In this post, I&#8217;m briefly reviewing 4 themes (atck, blueprint, framework, and zen), made specifically to serve as theme developer&#8217;s starting point. All 4 are listed with their features (as per Drupal project page of each one), with my personal [&#8230;]]]></description> <content:encoded><![CDATA[<p>Simplest way to develop your custom Drupal theme is to start with some skeleton/wireframe theme.</p><p>In this post, I&#8217;m briefly reviewing 4 themes (atck, blueprint, framework, and zen), made specifically to serve as theme developer&#8217;s starting point. All 4 are listed with their features (as per Drupal project page of each one), with my personal &#8220;impressions&#8221; (not based on actual use experience, yet). There&#8217;s also my choice and order of preference for the 4 candidates at the end.<br
/> <span
id="more-303"></span><br
/> <a
href="http://drupal.org/project/atck" class="broken_link" rel="nofollow">Advanced Theme Construction Kit (ATCK)</a> (see also <a
href="http://atck.highervisibilitywebsites.com/" class="broken_link" rel="nofollow">atck homepage</a> and <a
href="http://atck.highervisibilitywebsites.com/builder/" class="broken_link" rel="nofollow">atck on-line layout builder tool</a>)</p><blockquote><p> 1. WYSIWYG grid builder<br
/> A browser-based grid builder which produces starter code for a page.tpl.php file. The grid builder itself was originally built by Christos Constandinou and it uses a modified version of Yahoo Grids which is more flexible and easier to customize. With Christos&#8217; permission (thanks, Christos!) it, and the supporting css, has been customized so that it works for Drupal themes and so that it is css3 valid. Access the builder online (FF only!), or download it and run it locally. [builder cannot be on Drupal.org because of MIT license]</p><p> 2. style.css [separate download because of BSD license]<br
/> style.css contains only the css needed to support what the grid-builder outputs, as well as some general &#8216;resets&#8217;. The only modifications one should need to make here would be if they want to make their layout a fixed width and/or a different width (default widths are in %).</p><p> 3. page-layout.css and template.php<br
/> These files are where the visual styling of the site happens. The source of these files is from a combination of code from the Hunchbaque theme and some changes/additions which I added in order to provide baseline settings I prefer and/or provide more granular settings. The beauty of these files is the simplicity of them &#8211; they include as little markup/styling as possible to avoid complexity, while at the same time putting many helpful tools/comments at your finger tips so that you can accomplish what you want.</p><p> 4. page.tpl.php<br
/> A sample page.tpl.file is included as a reference for finishing your own page.tpl.php file using code output from the grid builder. Note particularly the variable names for the blocks, regions, menus, etc. (at this point the builder does not include those items)</p><p> 5. fix-ie-6.css and fix-ie-7.css<br
/> These files are included for purposes of providing IE-only css to each of the respective versions. By using conditional comments like this we keep the main css files hack-free and atck css3 valid.</p></blockquote><p><strong>Impression:</strong> atck is very easy to make initial block layout from scratch (thanks to builder), it has separate fix-CSSs for IE6 and IE7, is very flexible even in complicated grids, and is code-documented.</p><p><a
href="http://drupal.org/project/blueprint" class="broken_link" rel="nofollow">Blueprint: theme for developers</a> (also required: <a
href="http://code.google.com/p/blueprintcss/">Blueprint CSS Framework</a>)</p><blockquote><p> * normalizes Drupalâ€™s CSS to be consistent<br
/> * properly aggregates all blueprint CSS files into a single file when this setting is enabled<br
/> * put scripts at bottom of page for nice performance gains, read more: http://developer.yahoo.com/performance/rules.html#js_bottom<br
/> * flexible layout, from 1 to 3 columns, based on where you configure your blocks to show (left, centre, right)<br
/> * SEO optimization without the need for heavy modules and additional queries per page<br
/> o automatically adds META description to many pages, read more: http://googlewebmastercentral.blogspot.com/2007/09/improve-snippets-with&#8230;<br
/> o automatically adds META keywords if taxonomy exists on that node, read more: http://searchengineland.com/070905-194221.php<br
/> * better forum icons, http://drupal.org/node/102743#comment-664157<br
/> * improve forum display and performance, http://www.sysarchitects.com/node/70<br
/> * prevents duplicate form submissions with jQuery, read more<br
/> * shows the # of comments below a node since Drupal doesnâ€™t do this by default (usability)<br
/> * highlight any comments by the author of the node<br
/> * adds a â€œyou need to login / registerâ€ box below all comments if you canâ€™t add a comment (usability)<br
/> * supports conditional comment subjects, if the setting is off it wonâ€™t show a chopped off title of the comment<br
/> * uses CSSEdit http://macrabbit.com/cssedit/ comments for grouping of styles<br
/> * lots of comments and theming tricks in template.php to learn from <img
src="https://bogdan.org.ua/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p></blockquote><p><strong>Impression:</strong> blueprint has some not-really-theme-design-related features; blueprint is a whole framework with docs; it has single ie.css for fixes; it requires framework knowledge; blueprint&#8217;s css modifications aren&#8217;t easy (em-to-px and px-to-em conversions).</p><p><a
href="http://drupal.org/project/framework" class="broken_link" rel="nofollow">Framework theme: blank canvas for theme developers</a></p><blockquote><p># Framework gives general placement and formatting to basic Drupal elements<br
/> # Fixed width of 960px by default. Main column resizes between two-column and three-column layouts<br
/> # CSS file is highly organized, including a table of contents, colour codes, section flags, alphabetical properties, etc.<br
/> # Includes a list of CSS utility classes for easy content formatting<br
/> # W3C valid CSS 2.1 / XHTML 1.0 Strict<br
/> # Verified and tested with Firefox 3, Firefox 2, IE7, IE6, Safari 3<br
/> # Search in sidebar (as a block) and header (as a theme configuration option)<br
/> # Clean and simplified code and file structure<br
/> # Works nicely in mobile browsers<br
/> # The administration section is adapted from the default Garland theme</p></blockquote><p><strong>Impression:</strong> good and simple starting point; code-documented; has ie.css and ie-6.css fix files; far lighter and easier than blueprint, but less capable than atck.</p><p><a
href="http://drupal.org/project/zen" class="broken_link" rel="nofollow">Zen: starting theme for Drupal</a> (plus <a
href="http://drupal.org/node/193318" class="broken_link" rel="nofollow">online docs</a>)</p><blockquote><p> * Well documented php and css files.<br
/> * Lots of easy-to-access classes and ids for CSS developers.<br
/> * Classes on body include items like &#8220;logged-in&#8221;, &#8220;not-logged-in&#8221;, &#8220;front&#8221;, &#8220;not-front&#8221;, as well as the node type (&#8220;node-type-story&#8221;, &#8220;node-type-blog&#8221;, etc) for single node pages. This can allow CSS developers to do things like have a different colour for a given page item for non-logged-in users, have a larger header section on the front page, or put a different background colour on a given node type.<br
/> * Automatic (table-less) column resizing for 1, 2, and 3-column layouts.<br
/> * Separate layout.css file to allow for changing the type of column layout (holy grail, jello mold, etc).<br
/> * A print.css file optimizes print display automatically when sent to a printer â€” removes, sidebars and nav elements, optimizes font size, adds text to links showing href, etc.</p></blockquote><p><strong>Impression:</strong> code-documented <em>plus</em> extensive <a
href="http://drupal.org/node/193318" class="broken_link" rel="nofollow">online documentation</a>; has print.css; has sub-theming guidelines to simplify future support and enhancements of customized sub-themes (has a STARTERKIT sub-theme ready for customizations); also has &#8220;happy user testimonials&#8221; :). For one of the new Drupal-based projects I decided to try this one. Next in line are (in order of preference): atck for complex layouts *or* framework for simple sites, and blueprint isn&#8217;t quite to my liking (so far at least).</p><p><a
class="a2a_button_citeulike" href="https://www.addtoany.com/add_to/citeulike?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F08%2Fdrupal-theme-development-where-to-start.html&amp;linkname=Drupal%20theme%20development%3A%20where%20to%20start" title="CiteULike" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F08%2Fdrupal-theme-development-where-to-start.html&amp;linkname=Drupal%20theme%20development%3A%20where%20to%20start" title="Pocket" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_kindle_it" href="https://www.addtoany.com/add_to/kindle_it?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F08%2Fdrupal-theme-development-where-to-start.html&amp;linkname=Drupal%20theme%20development%3A%20where%20to%20start" title="Kindle It" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_evernote" href="https://www.addtoany.com/add_to/evernote?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F08%2Fdrupal-theme-development-where-to-start.html&amp;linkname=Drupal%20theme%20development%3A%20where%20to%20start" title="Evernote" rel="nofollow noopener" target="_blank"></a><a
class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F08%2Fdrupal-theme-development-where-to-start.html&amp;linkname=Drupal%20theme%20development%3A%20where%20to%20start" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a
class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fbogdan.org.ua%2F2008%2F06%2F08%2Fdrupal-theme-development-where-to-start.html&#038;title=Drupal%20theme%20development%3A%20where%20to%20start" data-a2a-url="https://bogdan.org.ua/2008/06/08/drupal-theme-development-where-to-start.html" data-a2a-title="Drupal theme development: where to start"><img
src="https://static.addtoany.com/buttons/share_save_120_16.png" alt="Share"></a></p>]]></content:encoded> <wfw:commentRss>https://bogdan.org.ua/2008/06/08/drupal-theme-development-where-to-start.html/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> </channel> </rss>