The IT Sage
Website Design & SEO

Website Design & SEO (5)

Sunday, 14 February 2010 08:48

Home Page for AAA Auto Salvage in Rosemount, MN

Written by Truong Nguyen
I built this website for AAA Auto Salvage in late 2009. www.aaaparts.com
Tuesday, 08 December 2009 20:53

How to move Joomla folder to a different folder

Written by Truong Nguyen

Many web designers prefer to build their websites in test folders and when their development is over to move their Joomla applications to the root folder of their hosting accounts.

For the purpose of this post, let us presume that we have a Joomla 1.5 installed in the public_html/test folder in our account and we want to move it to the public_html directory so that it will be directly accessible through www.yourdomain.com. This change consists of the following steps:


Move Joomla folder to a different location

1. Move all of the files and folders from your Joomla folder to the new directory. In our case from public_html/test to public_html

2. Reconfigure your application. You should edit your configuration.php file and make the following changes in it:

Change: var $log_path = '/home/user/public_html/test/logs';
To: var $log_path = '/home/user/public_html/logs';

Change: var $tmp_path = '/home/user/public_html/test/tmp';
To: var $tmp_path = '/home/user/public_html/tmp';

Change: var $ftp_root = '/public_html/test';
To: var $ftp_root = '/public_html';

Change: var $live_site = 'http://www.yourdomain.com/test';
To: var $live_site = 'http://www.yourdomain.com';

3. Remove the content of your cache folder (public_html/cache in our case)

Now when you reload your website it should be working flawlessly from its new location.

The toolbar you see on this website is hosted and powered by Wibiya. It is a great social tool, all is in one place without cluttering up your website layout. One downside however is that it doesn't play nice with Javascript (and this site uses tons of scripts). I was struggling for days seeking a permanent solution.

The main problem is Joomla uses mootools and Wibiya toolbar loads in jQuery javascript which have known incompatibility issue when run together. A quick search on Joomla's extensions section yielded SC jQuery, a tool that sets "no conflict" mode to allow usage of scripts such as the Wibiya toolbar with mootools, and other libraries. After installation of this plugin, it seemed to fix the problem. It was not long for me to find out that some of the modules were still acting strange.

So the search was still on. I went to the developer's support forum and came up on a post that perked my interest which eventually fixed my problem (you still need to have SC jQuery running).


Here is the solution from Dror Ceder at Wibiya

There is one tiny parameter you can change in our code so there won't be any clashes with other frameworks on your website.

The code you have now in <----> is:

script type="text/javascript" src="http://toolbar.wibiya.com/toolbarLoader.php?toolbarId=XXXX" mce_src="http://toolbar.wibiya.com/toolbarLoader.php?toolbarId=XXXX"

Change it to:

< script type="text/javascript" src="http://toolbar.wibiya.com/toolbarLoader.php?toolbarId=XXXX&nc=0&pl=1" mce_src="http://toolbar.wibiya.com/toolbarLoader.php?toolbarId=XXXX&nc=0&pl=1"

* you just need to add "&nc=0&pl=1" after the number.

UPDATED: Wibiya has since changed their code and no longer would one need the add "&nc=0&pl=1" after the ID number. SC JQuery still needed. I stopped using the toolbar because it takes much longer for the side to load.

Apple Mac OS X and Windows logos are registered trademarks of Apple, Inc. and Microsoft Corporation.