Closed (fixed)
Project:
Garland BIDI
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2007 at 23:52 UTC
Updated:
14 Jan 2008 at 12:35 UTC
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...