Theme development

Events happening in the community are now at Drupal community events on www.drupal.org.

This is a special interest group dedicated to improving and expanding the Drupal theme system including theme functions and templates, CSS, markup, and how contrib modules add in their functions, CSS, and markup.

for example, we'll take stock of the location and number of CSS files and discuss if the architecture can be improved through emerging frameworks like Object Oriented CSS.

We will consider the questions "What do themers need from Core in terms of CSS? Module developers? SEO specialists?" and "What's new in CSS? What does Drupal support? What's the roadmap for CSS support?"

Jeff Burnz's picture

design.drupal.org licences for design files

Drupal Design sub site will allow uploading of design files for sharing with other users. There are three main sections to the site:

  • Challenges - where users contribute and collaborate on design problems for drupal.org, drupal projects, drupal core and so on.
  • Assets - where users can upload and download high quality layered design files such as icons, templates, textures and so on.
  • Discussion - where users can post comps for discussion, collaboration, feedback and so on.
Read more
awm's picture

Adding to one view a variable filter (a result from another view )

Here is what I need to do:
1.Check the Creation DATE of the most recent node (article)
2. Create a view that lists all the nodes such that node.created = Creation DATE.

In other words, I want to be able to pass a variable date to the filtering criteria. I know I could construct it from scratch using 2 db_query calls but I am looking for a more intuitive way that does not require a lot of customization.
I have been trying to use hook_view_query_alter and add_where() but with not much success because I do not want to create a module just to do this.

Read more
Jeff Burnz's picture

Core template conversion methodology - cart before the horse?

The way we have been approaching changes to core templates has, at least afaict, been a piecemeal affair - we change one or two templates at a time working through the various markup issues until such time as we have some broad consensus and ta da, here's our new template.

This bottom-up-esque methodology seems reasonable because we we are not overhauling the entire system at any one time and are just looking to adjust or tweak parts of it.

I think this has worked OK in the past, however I tend to think this methodology has a few drawbacks.

Read more
srebelo's picture

Extra DIV appearing in all my views fields - how can I remove it?

Hi all,

I'm currently trying out the Sky theme based in the 360 grid system (Drupal 7). So when trying to add a custom class to my view fields, I end up with an extra DIV in all of them, breaking the layout. I'm having something like:

<

div class="views-row views-row-2 views-row-even views-row-last">

Some text here

<

div>

<

div class="grid-6">

Some other text here

Read more
HansR75's picture

Forming a team

Hi All,

I'm looking for a few people... 2, maybe 3... To put together a website with Drupal and needed modules to get a groupbuy kinda site going. My idea differs a bit from the original groupbuy approach so for obvious reasons I'm not going to post full details here.

Read more
Jeff Burnz's picture

Design Initiative IRC Meeting

Start: 
2011-07-05 21:00 - 23:00 Europe/Stockholm
Organizers: 
Event type: 
Online meeting (eg. IRC meeting)

We are holding our inaugural Design Initiative IRC meeting on the 5th July - if you want to have input into the initiative then be there :)

The meeting will be held in: #design-drupal (see: http://drupal.org/irc for info about IRC).

Agenda

Times and Timezones

http://www.worldtimebuddy.com/meeting?lid=5128581,2618425,2147714,539195...

Read more

Design Initiative - Workshop results

Results from the Berlin Design Camp Workshops.

Read more
todd nienkerk's picture

Improving Drupal themer experience: #DTX

Drupal 7 was propelled, in part, by two major initiatives: improving user experience and developer experience. UX improvements made Drupal easier to use, better organized, and more elegant. DX improvements resulted in a more granular API that allows developers to hook into Drupal to add, remove, or override functionality and output at virtually any step while rendering a page.

But what about TX: themer experience? While Drupal 7 made huge leaps towards improving TX -- a more granular templating system, the Stark theme, support for hooks in the theme layer, the enormously powerful hook_page_alter() -- we still have a ways to go. Work is well under way to add HTML5 support to D7, while many of us are simultaneously brainstorm ways to eliminate all markup from core.

Read more
Jeff Burnz's picture

Twenty Eleven theme for Wordpress 3.2

Anyone spotted the demo for the Twenty Eleven theme for Wordpress 3.2 - http://twentyelevendemo.wordpress.com

I think its worth us tearing this apart and looking at the ideas they have bought in, I've only played with it briefly and its pretty nice actually. That said my initial impression was not so favorable (omg this is lame), however the more I play around with and uncover its various features the more I like it.

