= Audina Website v3 (Joomla 1.5) =
== Configuration ==
* Unpack ZIP file to a folder under ''/var/www'' on the web server (such us ''en'' for English, or ''es'' for Spanish). Eg: LINK1 = rewrite.php?link=1 LINK2 = link2.html How this works: both links are for this same page, but each calls the page differently:
With mod_rewrite, we are mascarading the php file into an html file. Any extension can be used (eg: .htm, .shtml etc.). Make sure it is reflected in the .htaccess file
% mkdir /var/www/en
% cp audina-v3.tar.gz /var/www/en
% cd /var/www/en
% tar xzf audina-v3.tar.gz
* Create database in MySQL:
mysql> CREATE DATABASE `audina_joomla15_en`;
mysql> CREATE USER 'joomlausr'@'localhost' IDENTIFIED BY '***';
GRANT ALL PRIVILEGES ON * . * TO 'joomlausr'@'localhost' IDENTIFIED BY '***' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
GRANT ALL PRIVILEGES ON `audina_joomla15_en` . * TO 'joomlausr'@'localhost';
* Import data from SQL script into database. Eg:
mysql> SOURCE audinadata.sql
* Edit file ''//site///configuration.php''. Eg:
* Setup ''htaccess'' file with some basic security. This how ''.htaccess'' in the root folder in Joomla should look like:
# Deny all PHP pages
* Point the browser to website URL, and test.
== Search Engine Optimization ==
* Home page Title should have keywords.
* Description Metatag should have relevant site summary for Google to display it.
* Images in Home page should have descriptive ''alt'' descriptions.
* Switch on Search Engine Friendly URLs (Global Configuration).
* Switch on Apache mod_rewrite (Global Configuration).
=== Apache mod_rewrite Setup ===
* Install mod_rewrite support for apache.
* Enable it: % sudo a2enmod rewrite
or % cd /etc/apache2/mods-enabled
% ln -s ../mods-available/rewrite.load rewrite.load
* Enable AllowOverride for apache: Edit file ''/etc/apache2/sites-available/default'' (or whatever the virtual site is using) and set it to ''AllowOverride All''. Eg:
* Restart apache: % /etc/init.d/apache2 restart
* Create test script. Sample test ''.htaccess'' file:
RewriteEngine On
Options +FollowSymLinks
RewriteRule ^joomla\.html http://www.joomla.org/? [R=301,L]
RewriteRule ^link([^/]*).html$ rewrite.php?link=$1 [L]
Test script ''rewrite.php'' (open in browser, and test links being displayed):
* Rename and test Joomla's ''htaccess.txt'' to ''.htaccess''
= Language Switching =
== Dropdown Selector ==
. . .
. . .
== Google Translate Dropdown Selector ==
= Content Editing =
== Carousel Images ==
* Edit 'Home' article as HTML. Go to Joomla > Content > Article Manager > Home.
* Place slider images in ''images/stories/frontpage''. Eg: ''images/stories/frontpage/proslider7.jpg''
== News Articles ==
* Edit any article (or add a new one). Go to Joomla > Content > Article Manager, then filter Category as ''Latest''.
* When adding an article:
* Choose Section ''News'', and Category ''Latest'' for that article.
* Place content within paragraph tags. Eg ''
xxx
'' == Workshops and Conventions == * Edit article calendar wrapper listing workshops and conventions. * Go to Joomla > Content > Article Manager, then filter Section as ''Professionals''. * Edit article 'Calendar Wrapper'. * Edit Calendar component. * Go to Joomla > Components > CP Event Calendar. * For calendar 'Events', click on 'Admin Data' to edit calendar and to add/delete events. == User Registration (Component) == * Edit file ''/joomla_root>///components/com_user/views/register/default.php'' to include this at the top:
baseurl;
$mainframe->redirect($urlBase.'/index.php?option=com_chronocontact&chronoformname=Registration');
// end wayne
?>