Finally updated everying to 4.7 and applied the home-grown lock tables hack.so far so good.
paddy's blog
Script.aculo.us scripts for Drupal 4.7
Attached is a scriptaculous module that implements many of the visual effects available on http://script.aculo.us/
Installation
- unpack the contents to your modules directory
- copy the template.php file to your theme directory - please be careful and not replace willy-nilly existing template.php files
- if you want blocks to have special effects, use the block.tpl.php template provided as an example
- if you want nodes to have special effects, use the node.tpl.php template provided as an example
Drupal 4.7 RC Announcement
Just did it!! and I have to say that it was one of the easiest upgrades I ever done.
Long ago, in a galaxy far, far away, Lord Dries did say to Drupallites everywhere, "We will feature freeze Drupal 4.7 in a week, and then we shall commence stabilizing and bug fixing and so on."
And the community said, "BUT WAIT!!"
And so began a flurry of fervent activity to cram all of our desired features and functionality into Drupal. The glorious crowning achievement was the new Forms API, which greatly improved the security, extensibility, and themability of forms.
It seems that I need to update taxonomy_image and FCKeditor to 4.7
It seems that I need to update taxonomy_image and FCKeditor to 4.7 API
The CVS versions of both modules use the old forms API.
They need to be updated to use the new API - looks like I have an interesting evening in front of me...
Amadain.net upgraded to Drupal 4.7 beta 6
Amadain has been upgraded to Drupal 4.7 beta 6.
The upgrade went without fault. Modules were turned-off, the base system updated, the database upgraded, modules updated and finally re-enabled.
I have one issue with the weather module - I can't edit the settings of the block.
I had to apply a fix to get the menu displaying properly. And apply a 'fix' for want of a better phrase to by-pass the LOCK TABLES problem.
The latter now causes a SQL error - I'll have to fix that this evening.
Oh - yeah - I still need to get taxonomy_image working.
valid_url() - extensive update
As in http://drupal.org/node/41651
$allowed_characters = '[a-z0-9\/:_\-_\.\?\$,~=#&%\+\@]';
$lowalpha = 'a-z';
$hialpha = 'A-Z';
$alpha = $lowalpha . $hialpha;
$digit = '0-9';
$alphadigit = $alpha . $digit;
$safe = '\$\-\_\.\+';
$extra = '\!\*\'\(\)\,';
$national = '\{\}\|\\\^\~\[\]\`';
$punctuation = '\<\>\#\%\"';
$reserved = '\;\/\?\:\@\&\=';
$hex = $digit . 'A-Fa-f';
$escape = '\%[' . $hex . ']{2}';
$unreserved = $alpha . $digit . $safe . $extra;
$uchar = $unreserved . $escape;
:-(( Drupal still requires LOCK TABLE permission
On testing Drupal 4.7 I was saddened to see that 4.7 still requires LOCK TABLE permission - only this time it's harder to fix.
Previously, the sole fix was in db_next_id in database.mysql.inc - of course such fixes are hotly contested and largey unsupported.
Now, two new functions have been added, db_lock_table and db_unlock_table. These are called to lock the variables and the cache tables in bootstrap.inc.
get_html_translation_table
Parse error: syntax error, unexpected '>' in /usr/www/users/amadain/drupal-6.5/includes/common.inc(1699) : eval()'d code on line 1
Backport Control Panel to work on 4.6.3
// Clear the page cache, so that changed menus are reflected
cache_clear_all();
// Also clear the menu cache.
cache_clear_all('menu:', TRUE);
$output = '';
$child_levels = drupal_map_assoc(array(2, 3, 4));
$icon_sizes = drupal_map_assoc(array('24x24', '36x36', '48x48'));
$group = form_textfield(t("Menu Path"), 'controlpanel_menu_path', variable_get('controlpanel_menu_path', 'admin'), 20, 20, t('Enter the path of the menu structure you want displayed in the Control Panel.'));
$group .= form_select(t("Icon Size"), 'controlpanel_icon_size', variable_get('controlpanel_icon_size', '36x36'), $icon_sizes, t('Select the size of the control panel icons.'));
- 3






