Site Upgrade: Serenity Retreat League

Serenity Retreat League (www.serenityretreatleague.org) had a site built on Joomla 1.0.x, and was having trouble with the admin system. I recommended upgrading to the current version, Joomla 1.5.15.

The client was happy with the design they had, so I modified the existing template to be compatible with the new Joomla, moved the content from the previous site to the new install by hand, and upgraded the Contact Us page to use ChronoForm.

New Site Launch: SouthernHand.com

I’m very excited to announce the launch of a new client website at www.southernhand.com

Southern Hand Centers provides hand and upper extremity rehabilitation services through their 7 locations in Tennessee and Mississipi. This is the client’s first appearance on the web, and provides basic information about their services, staff, and locations.

Built on the Joomla 1.5.15 platform, this site uses the following plugins:

ChronoContact “Daily Hints” bug

The current version of ChronoContact for Joomla 1.5 has a serious bug.

Once installed, the Forms Management tab in ChronoContact will display a white page preventing you from managing forms in the component.

jalal reported the issue on the Chronoengine forums, along with the solution he discovered on his own.

Re: Forms Management link not working
Postby jalal » Tue Dec 29, 2009 2:17 pm

OK, I’ve sort of fixed it for now.

I commented out line 37 in admin.chronocontact.html.php (which pops up the tooltip) and things work correctly now. More specifically, it is line 4820 in the same file that is causing the segmentation fault (“$rssDoc =& JFactory::getXMLparser(‘RSS’, $options);”).

If I get a moment I’ll see if I can figure out more, but the above gets things working for me.

cheers

Re: Forms Management link not working
Postby GreyHead » Tue Dec 29, 2009 2:46 pm

Hi jalal,

Ah OK it’s probably the “Daily Hints” — I’d forgotten about that problem. You can disable them from the Parameters Icon in the toolbar now that you can get into the Forms Manager.

Bob

Here’s hoping they remove this “feature” before releasing the final version…

Custom HTML in Joomla

I can’t believe it took me this long to discover this solution, and by accident as I stumbled on a Joomla community forum post…

Even if you turn off the WYSIWYG editor, Joomla breaks some custom HTML code in articles / content items. According to this post, following these steps will allow you to use custom HTML — “Edit HTML Source” — without having the system break your custom coding.

  • Goto the Article Manager.
  • Select “Parameters” (the button on the top right).
  • Under Filtering options, choose:
  • Filter groups: select the groups that are allowed to use HTML code, e.g. SuperAdministrator
  • Filter type: Whitelist

Joomla 1.5 hack – replace the META Generator tag

In Joomla 1.5, the system automatically creates a META Generator tag that you might want to change or hide.

The default tag looks like this:

<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

There is no way within Joomla to change or remove this tag, so you have to put a little line of PHP in your template.

Edit your template and look for this line:

<jdoc:include type="head" />

Just above that line, paste in the following:

<?php $this->setMetaData('generator','my site'); ?>

The two lines together should look like this:

<?php $this->setMetaData('generator','my site'); ?>
<jdoc:include type="head" />

In the above code, substitute your custom generator tag value in place of the words my site.

Because this hack is in your template, you don’t have to worry about the next upgrade to Joomla overwriting hacked core files.

Thanks to gabha.net for showing the way.

Joomla 1.5 hack Contact component form redirect

When it somes to Joomla 1.5, sometimes having to create a feedback form is overkill, when all you really need is for a Contact to do a graceful redirect to a thank you page upon submission.

This hack requires modifying a core component, so be sure to save a copy of your original 🙂

The file to edit is:
/components/com_contact/controller.php

Create your redirect page and have the URL for the redirect handy.

Look for the following code at line 193 in Joomla 1.5.10 (this is the version I was working on this week):

$msg = JText::_( 'Thank you for your e-mail');
$link = JRoute::_('index.php?option=com_contact&view=contact&id='.$contact->slug.'&catid='.$contact->catslug, false);
$this->setRedirect($link, $msg);

And replace it with this code:

$link = JRoute::_('redirect url goes here');
$this->setRedirect($link);

Replace the text redirect url goes here with the URL of your redirect page. Save and upload the revised controller.php file.

Thanks to Sulu for showing the way.

Joomla Plug-Ins I Can’t Live Without

I’ve been blogging so much about WordPress that I’ve neglected posting about Joomla, the CMS I spend most of my time mucking around with. Here are some Joomla plug-ins I can’t live without.

ChronoForms
Allows you to create forms in Joomla without having to use a separate form mail script. Has a number of bells and whistles, most of which I’ve barely touched, sad to say. 

Title Manager
This little one trick pony restores a Joomla 1.0 convention of placing your site name before (or after) your page TITLE. This is usually the first plug-in I add to a new Joomla install. 

PlayerFLV
Makes embedding FLV in a content item really easy.

AllVideos
One step better than PlayerFLV, AllVideos allows easy embedding of nearly any audio or video file format, including MP3, FLV, MOV, WMV, SWF, and more

Attend Events
Used in conjunction with the Events Calendar, this plug-in allows site visitors to register for events.

Jweather
Adds a weather forecast to your site. Very slick and easy. 

What plug-ins are you using?