Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:joomla:audina_website_v3 [2012/08/29 12:32] smayr |
systems:joomla:audina_website_v3 [2013/02/27 15:25] (current) smayr [User Registration (Component)] |
||
---|---|---|---|
Line 76: | Line 76: | ||
} | } | ||
?> | ?> | ||
+ | </ | ||
+ | * Setup '' | ||
+ | # Deny all PHP pages | ||
+ | <Files *.php> | ||
+ | deny from all | ||
+ | </ | ||
+ | # Allow only these PHP pages | ||
+ | <Files ~ " | ||
+ | allow from all | ||
+ | </ | ||
</ | </ | ||
* Point the browser to website URL, and test. | * 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 '' | ||
+ | * 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: <code bash>% sudo a2enmod rewrite</ | ||
+ | % ln -s ../ | ||
+ | * Enable AllowOverride for apache: Edit file ''/ | ||
+ | Options Indexes FollowSymLinks MultiViews | ||
+ | # | ||
+ | AllowOverride All | ||
+ | Order allow,deny | ||
+ | allow from all | ||
+ | # Uncomment this directive is you want to see apache2' | ||
+ | # default start page (in / | ||
+ | # | ||
+ | </ | ||
+ | * Restart apache: <code bash>% / | ||
+ | * Create test script. Sample test '' | ||
+ | RewriteEngine On | ||
+ | Options +FollowSymLinks | ||
+ | RewriteRule ^joomla\.html http:// | ||
+ | RewriteRule ^link([^/ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | <h2> | ||
+ | <?php | ||
+ | if($_GET[' | ||
+ | { | ||
+ | echo" | ||
+ | } | ||
+ | elseif($_GET[' | ||
+ | { | ||
+ | echo" | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | echo" | ||
+ | } | ||
+ | ?> | ||
+ | </h2> | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <ul> | ||
+ | < | ||
+ | < | ||
+ | </ul> | ||
+ | <p> | ||
+ | With mod_rewrite, | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | * Rename and test Joomla' | ||
+ | = Language Switching = | ||
+ | == Dropdown Selector == | ||
+ | |||
+ | <code html> | ||
+ | <html xmlns=" | ||
+ | < | ||
+ | . . . | ||
+ | <script language=" | ||
+ | <!-- | ||
+ | function MM_jumpMenu(targ, | ||
+ | eval(targ+" | ||
+ | if (restore) selObj.selectedIndex=0; | ||
+ | } | ||
+ | //--> | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | < | ||
+ | . . . | ||
+ | <form name=" | ||
+ | Language | ||
+ | <select name=" | ||
+ | <option value=" | ||
+ | <option value=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | == Google Translate Dropdown Selector == | ||
+ | <code html> | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | <div class=" | ||
+ | < | ||
+ | |||
+ | <script type=" | ||
+ | //< | ||
+ | if(top.location!=self.location)top.location=self.location; | ||
+ | window[' | ||
+ | function doTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value; | ||
+ | function gfg(name) {name=name.replace(/ | ||
+ | //]]> | ||
+ | </ | ||
+ | |||
+ | <div id=" | ||
+ | <script type=" | ||
+ | function googleTranslateElementInit() { | ||
+ | new google.translate.TranslateElement({ | ||
+ | pageLanguage: | ||
+ | includedLanguages: | ||
+ | }, ' | ||
+ | } | ||
+ | </ | ||
+ | <script type=" | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
= Content Editing = | = Content Editing = | ||
Line 97: | Line 233: | ||
* Go to Joomla > Components > CP Event Calendar. | * Go to Joomla > Components > CP Event Calendar. | ||
* For calendar ' | * For calendar ' | ||
+ | == User Registration (Component) == | ||
+ | * Edit file ''<// | ||
+ | <?php // no direct access | ||
+ | defined(' | ||
+ | |||
+ | // coastline wayne code added for forms url | ||
+ | $urlBase = $this-> | ||
+ | |||
+ | $mainframe-> | ||
+ | |||
+ | // end wayne | ||
+ | ?> | ||
+ | <script type=" | ||
+ | . . . | ||
+ | </ | ||
+ | == ChronoContact (Component) == | ||
+ | * Look for revised '' | ||
+ | = Backup Files = | ||
+ | * A copy of the webserver files can be found in ''/ |