2009-10-29, 01:04:35
eddyfever Wrote:Then i just have to make a more default version wich is based on the default theme wich you get with GetSimple. I'll work on a version like this.Why put it in a different Theme?
Then GetSimple also need a lil edit, that you can choose in the URL wich theme you want.
If you can make it more generic all that would be needed would be to load a different link- and script-element at the top of the template to make sure we load the right files. For this the following PHP could be used:
Code:
if (stristr($_SERVER['HTTP_USER_AGENT'], ‘iPhone’)) {
// code to grab the files needed for the iPhone
} else {
// code to grab the files needed for other browsers
}
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!