Search found 2 matches
- Tue Mar 18, 2008 10:04 am
- Forum: Joombie Coding Q/A
- Topic: Search Results, Different Template?!
- Replies: 1
- Views: 1842
Re: Search Results, Different Template?!
I have made a multilanguage website alike this: template index.php: <?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $string = $_SERVER['REDIRECT_URL']; if(strpos($string, 'Russian') || $string == '/RU.html'){ include('ru.php'); } elseif(strpos($string, 'Engl...
- Tue Mar 18, 2008 9:45 am
- Forum: Joombie Coding Q/A
- Topic: Need a trick to override template in 1 page
- Replies: 2
- Views: 2397
Re: Need a trick to override template in 1 page
I have made a multilanguage website alike this: template index.php: <?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); $string = $_SERVER['REDIRECT_URL']; if(strpos($string, 'Russian') || $string == '/RU.html'){ include('ru.php'); } elseif(strpos($string, 'Engl...