User login

note

Launching a relatively big site, lessons learned

Lessons:

Make sure pathologic is setting the right root URL before boost runs. It seems the very first cron run pathologic still has the old site's information, or rather more likely the page cache or the node cache still has the old information, and these caches must be cleared immediately.

Never, ever have boost set to gather 1,000 pages at once-- it can try to run them all simultaneously and take out your server.

Even when you have boost, don't forget to turn back on the basic performance optimization settings when going live: CSS and JS compression.

Allowed HTML tags for Drupal's Filtered HTML input format: generous list

Minimum:

<a> <em> <strong> <u> <cite> <code> <h2> <h3> <h4> <h5> <h6> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <p> <br> <span> <div> <img> <sub> <sup> <strike>

Tim Berners-Lee on Linked Data

Workshop at MIT. Raw notes about raw data.

RDF Book Mashup: http://www4.wiwiss.fu-berlin.de/bizer/bookmashup/index.html

If you are building a new website, you can pull a lot of this information. Suppose no-one's put the baseball stats out there, you could do that, and pull in geographic information to match up ballparks or player's hometowns.

Raw Data Now! I won't make you chant this.

[unsolved] putting a query string in a menu local task tab link item

any experience working with hook_menu, specifically for tabs
(menu_local_task items)
how would one pass a query from one of those links?
for instance, working with organic groups, on the group nodes, want tabs for adding new content inside the group
so the link needs to be something like
node/%node/add/event?gids[]=876
876 being whatever the current group context is

2010 January 5 Drupal Meetup

Tom - http://ChampsNotChumps.org
Hiro - http://hirohonshuku.com - Customizing Organic Groups? Moshe: chapter in a book by Bill Fitzgerald
Ben B. - was with EchoDitto, now with ADG in Framingham - secret twitpic API - twitpic_filter

Deleting the last content type containing a field deletes that field also

Which is good if that's what you want.

No content_field_fieldname table remaining, and no entries in the content_node_field nor content_node_field_instance tables.

Very nice!

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>

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