Needs Improvement
Partial Install Profiles
Agaric wants configuration profiles, that potentially can be combined, as well as applied later than the original installation.
And it seems like we can have it!
- ben
Updating modules with Drush and Agaric's wrapper scripts
cd /sites/PROJECTNAME/www/sites/all/modules/
sudo /srv/scripts/agaric-updatemodule.sh MODULENAMEFile uploads and Drupal 5 forms
sudo svn commit -m "uploading images will work so much better with the enctype set"
MySQL user at any host doesn't work, needs localhost in some local personal computer development environments
Where the user, password, and database are all "xmp".
ben@blackbox:/var/www/xmp$ mysql -u xmp -pxmp xmp < IMPORT_THIS_TO_YOUR_XMP_DB.sql
ERROR 1045 (28000): Access denied for user 'xmp'@'localhost' (using password: YES)
i can't even get that to work
Allow users to assign issues to other people in the project group (organic groups and project module integration)
Here is a first draft of a function used in our project module and organic groups integration.
Following this model which was proposed to add assignment to other CVS account holders on Drupal.org itself:
http://drupal.org/node/253825
http://drupal.org/files/issues/253825_12_drupalorg.patch
Adding and modifying organic group action (create content) links
Moshe is a Drupal God. Look at this! There's a hook for everything!
From og.modules own implementation of hook_og_block_details:
<?php
$links = module_invoke_all('og_create_links', $node);
// Modify these links by reference. If you want control of the whole block, see og_block_details().
foreach (module_implements('og_link_alter') AS $module) {
Image link rollovers for dynamic (user-uploaded) graphics with Drupal and CSS
Eliminating other options:
This could be done with JavaScript, but we and the W3C and everyone's sanity would much prefer a pure CSS solution.
Can you have inline styles with pseudo classes (namely, :hover?)
No: http://www.frontpagewebmaster.com/m-351101/tm.htm
From http://www.christianmontoya.com/2006/02/01/pure-css-image-rollover/
Add a span wrapper inside primary and secondary menu links in Drupal 6
This document takes us through the steps of figuring out how some output is produced (without an Integrated Development Environment with debugger) so that we can modify it. Skip straight to Agaric's answer in the resolution at the bottom if that's all you want!
All I want to do is throw spans around the links. Ah well. Here is the function below, modified to do exactly that.
It will do it to all sets of links passed through theme('links', $links) but so far on Agaric's example site, at least, that means only the primary links.
<?php
function examplezen_links($links, $attributes = array('class' => 'links')) {
Building a Zen sub-theme: In shell commands
From the Zen documentation How to build your own sub-theme (6.x), translated into bash commands. The project is called example, and we have installed the zen theme to sites/default/themes.
Someone enterprising could make this into a simple bash script.
cd /sites/example/www/sites/default/themes
sudo cp -pr zen/STARTERKIT/ example_zen
CVS update, Piston update, and SVN commit of Drupal core upgrade for deployed site
I am not entirely sure Piston provides a vital role here, but for now I'd just like to say it worked!
Here is the very basic test. Ordinarily you wouldn't be updating core immediately after deploying a new site, but unlike me ordinarily you would be paying attention.
