User login

Drupal Development

Get a Drupal module from CVS

HOWTO: Checkout a drupal module from Drupal CVS
http://drupal.org/node/120511

Thanks to John Forsyth's comment:

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-6--1-4 -d example_module contributions/modules/example_module

Mass hosting and Drupal

If we go for all CivicSpace On Demand former customers, some background on their and other ways to do mass hosting:

(Nedjo, the initiator of the first two posts, is ex-CivicSpace, notably)

http://groups.drupal.org/node/7197
http://groups.drupal.org/node/7196
and
http://groups.drupal.org/node/7311

Resolution

Using Firebug with Drupal

For using Drupal with firebug:
http://www.lullabot.com/articles/quick_and_dirty_debugging#comment-2905

added this to drupal_set_message:

drupal_add_js('console.error('.json_encode(array('Drupal Backtrace'=>debug_backtrace())).');','inline');

Resolution

php get last item in an array

Untested:

$sys_name = current(end(implode($path)));

Resolution

Pre-validation of forms with JQuery- alphanumeric check

pipit: i'm trying to validate (ex age) field on drupal form, using javascript. I found the jquery.alphanumeric.js, add it via drupal_add_js. But how to "insert" in on the age field ?
[12:23am] rszrama: pipit: alphanumeric = some jquery plugin?
[12:23am] pipit: rszrama : duno, i just try learn jquery stuff today :). I got it from : http://itgroup.com.ph/alphanumeric/

E-Commerce v3 shipping bug

Popped up originally when enabling all the e-commerce modules I was interested in at once.

Came up again at odd times, and fairly certainly would have been an issue if we had actually tried to use shipping.

When I caused a parse error in a PHP-input format node:

user warning: Table 'internetbar_live.microcommerce_org_ec_shipping_product_attribute' doesn't exist query: DELETE FROM microcommerce_org_ec_shipping_product_attribute WHERE vid = 5 in /var/www/drupal-5-live/includes/database.mysql.inc on line 172.

On re-saving a page:

Delete unused taxonomy terms from a free tagging vocabulary

Wish taxonomy terms would get deleted when a node is deleted, if they aren't used by any other content?

Agaric brings you the next best thing.

@TODO ben-agaric: turn this into a module

Basically we want to delete any term that doesn't exist in the term_node table, though it would be nice to do this by vocabulary (as in, nice not to accidentally delete your carefully set up non-free tagging vocabulary)

Upload Progress Bar for Drupal

Dan says the attach file progress bar isn't good enough. People need one like RapidShare. Hmm.

ProgressBar for files upload
http://drupal.org/node/135975

Resolution

Unknown column 'price_interval' on fresh install of Drupal e-commerce

Errors on installing pretty much all of e-commerce 3 at once:

Vocabularies for vocabularies, or paired-term taxonomy

As long as it's theoretical, I'm pure genius.

http://groups.drupal.org/node/4658#comment-21689

Hello freeburj,

Taxonomy totally should be able to do that, but what you're asking is actually pretty tough. In the broadest sense, taxonomy lets you set up an arbitrary set of terms for content, and you want to then apply an arbitrary set of terms to those terms that apply to content.

Syndicate content