User login

Documentation

Drupal, project, life documentation. This is where notes go to try to earn their way onto Drupal.org.

Note on updating modules in Agaric subversion repository

svn commit -m "replaced nodefamily-5.x-1.1 with nodefamily-5.x-1.2, a module upgrade. Since our module setup has module upgrades going into a wholly new directory, it may be particularly importont to 'Submit' the modules page after upgrading... as well as running update.php of course. It's also very important of course to delete the older version of the module, since the names won't conflict and remind you."

UPDATE: running update.php seems to find the upgraded module quite well.

svn commit -m "replaced nodefamily-5.x-1.1 with nodefamily-5.x-1.2, a module upgrade. Since our module setup has module upgrades going into a wholly new directory, it may be particularly importont to 'Submit' the modules page after upgrading... as well as running update.php of course. It's also very important of course to delete the older version of the module, since the names won't conflict and remind you."

UPDATE: running update.php seems to find the upgraded module quite well.

SVN add for all un-added files

svn status | grep "^\?" | awk '{print $2}' | xargs svn add

And much less pretty, but for files with spaces in them:
svn status | grep "^\?" | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add

from http://lukewarmtapioca.com/2005/6/1/adding-all-new-files-with-svn

svn status | grep "^\?" | awk '{print $2}' | xargs svn add

And much less pretty, but for files with spaces in them:
svn status | grep "^\?" | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add

from http://lukewarmtapioca.com/2005/6/1/adding-all-new-files-with-svn

Ask Agaric: Adding Photos to an ECommerce Site

I'm a little confused. Where do I upload pictures?

Agaric says...

With your system you can upload photos, as part of each product, through the web site itself.

You can log in here:

http://www.example.com/user

After logging in, you'll get a new menu with your name. Under your name there's a wonderful link called "Create content" which is where most of the action is on the Drupal content management system.

I'm a little confused. Where do I upload pictures?

Agaric says...

<

blockquote>With your system you can upload photos, as part of each product, through the web site itself.

You can log in here:

http://www.example.com/user

After logging in, you'll get a new menu with your name. Under your name there's a wonderful link called "Create content" which is where most of the action is on the Drupal content management system.

Copy a theme to a new project in the local repository

Ebony:~/workspace/repos/drupal/pwgd/openzuka.com/trunk/themes/zukazen ben$  svn copy ~/workspace/repos/drupal/nome/trunk/bush907.net/themes/nomezen/ zukazen/

Agaric tested, subversion approved.

Ebony:~/workspace/repos/drupal/pwgd/openzuka.com/trunk/themes/zukazen ben$  svn copy ~/workspace/repos/drupal/nome/trunk/bush907.net/themes/nomezen/ zukazen/

Agaric tested, subversion approved.

Drupal 5 email all users in a role

The crying need Drupal still does not fulfill by dfefault, nor easily.

http://drupal.org/project/advuser
Filtering of users based on profile.module fields
Mass emailing/deleting of the filtered users

Agaric only needs the smallest moral or financial push to make this a simple standalone capability.

The crying need Drupal still does not fulfill by dfefault, nor easily.

http://drupal.org/project/advuser
Filtering of users based on profile.module fields
Mass emailing/deleting of the filtered users

Agaric only needs the smallest moral or financial push to make this a simple standalone capability.

Forum Options for Drupal Roundup

http://www.lullabot.com/articles/private_forums_in_drupal_forum_access_vs_taxonomy_access_vs_taxonomy_access_con...

Private forums and member-only sites
http://drupal.org/node/111576

Essentially a non-drupal forum solution that integrates with Drupal, although it is as easy to install as any module:

http://drupal.org/project/uieforum

(Disadvantage: all the cool stuff you can do for nodes, you can't do to UIE Forum posts)

Using Taxonomy Access Control

You can enable taxonomy access control and nothing will go haywire. However be sure to set every existing category and the defaults to what you want -- generally, allowing all roles to view (or anonymous and authenticated, and non-authenticated if applicable, as other roles will inherit from these)

Otherwise, once you save the settings for that role, watch out. Goodbye site content! All posts (nodes) in those categories can disappear.

You can enable taxonomy access control and nothing will go haywire. However be sure to set every existing category and the defaults to what you want -- generally, allowing all roles to view (or anonymous and authenticated, and non-authenticated if applicable, as other roles will inherit from these)

Otherwise, once you save the settings for that role, watch out. Goodbye site content! All posts (nodes) in those categories can disappear.

The solution of course is just to define everything correctly for anonymous and authenticated users especially and save again for each of those.

Center Horizontal List

Having trouble centering a menu made from a horizontal list?

Make sure you give its parent container a width.

Having trouble centering a menu made from a horizontal list?

Make sure you give its parent container a width.

Can I Deduct the Cost of a Web Site on my Business Taxes?

According to H&R Block's Schedule C help: "May I deduct expenses for my Web site?"

You may deduct expenses for your Web site as long as those expenses are "ordinary and necessary," and as long as those expenses are not one of the following:

Expenses used to figure the cost of goods sold — these are taken into account elsewhere on Schedule C

Capital expenses — these have to be deducted over time

Personal expenses — these are not deductible

According to H&R Block's Schedule C help: "May I deduct expenses for my Web site?"

You may deduct expenses for your Web site as long as those expenses are "ordinary and necessary," and as long as those expenses are not one of the following:

Expenses used to figure the cost of goods sold — these are taken into account elsewhere on Schedule C

Capital expenses — these have to be deducted over time

Personal expenses — these are not deductible

Do non-enabled modules matter?

Agaric wants to know...

can a module that is not enabled harm a Drupal site in any way, by breaking a site if something is wrong in the module or just slowing performance down. Or is a disabled module only relevant on the admin/build/modules page?

In other words, is there any point to keeping modules you are not using out of your modules directories?

Agaric thanks you!

(as posted to http://drupal.org/node/13670 )

Agaric wants to know...

can a module that is not enabled harm a Drupal site in any way, by breaking a site if something is wrong in the module or just slowing performance down. Or is a disabled module only relevant on the admin/build/modules page?

In other words, is there any point to keeping modules you are not using out of your modules directories?

Agaric thanks you!

(as posted to http://drupal.org/node/13670 )

drupal can a disabled module destroy a site
drupal can a not enabled module destroy a site
drupal can a not enabled module break a site

Syndicate content