I am working on a theme for my website. Working on the template (page.tpl.php) is quite clear. But then there are parts which are not included in there. For example I can not figure out how to format the sidebar left for example.
There are included a search box, the latest articles, etc.
Can you give me a hint? I would like to be able to influence those parts of the website, too.
(I'm posting this for someone else who asked for it in another discussion..)
I'm a good bit away from finishing it..and will have to move on to something else now..so here it is as if you want to play around with it:
Notes: I was using this in a flexiMAX.module test page where $bodytext = theflexiMAX field for the main body text.....but have modified it so it works with some dummy text and without flexiMAX...easier for you to play around with.
hope that makes sense and is of use. The same principle could be applied to a lengthy blog or other..
<?php
/**
* This php snippet splits $body into multiple columns.
* to specify how many columns you want change the
* $columns value.
*
*
* Dublin Drupaller
* please email me any nifty updates.
* http://drupal.org/user/8625/contact
*
* */
print "
"; // start the table adjust cellpadding to suit
// Dummy text to play around with the Snippet
As a follow on from a discussion that started pretty much on Jeff Eatons Blog and his musings On the complexity of Drupal theming here is an idea I have been thinking about for a while that might be of value to Drupal.org. Feedback, flames and ideas welcome.
The Theory
In a nutshell, Jeff has identified the complexity of Drupal theming and the fact that most Drupal themes on other sites are 100% site-specific as a reason why there are so few contributed themes on Drupal.org. Good point. But, I tend to disagree...the same could be said for modules, but, judging by the amount of modules contributed..it doesn't seem to be the case.
Modules start life as a 100% site-specific "template" of functionality and contributing a module is 1000 X times more difficult than contributing a theme.
Similarly, some would argue that Drupal (php) snippets start life as 100% site-specific entities, yet since I started the Sliced Bread PHP Snippets handbook section....it has exploded.
I'm very new to Drupal and would like to navigate my vocabularies in a way similar to how Yahoo organises its directory.
For example, in http://dir.yahoo.com/Computers_and_Internet/, Computers_and_Internet would be a term and the "additional categories"; "Communications and Networking", "Computer Generated Art"... would be the terms under "Computers_and_Internet".
Is there anything that can do this? I've tried the taxonomy_menu module but that doesn't quite do what I'm after.