User login

note

Encryption on Ubuntu: Just the commands

For set-up, see https://help.ubuntu.com/community/FolderEncryption

Open:
encfs ~/.ncryptd ~/ncryptd

where ncryptd is the name of your directory. Note the dot (.) in front of ncryptd in the first parameter of the encfs command; the encrypted version is an entirely different directory and could have a completely fidderent name from the directory you decrypt it into.

Why isn't Drupal's one run-time menu item altering hook getting run?

in

05:15 mlncn: sfreudenberg: any guess why hook_translated_menu_link_alter() is called only on admin theme pages, and then only for user menu (indeed, just the 'user' "User Account" menu item?
05:16 sfreudenberg: yes
05:17 sfreudenberg: if (!empty($item['options']['alter'])) {
05:17 sfreudenberg: drupal_alter('translated_menu_link', $item, $map);
05:17 sfreudenberg: }
05:18 sfreudenberg: it's only run for marked menu items
05:18 sfreudenberg: menu.inc line 921ff

Return user to current page: How to link to a form from a Drupal menu

Press login / press account links for anonymous and logged in users, respectively. Subtly added to a bottom menu. Via code in order to allow for the redirect back to the page you were on after login or editing.

There is surely a way, or should be a way, that does not involve hook_page_alter(), but hey, this works.

Ubuntu Usability

  • The mouse should not disappear off the screen, ever. Makes it very hard to orient by zipping it to one corner, because it disappears. This is literally covered in usability 101 - buttons on the sides of a screen can get infinite size for free. (Note: current problems here may be the result of the dual monitor setup. #firstworldproblems)
  • Unity's start menu thing opens to cartoonishly big icons and font, but the default size for the rather important x (close) and expand buttons on the menu bar are miniscule.

Views order and optional relationships

in

Null values go first.

http://dev.mysql.com/doc/refman/5.0/en/working-with-null.html

Happy accident is that once the view is 'reversed', most recently added go first.

TODO: Make sure that whenever a node is promoted to a continuum, it gets promoted to front page, too-- so that it doesn't suddenly drop off when it is promoted.

Modules to exclude selected content types from Drupal's search

http://drupal.org/project/search_block

http://drupal.org/project/search_config

I think this is my pick, Jennifer Hodgdon's Search By Page, it does more but it is all good things:
http://drupal.org/project/search_by_page

Background on the topic:

Getting Set Up on Windows 7 (temporarily)

While Ubuntu 11.04 64-bit downloads

The Essentials:
Clipboard history. Found http://www.joejoesoft.com/cms/showpage.php?cid=97

Firefox: http://firefox.com

Exposed filters and VIews Gotcha

Ordinarily, when you leave off selecting a taxonomy term from a filter that says "Is one of", nodes tagged with that term will not show up in the View. However, when you make that filter an Exposed filter, the behavior changes. Even if you checkmark "Limit list to selected items", nodes tagged with that term will show in the initial view. Users see this item, but if they filter, they won't see it any more. Not exactly intuitive.

Syndicate content