User login

Drupal Theming

Theming with Display Suite and Preprocess Functions

Display Suite does not use node-*.tpl.php. This would is be by design. There are three ways i see to bring in custom elements.

Custom fields

Typical usage for custom elements would seem to be creating entire custom 'fields' (as opposed to small variables) which can then be placed by Display Suite-- as shown in the first part of this post:

[old] Skinr weirdness, an unneeded line breaks the next one

[This may be out of date]

This didn't start working until i added the squid line.

skinr[second_sidebar]
skinr[second_sidebar][features]
skinr[second_sidebar][features][]
skinr[second_sidebar][features][] = squid
skinr[second_sidebar][features][] = block

(Squid is not added to the features array, but it's the only thing that makes block show up. And if 'block' is put first, then it's only squid that is added to the array of features.)

Resolution

having

skinr[second_sidebar]

produces fuzz

Using Imagecache for a theme's user-provided logo

Agaric considers it best practice (meaning we do it occasionally) to keep a logo (the user-uploaded logo), so that the site principal can have its logo swapped out by an administrator, and not only by a developer or themer. Practically, some designs will have the logo so integrated that it should not be swappable, but note that one additional advantage of having a clean and separate logo file is that people can swipe it and display their brand loyalty while linking to you. Or maybe add devil horns to it in MS Paint.

How make double rounded borders with CSS3 (and using an extra div)

I couldn't find a way to do this in straight CSS3.

A light colored border, a white (transparent) space in between, and a blue background, all rounded.

Also, note that by using CSS3, we are oh-so-subtly telling Internet Explorer users (before IE9, anyway) that we don't care that the site doesn't look as pretty as it does to people sensible enough to use good web browsers.

First, let's get the extra HTML out of the way.

Your mom likes IE6!

Your mom likes IE6. It is true. Most likely, it is because it is all she knows. So, to all the mom's out there, we love you and appreciate all you have done. We would just appreciate it more if you changed your browser and upgraded to Firefox. But, we would settle for IE8, even IE7.

Testing assisting module: set configurations through site's URL

RoboConf
module
http://drupal.org/project/roboconf

commissioned by Top Notch Themes
test their themes
only way they could do this with a 2-3 person company

security nightmare, should never go anywhere near a production site

in the URL, you give it parameters - logged in, logged out, blocks

RoboConf will configure your site to the setup of the url

view your site in different browsers

using pre-generated URLs

Planning a DrupalCamp and Code Sprint

Introductory Blurb

Modeled on BarCamp unconferences, a DrupalCamp is learning sessions, discussion, workshops, and code sprints for the free software content management system Drupal. Anyone can present and everyone is welcome. The schedule of sessions is decided in the morning on each day, but we do encourage people to post what they would like to say or hear to gauge interest and encourage coordination.

This first general camp, DrupalCampBoston1, will feature a practical , immediately benefiting Open Media Boston and Boston Indymedia.

Needs:

Printing an arbitrary menu just like primary_links and secondary_links

You can find out your menu name by going to admin/build/menu and hovering over it-- the name is a text string, separating the words in the menu title with dashes, and all lower case.

In your template.php

<?php
function agarictheme_preprocess_page(&$vars) {
  $menu = menu_navigation_links("menu-name-here");
  $vars['special_menu_name'] = theme('links', $menu);
}
?>

In page.tpl.php (or page-front.tpl.php or other variation)

Syndicate content