User login

Documentation

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

Theme Panels Module

You can do a lot of theming with CSS. But what if you want to edit a template and you're using panels?

If you insert your information or view as a block, you can theme the default block, as the block template panels uses.

You can make the default block specific to panels by making region-specific block templates for all your other regions!

May future keyword searches be more successful than ours were:
theme panels drupal
theme panels template drupal

You can do a lot of theming with CSS. But what if you want to edit a template and you're using panels?

If you insert your information or view as a block, you can theme the default block, as the block template panels uses.

You can make the default block specific to panels by making region-specific block templates for all your other regions!

May future keyword searches be more successful than ours were:
theme panels drupal
theme panels template drupal

Ask Agaric: Two events in one day?

I have a question about the calendar feature on the website. I can't seem to edit the calendar to go back and put a second event on the same day. An example is on the last Monday in June I have the first day of camp listed but would like to add the first concert on the common as well which goes from 7-9. Could you give me some help as how to do this.

Agaric answers:

I have a question about the calendar feature on the website. I can't seem to edit the calendar to go back and put a second event on the same day. An example is on the last Monday in June I have the first day of camp listed but would like to add the first concert on the common as well which goes from 7-9. Could you give me some help as how to do this.

Agaric answers:

Registration role documentation

In Drupal 5:

Admin > Users > Registration role

In Drupal 4.7:

Go to admin > settings > registration_role

From there, in both versions of Drupal:

Pick your role and press "Submit".

To have no role assigned to new users at registration (other than authenticated user or a Login Toboggan defined role), press "Reset to defaults".

In Drupal 5:

Admin > Users > Registration role

In Drupal 4.7:

Go to admin > settings > registration_role

From there, in both versions of Drupal:

Pick your role and press "Submit".

To have no role assigned to new users at registration (other than authenticated user or a Login Toboggan defined role), press "Reset to defaults".

Collapsible

Agaric wants:

agaric: We have some users who would like to expand and collapse comments with ajaxy little plus and minus signs rather than the default all or nothing comment option.
[8:02pm] agaric: Is there a module, or theme snippet, or generally known solution hiding itself from my searching skills?

drupal collapsed comments
drupal theme collapsed read comments

thanks to Gurpartap on #drupal-support:

Agaric wants:

agaric: We have some users who would like to expand and collapse comments with ajaxy little plus and minus signs rather than the default all or nothing comment option.
[8:02pm] agaric: Is there a module, or theme snippet, or generally known solution hiding itself from my searching skills?

drupal collapsed comments
drupal theme collapsed read comments

thanks to Gurpartap on #drupal-support:

// but this is for all the comments at once- selectively expanding one at a time or a sub-thread is not supported with this as is...

Where does Drupal keep block information in the database?

Questions you'd want answered desperately fast if you did something remarkably stupid such as putting invalid PHP code in a block that breaks your entire site, even if you were lucky – I mean foresightful – enough to limit that darned block to a single node.

where is custom block text stored in drupal database
where is block data stored in drupal database

Questions you'd want answered desperately fast if you did something remarkably stupid such as putting invalid PHP code in a block that breaks your entire site, even if you were lucky – I mean foresightful – enough to limit that darned block to a single node.

where is custom block text stored in drupal database
where is block data stored in drupal database

based on this API
http://api.drupal.org/api/5/function/block_example_contents

appears to be in the variable table

But that's not the case at all.

It is in fact looking at this API-

Webmin Documentation

How to make a business model out of doing the right thing?

Make open source software that tons of people use for free.

Write a book documenting it that people do pay for.

... and then wikify the documentation:

http://doxfer.com/Webmin/WebHome

How to make a business model out of doing the right thing?

Make open source software that tons of people use for free.

Write a book documenting it that people do pay for.

... and then wikify the documentation:

http://doxfer.com/Webmin/WebHome

Quick fix to get a nodereferenced node to be listed first

The simplest hacky thing worked-- adding a space in front of the title.

The simplest hacky thing worked-- adding a space in front of the title.

Connect a node to a taxonomy term as the definition of that term

After some half-hearted searching...

drupal taxonomy nodes
drupal associate a taxonomy with a node
drupal link taxonomy to a node

Agaric thinks this can be done most easily with a taxonomy view.

You can create an author profile type that can be linked to a user account with usernode and nodeprofile and the like if you want, and limited to one per user.

Or just use a CCK type for author.

In either case, require that these be tagged with the author vocabulary.

After some half-hearted searching...

drupal taxonomy nodes
drupal associate a taxonomy with a node
drupal link taxonomy to a node

Agaric thinks this can be done most easily with a taxonomy view.

You can create an author profile type that can be linked to a user account with usernode and nodeprofile and the like if you want, and limited to one per user.

Or just use a CCK type for author.

In either case, require that these be tagged with the author vocabulary.

The Putty Problem...

and also to show that there really IS a collective...

Here's a solution to Using Putty SSH Keys to Authenticate Automatically

taken from : click here

and also to show that there really IS a collective... Here's a solution to Using Putty SSH Keys to Authenticate Automatically
taken from : click here

Link to Custom Profile Content Type per Role

This provides a pretty good technique to give people a link to their special profile node, to either add a new one or edit an existing one.

In this case, I set up a profile node type available only to one role, judge.

The setup that allows this follows the directions for using usernode, nodefamily, and nodeprofile to allow each user to have only one of a content type.

I created a block "Judge Profile Edit Link" and gave it no title.

Put this in it:

This provides a pretty good technique to give people a link to their special profile node, to either add a new one or edit an existing one.

In this case, I set up a profile node type available only to one role, judge.

The setup that allows this follows the directions for using usernode, nodefamily, and nodeprofile to allow each user to have only one of a content type.

I created a block "Judge Profile Edit Link" and gave it no title.

Put this in it:

Syndicate content