drupal

paddy's picture

weather.module available for testing for drupal 4.7 RC3

weather.module running with 4.7RC3 if you are interested. The 5 day forecast does not work as this was something given by weatherroom.com I have just recently started to test beta4. If all goes well I shall apply a patch to the original weather module.I have recently fixed a bug in the weather_block that broke the module when trying to configure for specific pages.

paddy's picture

Backport Control Panel to work on 4.6.3

function controlpanel_settings() {
  // 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.'));

paddy's picture

make the url() function XHTML compliant

Update the url() function in common.inc to be XHTML compliant.

Replace the & with a &

if (variable_get('clean_url', '0') == '0') {
  if (isset($path)) {
    if (isset($query)) {
-      return $base . $script .'?q='. $path .'&'. $query . $fragment;
+      return $base . $script .'?q='. $path .'&'. $query . $fragment;
    }

paddy's picture

Anonymous Comments

Unfortunately, due to spamming via anonymous comments I have had to turn off this feature. This is sad as it made simple the sites legitimate use. I shall try to find a simple solution for posting anonymous comments.

paddy's picture

weather.module available for dowload and testing

The latest incarnation of the weather.module is available for testing.

This module fixes some problems where the RSS weather feed was being bombarded with requests.

The results of the RSS feed are now cached for 1 hour.

Please report bugs in this module directly to me.

paddy's picture

amadain.net theme available for download

This the customised SpreadFirefox theme used for http://amadain.net and http://deburca.org.

I would be pleased to answer any questions you may have as regards the CSS, headers, columns, etc..

Enjoy.

Paddy.

paddy's picture

Fix the Help Text

I have recently re-installed my site http://amadain.net and am just trying to clear up a few issues.

The first on involves the Help text.

SpreadFirefox displays a nice little Help: before each and every help text that discribes a page. This works if there are no tags in the help text. The system.module - by default - surrounds the help text by tags...

Two changes need to be made

1. page.tpl.php, update

&lt;?php if ($help != &quot;&quot;): ?&gt;<br />
&lt;p id=&quot;help&quot;&gt;&lt;?php print $help ?&gt;&lt;/p&gt;<br />
&lt;?php endif; ?&gt;<br />

to

&lt;?php if ($help != &quot;&quot;): ?&gt;

Get Firefox W3C Markup Validation Service W3C CSS Validation Service drupal.org | Community Plumbing Taylor McKnight  -  //gtmcknight Creative Commons License Irish

Syndicate

Syndicate content

Who's online

There are currently 0 users and 1 guest online.

pair Networks