User login

Documentation

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

Single signon shared user table setup steps

You can set up the settings.php to use the existing database and new table prefixes for all except the shared user etc. tables which you have use the same

Come to think of it I'd be real careful about what install profile I use on this step... certainly none that create users by deleting existing rows first...

multiple roles single sign-on login toboggan Drupal

enable single signon at admin/build/modules
go to admin/settings/singlesignon

first on the master site and then on the secondary sites.

You can set up the settings.php to use the existing database and new table prefixes for all except the shared user etc. tables which you have use the same

Come to think of it I'd be real careful about what install profile I use on this step... certainly none that create users by deleting existing rows first...

multiple roles single sign-on login toboggan Drupal

enable single signon at admin/build/modules
go to admin/settings/singlesignon

first on the master site and then on the secondary sites.

Don't forget to give special roles some actual permissions, admin/user/access

Windows software for checking a web site for broken links

Windows only, free but not open source free:
http://home.snafu.de/tilman/xenulink.html

Thought there was a Drupal module, but I couldn't find it.
drupal check site for broken links

Windows only, free but not open source free:
http://home.snafu.de/tilman/xenulink.html

Thought there was a Drupal module, but I couldn't find it.
drupal check site for broken links

Why am I getting access denied? (the easy answer)

Drupal tech support from square one:

ben, as i said the link below says 'denied access' and i just tried to open content page to post new issue, as i've been doing successfully, but now it says "no content types available" so i'm STUCK!

why and what next?

Log in:

http://example.com/user

thanks for the speedy reply ben -- but why do i suddenly need to log in
-- how can i always get there automatically?

Drupal tech support from square one:

ben, as i said the link below says 'denied access' and i just tried to open content page to post new issue, as i've been doing successfully, but now it says "no content types available" so i'm STUCK!

why and what next?

Log in:

http://example.com/user

thanks for the speedy reply ben -- but why do i suddenly need to log in
-- how can i always get there automatically?

Hour in life of Agaric: Finding php-getID3 library, and fixing CSS show audio info

An hour or two in the life of an Agaric Design Collective member...

getID3 php library debian
where does debian apt-get install the php-getid3

So we ran:

apt-get install php-getid3

/etc/apt/preferences
Version preferences file. This is where you would specify "pinning",
i.e. a preference to get certain packages from a separate source or
from a different version of a distribution. Configuration Item:
Dir::Etc::Preferences.

An hour or two in the life of an Agaric Design Collective member...

getID3 php library debian
where does debian apt-get install the php-getid3

So we ran:

apt-get install php-getid3

/etc/apt/preferences
Version preferences file. This is where you would specify "pinning",
i.e. a preference to get certain packages from a separate source or
from a different version of a distribution. Configuration Item:
Dir::Etc::Preferences.

/var/cache/apt/archives/

Generic function for getting vocabularies by module

I post it here for the world because CMT will no longer be overriding the vocabulary module names of other module's vocabularies, so Agaric doesn't have a use for it in this form.

It could be useful for other folks though.

I liked overriding the 'module' name part of vocabulary definitions, but as it hasn't proved necessary yet in taking control of the vocabulary from taxonomy module (all the ones I've looked at are treated the same) and I'd have to find a place to store the old module names for uninstalling CMT properly... well, anyone want a barely used function? Cheap!

I post it here for the world because CMT will no longer be overriding the vocabulary module names of other module's vocabularies, so Agaric doesn't have a use for it in this form.

It could be useful for other folks though.

I liked overriding the 'module' name part of vocabulary definitions, but as it hasn't proved necessary yet in taking control of the vocabulary from taxonomy module (all the ones I've looked at are treated the same) and I'd have to find a place to store the old module names for uninstalling CMT properly... well, anyone want a barely used function? Cheap!

/**

Using audio module. A text documentary. To be continued...

Thanks for writing. I tried the upload again and this time the size was ok but it gave other errors. One was that the sample rate has to be 11, 22 or 44 and I believe my file is 4,400. I'm not sure exactly what sample rate is, but I know it is something that can be altered in my sound editor. The other error had something to do with "ID3" and I have no idea what that is. Also, there were requested fields for "title" and "artist" that I tried to fill in but I think they are meta data driven not just where you put anything in you want to call it. . Or so it seems.

<

blockquote>Thanks for writing. I tried the upload again and this time the size was ok but it gave other errors. One was that the sample rate has to be 11, 22 or 44 and I believe my file is 4,400. I'm not sure exactly what sample rate is, but I know it is something that can be altered in my sound editor. The other error had something to do with "ID3" and I have no idea what that is. Also, there were requested fields for "title" and "artist" that I tried to fill in but I think they are meta data driven not just where you put anything in you want to call it. . Or so it seems.

Module .info file making: separate dependencies with spaces

Note on module making:

Dependencies must be separated by spaces, not commas.

Note on module making:

Dependencies must be separated by spaces, not commas.

Sequences table fields must have same prefixes as tables themselves do

Agaric had an unexpected problem with sequences table after moving an existing site- it ignored what we had and started making new entries for menu_id and such ones with the database table as the prefix. The result was duplicate key errors on menu mid and new content being subsumed into the first posts and all-around utter weirdness.

So, here's the fix:

Agaric had an unexpected problem with sequences table after moving an existing site- it ignored what we had and started making new entries for menu_id and such ones with the database table as the prefix. The result was duplicate key errors on menu mid and new content being subsumed into the first posts and all-around utter weirdness.

So, here's the fix:

Using TextWrangler for Drupal coding: changing tab to two spaces

Drupal coding standards call for two spaces per tab. Any text editor with a bunch of programming options must be able to set the default tab spacing, right?

In TextWrangler's case, yes, but if you searched here before even trying its user interface, you'll be glad you did. It's not anywhere a sane person, or even a rabid rhesus monkey, would think to look.

It's here:

TextWrangler Preferences › Editor Defaults

OK, so far so good. Now, the tab setting is inside the last option on this form, "Default font: "

Drupal coding standards call for two spaces per tab. Any text editor with a bunch of programming options must be able to set the default tab spacing, right? In TextWrangler's case, yes, but if you searched here before even trying its user interface, you'll be glad you did. It's not anywhere a sane person, or even a rabid rhesus monkey, would think to look. It's here: TextWrangler Preferences › Editor Defaults OK, so far so good. Now, the tab setting is inside the last option on this form, "Default font: "

Translated home page using i18n module and paths

Alternate title: Translation fun, an Agaric Design minisaga, starring the internationalization (i18n) module

We (OK, I) started off by editing the English version of a node out of existence when we thought we were creating a new translation. But we had revisions turned on! Self-knowledge, also the Agaric way.

Note that node revisions does not revert translation workflow states or even URL path settings. It does seem to have reverted menu settings, oddly enough.

On translation and internationalization:

Alternate title: Translation fun, an Agaric Design minisaga, starring the internationalization (i18n) module

We (OK, I) started off by editing the English version of a node out of existence when we thought we were creating a new translation. But we had revisions turned on! Self-knowledge, also the Agaric way.

Note that node revisions does not revert translation workflow states or even URL path settings. It does seem to have reverted menu settings, oddly enough.

On translation and internationalization:

Official docs, not so helpful:
http://drupal.org/node/133983

Syndicate content