User login

note

Left and right double quotation marks with :before and :after pseudoclass content

http://www.w3.org/TR/CSS2/generate.html#quotes-specify

Style blockquote with no indent, different color, and :before and :after open-quote and close-quote.

#block-views-featuredsupporter-block_1 blockquote {
  margin: 1em 0;
  color: #0e4e60;
  font-weight: bold;
  font-style: italic;
}

Fields, Bundles, and Entities in Drupal 7

Karoly Negyesi (chx) mentioned in IRC "one thing people (like rszrama) is using entities is basically multigroup functionality." "Say, you have something like a line item in an invoice, needs a lot of fields, that becomes an entity. And it's not a node because a node has stuff like promote and sticky which does not apply."

Fields

borrowing from Barry Jaspan, http://www.archive.org/details/DrupalconDC2009-FieldAPIDrupal7

Managing a Drupal Consulting Firm DC CPH 2010 notes (and some thoughts)

Summary: Great diversity in approaches, some common themes: choosing clients who are well-resourced and good to work with, getting a project manager, relentlessly working on internal communication whether in-person or virtual, and sharing everything good. Commoditization of Drupal skills is happening, and the Drupal ecosystem demands a lot of investment in giving stuff away. Being Drupal experts won't be enough to sustain the rates that sustain this, specialization required.

Drupal adds class js to html tag when JavaScript is enabled

texas-bronius: What's the best way to provide css for non-js-enabled browsers that differs for css for js-enabled?
17:13 texas-bronius: hi benjamin-agaric welcome back
17:15 benjamin-agaric: texas-bronius: hi. Assign the classes themselves with JavaScript?
17:15 texas-bronius: benjamin-agaric: duh. Yes, good idea thanks. Class name could be "hasjs" or something.

Failure of a large form (by Drupal module Bubbletimer) to submit, Suhosin post max variables error in Apache log

I originally posted the problem to the Bubbletimer module issue queue, Unable to save (pressing Save button has no effect).

The error can be seen be seen on the server by looking at the Apache error log:

sudo tail -f /var/log/apache2/error.log

Try to submit the 20 activity form, and nothing happens on the Drupal /bubbletimer page, but this error shows up in the log:

What happened to hook_nodeapi in Drupal 7? The ultimate de-opping.

The nodeapi ops were turned into hook_node_[operation] functions, such as:

Drupal messages should not disappear before a page load

May i just say how much i hate the apparent alleged feature of Open Atrium of making messages disappear after about three seconds. What the heck is with that? The message was put there for a reason. So i know if i submitted the form already even if i come back after 5 minutes. So that i can read it and understand and maybe even click a link in it.

Skype malfunction? Non-sensical claim of auto-recharge suspended

This was sent to the e-mail address for and appears to be for my personal account. I have the same $5.98 credit that i've had for months.

Auto-recharge suspended
Unfortunately, we were unable to Auto-recharge your Skype Credit balance as you have reached your monthly spending limit. For fraud prevention purposes we impose restrictions on the amount of Skype Credit you can purchase. We apologize if this has caused you any inconvenience.

Git undo part of a commit

To revert an entire commit.

git checkout <file>
re-checkout <file>, overwriting any local changes

Should be able to git add changed files that you are interested in committing the revised changes and git commit --amend

http://stackoverflow.com/questions/927358/git-undo-last-commit

Syndicate content