Reputation: 2837
I'm using magento 1.7.0.2.
I follow this Tutorial for creating website in my local machine.
Default magento url is: http://localhost/magento
My new site url is : http://localhost/magento/newsite
Now i have to change the "THEME" for the new site.
I've tried these method:
Method 1:
Method 2:
system -> Design -> Add design
select my site and theme (modern)
But the theme didn't change it always take the theme which i given for the default config.
How to set Different theme for different site form single back-end.
Is there any way to change theme??
Cheers
Upvotes: 2
Views: 4277
Reputation: 2837
I got the answer,
"I make a mistake here"
In the new store "index.php" file u need to change the content like.
umask(0);
/* Store or website code */
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '<your site code>';
/* Run store or run website */
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'website';
Now i fix the issue.
Cheers
Upvotes: 2