User login

Public

Customize breadcrumbs (for node_gallery module, using custom_breadcrumbs module)

Here is how i customized the breadcrumbs for galleries to remove the username, building on the documentation at http://drupal.org/node/544748#breadcrumbs and contributing back to that page what you see below:

Field templates are run before row templates, not vice versa

Field template are run before the row template.

This:
views-view-field--products--page-4--field-imagecrop-fid.tpl.php

is processed before this:
views-view-fields--products--page-4.tpl.php

The individual fields are run and then handed off to the row.

That is, the row template isn't run and given the chance to call and pass info into the field templates.

Free Software Cross-Platform Rachota Task Time Tracker

http://rachota.sourceforge.net/en/index.html

Article about it:
http://www.linux.com/archive/feature/60508

Rachota edit task time
-- you move time from one task to another.

Looking for a Rochata -- sorry, Rachota -- export to CSV option, not finding it, may have to wrangle that from the XML (or have Drupal import the XML).

Mysterious insertion of paragraph tag (in DOM only, not in code) inside span

.section-aboutus .date-display-single {
  color:#2d95c1;
}

.section-aboutus .date-display-single p { margin:0px; padding:0px; }

Can that second CSS rule call the p tag into being?

Definitely one of the freakiest things I've seen. The source code contained no p tag within the span. The code shown by Firebug and Safari's inspector both had the the paragraph tag.

Actual source code:

<p>Tri Star Pictures <span class="date-display-single">2009</span></p>

Page appears to stop loading halfway through with JavaScript from footer closure area up in the content

Had this suddenly up in the content where it shouldn't be, and nothing that should have loaded was there.
=0)document.write(unescape('%3C')+'!-'+'-') //-->

apparently caused by Omniture, since that exact code occurs here (but really it was a stupid quotation mark not closed error) --

Fixing Menu Block for menu items with the same path (that also have another valid path)

"exanded" elements of a menu-item-rooted tree aren't expanded
http://drupal.org/node/398888

Working modified function (the patch has more):

Prevent breaks on white space

While there is the venerable &nbsp; (no-break space), there is a better way with CSS:

white-space: nowrap

See also
http://www.nixer.org/css-prevent-line-breaks

Declaring functions in node content results in cannot redeclare fatal error in eval()'d code

Happened on a legacy site...

Fatal error: Cannot redeclare getosandplugin() (previously declared in /var/www/example/drupal/includes/common.inc(1685) : eval()'d code:14) in /var/www/example/drupal/includes/common.inc(1685) : eval()'d code on line 46

Syndicate content