Musings of a Manchester Drupal guy

Drupal, Open Source, Analytics, Social Media.

Thursday, June 30, 2005

Fun with forms – customized input elements

Picment.com � Articles � CSS � Fun with forms – customized input elements: "Ever wanted to match the look of your HTML forms with the rest of your website? This article demonstrates how to apply customized backgrounds to HTML forms, while preserving stucturally clean markup and accesibility"

Wednesday, June 29, 2005

Programmatically list datasources using ServiceFactory

This code snippet allows you to list all the datasources on your server

<!--- Get "factory" --->
<CFOBJECT ACTION="CREATE" TYPE="JAVA" CLASS="coldfusion.server.ServiceFactory" NAME="factory">
<!--- Get datasource service --->
<CFSET dsService=factory.getDataSourceService()>

<cfdump var="#dsService.getNames()#">

Monday, June 27, 2005

SEOmoz | Google's Patent: Information Retrieval Based on Historical Data

SEOmoz | Google's Patent: Information Retrieval Based on Historical Data

Image expired on cfchart

The image expired prompt can be stopped (or reduced) by following the guidelines below taken from CFCHART HELP

  1. Stop the CF server.
  2. Open <cfinstallpath>\lib\webcharts3d.xml
  3. You can increase the timeout for keeping the graphs in the cache by editing the minTimeout and maxTimeout attributes:
    <?xml version="1.0" encoding="UTF-8"?>
    <server image="PNG" cache="Memory" style="font-weight: bold;">minTimeout="5000" maxTimeout="30000"</span>....

Friday, June 17, 2005

Globalizing ColdFusionMX

Globalizing ColdFusionMX is the blogg of Paul Hastings, somewhat an expert on Globalization for ColdFusion.

CFMyAdmin.com - ColdFusion MySQL Database Manager

As I am getting more into mySQL it has been useful to discover CFMyAdmin.com - ColdFusion MySQL Database Manager

Thursday, June 16, 2005

squidfingers / patterns

I thought this was a nice site for grabbing background squidfingers / patterns.

Wednesday, June 15, 2005

Macromedia - Mobile and Devices Developer Center: Development Kits

Flash Mobile Devices Development Center has tutorials and resources plus development Kits.

Coldfusion MX 7 ODBC Agent

I installed an instance of CFMX7 yesterday. The ODBC Agent reported having started and then stopped. I tried starting the service but it failed. I found a post on the Macromedia Forums which offered the solution to the problem.

What you need to do is delete the files in

\db\slserver54\tracing\.

assuming the contents of which are blank.

Tuesday, June 14, 2005

SEO for Google

Getting top ranking on google searches is everyones aim these days. seochat.com has plenty of tutorials and chat on search engine optimisation.

Thursday, June 09, 2005

Google Sitemaps

Google has launched a new method to help you get sites spidered. There is some ColdFusion code to create Google Sitemaps. Google sitemap protocol is an xml format.

I have also found a sitemapbuilder.com offers google sitemap creation.

Listing scheduled tasks programmatically in ColdFusion

Use the following code snippet to list Scheduled Tasks

&<cfobject type="JAVA" action="Create" name="factory" class="coldfusion.server.ServiceFactory">

&<cfset tasks = factory.CronService.listAll()>

&<cfset sheduledTaskCount = arraylen(tasks)>
&<cfloop index="i" from="1" to="#sheduledTaskCount#">
&<cfoutput> #tasks[i].task# &</cfoutput>
&</cfloop>

Tuesday, June 07, 2005

Lost ColdFusion Administrator Password

Go to C:\CFusionMX\lib\neo-security.xml in a text editor. Locate the following code ...

<var name="admin.security.enabled">
<boolean value="true" />
</var>

change the boolean value from true to false. Then restart the ColdFusion Service. This should let you in to your server again.

Then set the cfadmin password, submit changes without checking "Use a ColdFusion Administrator Password".
RE-visit the page and select the checkbox, submit. This will log you out but you will be able to use your new password.

Friday, June 03, 2005

Monitoring RSS Feeds Automatically

Raymond Camden has written a really useful reference article for how to search and parse RSS in The RSS Watch Sample App (Part 1): Monitoring RSS Feeds Automatically

Thursday, June 02, 2005

Rule Your Site with Instant Messaging

How to build a site which can be edited using instant messenger, Rule Your Site with Instant Messaging

Wednesday, June 01, 2005

Handling Bounces - Enterprise Email Application Software Blog

ActivSoftware have written an interesting article on Handling Bounced back emails. I am writing an email marketing tool presently, this feature is essential in any such tool.

Flex Style Explorer

This Flex Style Explorer would be useful when designing coldfusion flash formatted forms.