Read more
lewisnyman's picture

Design Initiative: Core Principles

Principles are important. They ensure consistent and fair decision making and they set objectives for us all to work towards. Most of all, they keep us honest.

We've been looking at establishing a set of principles that encapsulate our intentions in this initiative and give designers a strong story of Drupal. It would be great to get some feedback on the principles we have been working on.

Read more
Jeff Burnz's picture

Design Challenges

The Design Initiative has three main goals - build a new core theme, build a new collaboration site for designers, and community outreach. The new core theme initiative is well under way and we're tantalizingly close to design.drupal.org becoming a reality. What we need to do now is step up a gear and start thinking about outreach.

Read more
Jeff Burnz's picture

Design Initiative: Narrowing the use case - who are our users?

To scope this discussion - this is about our new core theme for Drupal 8 and who it will serve, and how they will use it.

Its not possible to design and build something that will suit everyone, so we have been working on narrowing it down to identify who might use our new core theme and what their needs might be.

I have expanded on this and tried to think about skill-sets, constraints, features and what type of sites might they be building.

Read more
Jeff Burnz's picture

Design for Mobile - bikeshed!

We need to start thinking and talking about what approaches we're going to take in Drupal 8 with regards to design for mobile.

My own opinion is that we should probably be looking really closely at responsive design and how we might apply or adapt the patterns emerging in that field. The idea of "one web" and a unified design and user experience independent of device appeals to me. I don't want an impoverished mobile experience, so please don't assume what I want to see or do just because I'm on a tablet or handset.

Read more
dvessel's picture

Request for review on RendElements

Hello theme developers, I created a PHP class for working with Drupal Render Arrays (sub-set of Form API).

The code behind it is fairly complicated and this is the first piece of OO code I focused on so I can't guarantee the quality of it. I'm posting here to let everyone know about it and to get some feedback on the approach and suggestions on possible improvements.

The details on it are in my sandbox. http://drupal.org/sandbox/dvessel/1122312

Read more
Jeff Burnz's picture

Cross Application User Interaction Design

Recently I was lucky enough to have a lengthy discussion with Jane Wells, the lead User Interaction designer for Wordpress. During the call she raised the interesting topic of cross app UI design. If you're not sure what that means let me briefly explain - in short it means that apps like Drupal, Wordpress and Joomla could use the same UI designs or patterns to give site users a consistent UX (user experience).

Read more
dreamleaf's picture

Current themes needing review

If you have already got a theme(s) listed as a full project on Drupal.org then you will be aware of the process of having to have your first project 'reviewed and tested by the community' before being granted access to create new full projects.

The people who review and devote time need a big thanks as they enable to D.O. community and resources to grow, so thanks!

Read more
awm's picture

translating Dates

I am wondering how I can translate the date fields and whether there is an easy way to do it without having to write hooks modify preprocess_node. I want to be able to add custom date format, possibly rtl such as Hebrew and Arabic, but i18n does not provide this.
Do I have to build custom hook?
Also, I tried to translate some of theme strings stored in variable such as the line (submitted by author on date ) . used I18N and searched for the string under interface transaltion with no success. are these bugs ? or am I approaching it the wrong way?
Thanks in advance

Read more
Mojah's picture

Contextual sub-menus and drop-downs - Can they work together?

By contextual sub-menus, I mean a site menu designed to reveal the sub-menu items only after clicking the primary menu item. Our theme uses superfish for the drop-downs.

Here's what the drop-down looks like...

Here's what happens when a menu item is clicked

Read more
Mojah's picture

Fixed position "floating" submit buttons rocked our user testing

After months of tinkering with our Drupal distro and the custom theme to go with it, I finally got a chance this weekend to run a user test. The subject, Diana is not computer savvy. For example, a link or button has to look click-able (shouldn't it always!) for her to click it. When I asked her to create a blog post, she clicked the blog navigation link and wondered why there was no form for her to complete. She did not immediately see the "Create content" link. Diana uses a Mac and admits she is right brain dominant.

Read more
descender's picture

Transforming teaser/body fields output from a view

Hello everyone,

I'm looking to strip some HTML tags from the teaser/body fields output by a view. Specifically, I want to remove images, tables, etc., and retain only simple text markup (p, br, strong, em, etc.). Where and how can I add the code to perform this?

For CCK fields, I understand that this can be accomplished neatly with custom formatters. Does something similar exist for formatting node teasers/bodies?

Thanks in advance.

Read more
Subscribe with RSS Syndicate content

Theme development

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: