Drupal, YUI, and custom themeing
public
group: Wisconsin
ratioswitch - Fri, 2007-11-09 20:11
I have a site built on PHP and around YUI (Yahoo User Interface). I currently only use YUI to layout my CSS structures (floated column layouts) and would like to implement Drupal 5.3 (PHPTemplate) with these modules: blog, forum, contact, comments, aggregator, menu, path, and search (among others).
Here's my site as it sits right now: http://networkedinsights.com
Some info on my site:
- There are 3 different layouts used: 1-col, 2-col, and 3 col
- Each layout has the same header and footer
- The homepage uses a slightly modified 2-col layout
- The main nav is a ul
- The secondary nav is also a ul and is nested within the primary nav
- Both primary and secondary nav bars are placed in the header (tabs that are floated right)
- The 2-col layout is the most common layout using a 75/25 distribution (the 25'er is my right-column)
- I will convert my current product help pages into Drupal's forum module
- I will also have a "News" section which will "stick" the top 3 News articles to the homepage
- I will also have a "Blog" section which will also "stick" the top 3 Blog entries to the homepage
- All other pages of my site will be static
- I'd like to keep YUI in place as this CSS/xHTML framework does a great job of supporting browser rendering bugs for floated column layouts
My questions are as follows:
- Should I build my new theme on an existing theme like Zen or should I start from scratch?
- How to I set up and present the "Navigation" block for authorized users (viewing 1 and 3 column layouts)?
- I would also like to use my new theme for the admin pages?
- I display several, reusable pieces of content in my right-column ... how should I pull these chunks of HTML into Drupal?
- In my 3-column layout, I don't have a body or a sidebar, how would I build this page-3-col.tpl.php?
- Speaking of page.tpl.php ... should I write one robust page.tpl.php to handle all 3 layouts, or should each layout get it's own page.tpl.php?
I probably forgot to mention something so please let me know if you have any other questions.
Thanks in advance for the help.
_rs
Sitewide tags: YUI Yahoo User Interface css xhtml theme custom


Ical feed
Wisconsin?
I don't get what this has to do with Wisconisin? This seems like a pretty general question. You'd have a wider audience using Drupal.org forums.
Michelle
See my Drupal articles and tutorials or come check out life in the Coulee Region.
RE: Wisconsin?
Michelle,
You're right, for the most part. The main thing is that I'm from Wisconsin and I'm looking for help with Drupal. Should I re-post this on http://drupal.org/forum?
Sorry for the confusion.
_rs
Forum
You'd have a lot wider audience there. Thousands vs the 28 in this group. :)
Where in Wisconsin are you from?
Michelle
See my Drupal articles and tutorials or come check out life in the Coulee Region.
A good group to start
I would probably suggest checking out the Theme Development group too.