Tell me more ×
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

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:

  1. system -> configuration
  2. Change the current configuration scope to my new site.
  3. General -> Design ->theme (give the theme name modern for Templates

Method 2:

  1. system -> Design -> Add design

  2. 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

share|improve this question

1 Answer

up vote 2 down vote accepted

I got the answer, i make 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.