Image Caption

Monday, July 23, 2012

Multilanguage site in Joomla 2.5 [Install Steps]


Multilanguage site in joomla

Step by step Joomla configuration for Easy Language plugin :

1. Install language packs for your site front end.
(Extensions >>> Extension Manager)

2. Install easy language plugin.
(Extensions >>>  Extension Manager)

3. Enable required plugins and modules.
(Extensions  >>>  Plugin Manager)
Enable : System - Easy Language
Enable : System - Language Filter
(Extensions >>>  Module manager)
Enable : Language Switcher (and publish it to become visible in front page)

4. For languages to appear in Language Switcher on front page,
you must create dummy unpublished menu for EVERY language you want to use.

This is example how to add dummy menu item for English language,
so english language will be available as choice in Language Switcher.
(You should repeat it for every other language you want to add)

(Menus  >>>  Menu manager  >>>   add new menu)
Title : englishmenu (give a name which tell its your languagemenu)
Menu type : englishmenu (give a name which tell its your languagemenu)
- Press Save & Close
- Find your languagemenu in below table and click its name in "title" column.
- Click "New"
Menu Item Type : "Search Form or Search Results"
Menu Title : englishmenu
Status : Unpublished
Default Page : Yes
Language : English (select language you want to appear in Language Switcher)
- Press Save & Close
You will See Flag Appear near menu which meant this language will appear
now as a choice in Language Switcher.

Remember that this menu is unpublished and dont need to have any articles
or content in it, Its dummy menu and its only purpose is to make
related language available as a choice in Language Switcher

Wednesday, July 18, 2012

Chronoform Force SSL [solved]

Step:1
Open the file

administrator\components\com_chronoforms\form_actions\show_html\cfaction_show_html.php

Step:2

Replace all $uri->root() to $ssluri 

Step:3

Add line next to line:14 in cfaction_show_html.php
$ssluri = str_replace('http:', 'https:',$uri->root());

After added line then content look like this:

class CfactionShowHtmlHelper{
function loadAction($form, $actiondata){
$params = new JParameter($actiondata->params);
$output = '';
$mainframe =& JFactory::getApplication();
$uri =& JFactory::getURI();
$ssluri = str_replace('http:', 'https:',$uri->root());