17452 Posts in 4473 Topics by 1971 members
|Go to End|
4 December 2008 at 9:49pm
how to use one database for multiple patterns simultaneously?
I will be in the 1 site to showcase my designed templates
How could it be implemented?
I think I can help
but what I write in _config.php instead
SSViewer:: set_theme ( 'askold');
5 December 2008 at 11:12am
Well its basically like how the current theme preview system works - its sets the theme name in the url. So exactly how you have done will work you just need this in your _config file.
Check to see if theme is set otherwise default to 'askold'
// in mysite / _config.php
$theme = (isset($_GET['theme']) ? $_GET['theme'] : 'askold';
|Go to Top|