greggles

Topics

programming

php drupal scheme scheming macros design patterns da la

design

design css

random thoughts

scribbles

alter ego

other me 'em that link us my space me linked in

Collections

Programmable web
PHP design patterns

drupal theming with forms api ideas

Submitted by vlado on Mon, 2005-12-19 15:18.css | drupal | ideas

This is just a sketch, primarily for personal use, but anyone is welcome.

Combining modular drupal.css with forms api can potentially revolutionise theme packs with drupal.

Just consider this. If you have colour, framing, typography and icons split into different stylesheets, all you need to do to instruct the theme to use an alternative is to use a different color.css for example. This will introduce a different colour scheme, preserving everything else. $element['head']['style'][]='colour-1.css' kind of thing.

And this is just the tip of the iceberg. What can prevent you from rendering the content into a non-html format using the themes only - RSS 1.0, RDF, OWL, RSS 2.0, Atom - essentially all of them share a lot with a node listing, only the syntax and the feature subset differ.

read more | vlado's blog | add new comment

Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <br /> <br> <div> <a> <em> <strong> <cite> <pre> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3> <img> <blockquote> <q> <strike> <small> <h4> <h5> <h6>
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • Lines and paragraphs break automatically.
More information about formatting options
Home ยป drupal theming with forms api ideas

dikini.net

spreading confusion by accident since 1970