User login

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:

Mobile presentation by Jason Chinn, BADcamp 2010

i asked about Opera:

Jeff Robbins:
Opera is the browser on alternate devices

they're very compatible

nowadays when they talk about Symbian - Nokia's OS

currently, in the marketplace, most people have android or iphone, and it's the same browser.

http://webkit.org

iUI
i don't know how much is from Rob, and how much from google…
http://code.google.com/p/iui/

[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

CSS for Forms: Formalize

Makes forms display somewhat consistently across browsers and operating systems, without making them too different / unexpected.

The key file:

http://github.com/nathansmith/formalize/blob/master/assets/stylesheets/formalize.css

About:

Inline Read More links for teasers when output as one of several fields in a View with a row style of field

http://drupal.org/node/287812#comment-939923

See also:

displaying read more in teaser view list
http://drupal.org/node/513168

I did this with a crazy use of calling ed_readmore functions in template.php for a views template preprocess function. Do not attempt by trial and error, i can get the code from openmedia's repository.

Remove the main content title from the front page of the site

Sometimes we have a lot of blocks from views and such on our front page, going where the content usually goes, so we don't want our front page to be the /node stream. We could make it a View page but if all the other Views are blocks, it seems wrong to play favorites (and may be annoying for theming or changing things later). Plus, it's nice to have that one node for the little bit of (easily editable) static content.

Here's the function for "example" theme's template.php to remove the page title:

Syndicate content