hi is there a way to use node-rtl.tpl.php instead of node.tpl.php (and other templates)
is there a snipped to check language and include other tpls?
like if language - include file-rtl.tpl.php....
greets
Lausch
hi is there a way to use node-rtl.tpl.php instead of node.tpl.php (and other templates)
is there a snipped to check language and include other tpls?
like if language - include file-rtl.tpl.php....
greets
Lausch
Comments
Comment #1
asak commentedIs there? ;)
Comment #2
Lausch commentedi found a solution while use sections and garland rtl
regards
Lausch
Comment #3
Lausch commentedComment #4
asak commentedI found the solution by using different themes for different languages.
Added "theme_default" to the variables list in settings.php, then selected the -rtl ver. as Hebrew default and the -ltr ver. for English.
Then all .tpl files are separated.
This is actually very useful for theming CCK fields as well...