Latest Challenges
All Questions
How you can display and theme nodes using MathML ( and XML syntax) while meeting accessibility (ADA) requirements of educational institutions.? by Thomas Seeber
How you can display and theme nodes using MathML ( and XML syntax) while meeting accessibility (ADA) requirements of educational institutions.?
How can I become a drupal theming ninja without delving into the PHP node pages? by prophetsearcher
How can I become a drupal theming ninja without delving into the PHP node pages? In other words - what are the strategies for theming with CSS as much as possible? I know that there are themes that help with that - but what are the other tools and modules we can incorporate to shred a theme CSSly?
jQuery by T. Pridemore
What are simple ways a designer can make use of jQuery to jazz up a site?
Theme Packages by dudenhofer
Is there a way to include filler content in themes that you create? Similar to the way Joomla does it, when they layout the pages - they can dedicate what would be certain blocks for Drupal to certain regions and have it come with filler text upon installation.
Using JQuery to Replace graphics for block beautification by Josiah
I've been playing lately with JQuery to replace images for block beautification. My biggest challenge has been when using curvy corners and gradients in a block. Doing the gradient this way is interesting because the gradient is custom to the size of the block. I know of no simple way to accomplish this with graphics. The problem: It seems to require a lot of very specific CSS to get all the different blocks in drupal to look proper. The padding is the biggest issue that I've run into.
Types of node displays by bh
I think it would be useful to cover the best practice for rending different types of node displays. Meaning, often it's useful to have types of node output more diverse than the full node, or the teaser. While Views can be used in many cases, it's not always the answer and sometimes it would be nice to do without adding the overhead.
To clarify, in a typical e-commerce store you might want each product node to have separate template files for:
(*) Full product view
(*) Product category view
(*) Search result view, etcDisplaying title after content by demenece
Hi! i'm trying to change the way nodes teasers are displayed in Term pages, and i need the content (just an image) to be showed before the title. The links should be left at the bottom. I'm using Zen Theme on Drupal5, and i've get this working: http://www.demenece.com.ar/drupal-5.7/taxonomy/term/6
i've tried to change the title-content order touching the code for node.tpl and page.tpl following a solution given here: http://drupal.org/node/321156, but doesn't know how to apply it for term pages instead of nodes.
thanks for your help!
D.Balance of logic in template files vs modules vs template.php by Marc Ray
In the endeavor to master Drupal themeing we are always trying to strike a balance between template.php and creating modules. Compared to other systems drupal is the master of "more than one way to solve a task". It would be great to hear some possible example or your thoughts on the balance of when code should go in a module or in your template.php file. Specifically what may be the performance or security impacts of each.
Peace
MarcDrupal 5 to 6 by David Needham
I'm leading a weekly Drupal workshop and I'll soon be leading a lesson covering upgrading from 5 to 6 (including converting a personalized theme). I'll be following the directions at http://drupal.org/node/132442 for my examples, but do you have any additional tips or things to watch out for?
Theming! by theneemies
I've encountered some of the following which might be useful to other themers:
- theming the user profile page (core, not one of the gazillion contributed modules)
- theming views' exposed filters (have started using http://drupal.org/project/views_filterblock, but custom theming is still useful for this)
- theming the login/registration pagesViews - Displaying a taxonomy as a list with a child taxonmy by Chad
Say I had some nodes with a year taxonomy attached to them... 1999, 2000, 2001, etc...
These individual years belong to a parent taxonomy that consists of decades...
I'd like to create a themed view block that displays the children nested as li's inside of it like so:
* 1980's
o 1980
o 1981
o 1982
o 1983
o 1984
o 1985
o 1986
o 1987
o 1988
o 1989* 1990's
o 1990
o 1991
o 1992
o 1993
o 1994
o 1995Knowledge Database by Daniel
Not to be hogging all the question, but I also have one more. For another project, I'd like to create a 'knowledge database' similar to something like this:
http://family-law.lawyers.com/where the enduser navigates his way from general areas of expertise to specific questions. I'm looking for the best way to structure something like that (likely involving views again) but also how to best theme it so its user-friendly.
Business Directory by Daniel
Hi guys. This may be a bit too general of a question, but I am having trouble figuring out how to design a business listings directory similar to phpmydirectory entirely in Drupal. There doesn't seem to be a dedicated module for that. I sort of understand that I need to use View and CCK and some custom theming but not sure how to get it right.
SIFR/ Dynmic Rendering in Node Teaser Titles by Mike
One issue that I was never able to resolve was utilizing the Dynamic Rendering module to effectively create flash text in node teaser titles that maintains the link to the node. I can easily create a rule that replaces the text for the titles, but the text is not clickable as a link to the rest of the node.
How do you create a base theme?
What is the best method of creating a base theme for use within Drupal? Is there one that i should start with?