Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am designing a new theme for my website and am interested in contributing a generic version of it. It involves sytylized blocks with a variety of motifs and color schemes. I want to provide certain options to users of the theme. I currently have in the block.tpl.php file:
$columns = '1'; // 1 = right, 2 = left, 3 = both
$color = 'white'; //white, red, pink, etc.
Then I have logic that looks for these and adds the apprpriate class name in the HTML code. It's not a big deal for a user to open up the one file and change a couple values. Great...
This is a specific question, but hopefully the answer will help me better understand how themes work...
I'm extending push_button...no reason, really, except it's what I started with when loading Drupal and now I'm experimenting....how do I get rid of those button icons (the square with slanted arrow) that appear in every subhead?
I am in the process of evaluating Drupal as a solution for several of our corporate web sites. However, I have not yet had the time or mental power to get my brain around wrapping Drupal with our site template to see how content would be edited. The attempts I have made have resulted in wonky layouts of the admin areas of Drupal.
I'm running drupal 4.74. The comments below refer to the friends electric theme, and its css.
First, I found on my site that Opera (9.10) would display the right hand blocks underneath the other columns. It may well have been something I did that broke this, but for the record you can fix it by changing margin-left of #sidebar-right from -201px to -202px.
I've had a bit of a search on this subject and what I've found seems to be either very out of date or didn't work.
I'm building a site that relies heavily on Views module. I want to be able to override the html the views generate using template.php and custom .tpl.php files on a per View basis.
Has anyone managed this in Drupal 5? If so would you be so kind as to post a step by step to achieving this?