New Drupal company site on air
Tuesday, November 13th, 2007
Last weeks I was working on a new Drupal driven company site. This time I wanted to create my theme from scratch (calles “ANewCompany”) and wanted to use heavy taxonomy for cross linking.
The site is on air now and promises professional web2.0 programming (German).
On the site I use following modules:
Blog, Book, Forum, Poll - for content creation
Comment, Contact - for visitor interaction
Drupal - for site registry
Locale - for string translation and adjustment
Menu, Path - for site navigation
Taxonomy - for cross linking and navigation
Search - for site wide full text search
Statistics - for access statistics
Akismet - for spam protection
Comment mail - for admin notifications
Service links - for social network linking
TinyMCE - as wysiwyg editor
Views - for some data mining and block representation
Fivestar, Voting API - for content voting
I developed a new page.tpl.php template where I’ve foreseen the regions as follows
function ANewCompany_regions() {
return array(
'header' => t ('header'),
'content_top' => t('content top'),
'content' => t('content'),
'sidebar_left' => t('sidebar left'),
'sidebar_right' => t('sidebar right'),
'content_bottom' => t('content bottom'),
'footer' => t('footer'),
'super_footer' => t('super footer')
);
}
For the sidebars I use a table-less floating CSS layer concept for reasons i.e. stated here.
In my template.php file I overwrite theme_links for primary_links (to achieve rounded tabs as primary navigation) and the book navigation theme_book_navigation($node) to make it more nice. Special theming for blog and book content is done by node-blog.tpl.php and node-book.tpl.php files.
Next days I will working on a generalization of the theme to contribute it to the drupal theme repository.
My current favorite is a mini espresso (Italian coffee) machine. It comes with a typical can and a build in electro oven. It’s about 15 cm x 15 cm with 25 cm height and has everything to breed the Italian kind of coffee.
