1
I'm using the myiframe module to include a page in my homepage. My site uses Xlanguage.
For visitors from China who arrive at the site it automatically displays the Chinese version, otherwise its English.
But the included block does not vary
I'm wondering if there is a php "if" statement I can use to have the included php block also upload the correct html page (Chinese or English)
Right now the inlcude is:
include_once XOOPS_ROOT_PATH . '/modules/myiframe/blocks/myiframe_iframe.php';
b_myiframe_iframe_onthefly(1);
Or perhaps another way of doing it????
Thanks!!!