Forum Support

 
Advanced Search


[1]

Offline rottenberg
Free Member
Posts: 51
Posted on: July 05, 2009, 06:23:43 AM

Hi,

I've chosen magnum opus template for a multi lingual site because it has 2 style : one with the  column on the left side and one with the column on the right side

If the language used is LTR (english, french,...) I want to use the style 1.
If the language used is RTL (arabic, hebrew...) I want to user the style 2.

How can I choose the style following the language ?

Am I right if I want to clone the template and get a style 1 template and a style 2 template ? I know that in joomfish I may use a pseudo template which choose the template to be used following the active language.

If it's the solution how can I clone the template ?
If t's not the solution how can I get the style following the active language ?



a collateral question : I know that I can get the 'main' menu LTR or RTL as it's a specific javascript.
I thought about using 2 'main' menu one for the LTR languages with a specific order of button and  one for the RTL languages with the reverse order for the menu.

How can I activate the good 'main' menu following the langage

thank you for help

best regards

Michel
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: July 06, 2009, 06:52:54 AM

Hello, I am sorry I am not familiar enough with joomfish to know how their pseudo template works. If you need RTL you would need to code the entire template to work this way, it works off of css, not a language.
Logged

Offline rottenberg
Free Member
Posts: 51
Posted on: July 06, 2009, 08:48:57 AM

Joomafish provides a 'pseudo template' to redirect  to  the good one following the langage used.

I think the with magnus opus template, I don't need to recode the template. 

I  want to use the style 1 (column on left side) with LTR language and style 2 (column on right side) with RTL language.

I think to do that I need to clone the Magnum Opus template to get 1 template with style 1 and another with style 2.

How can I clone a template ?

thank you for help


Michel
Logged

Offline mikek
Free Member
Posts: 28743 WWW
Posted on: July 06, 2009, 09:45:52 AM

Hello, you would have to copy the templates folder "magnumopus" and call the copy "magnumopus2". Then you'll have to edit the files:

index.php and templatedetails.xml and do a find replace for magnumopus and replace it with magnumopus2

That will give you a copy of the template, however like I said above RTL and LTR is controlled by CSS, not a language. So you will need to adjust the CSS in the second copy.
Logged

Offline rottenberg
Free Member
Posts: 51
Posted on: July 06, 2009, 11:46:45 AM

thank you
For the moment I've changed index.php and templatedetails.xml  name to magnumopus2
It's working

thanks

Michel
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.018 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.