dongzhang0418 2013-05-03 18:01
浏览 54

新网站没有在Magento中加载主题css文件

I have Magento 1.7.0.2 in domain A. I've created a new "website" under this same Magento installation. This "new website" has a different URL (B).

I configured the theme in Admin-panel and the new URL, then added the theme files through FTP, but when i access to domain B there's no css loaded. I enabled the Template Path Hints and i can see the path ponting to the corresponding new theme templates, but the css/js files (skin/frontend/default/newtheme) are not being loaded.

Under /public_html/domainB.com, I've added the index.php file, which loads the "new website" i created. This is the lines i modified:

$mageFilename = '../app/Mage.php';
Mage::run('marymcdonaldinc','website');

I don't think the problem is in index.php file, since it seems to be loading the "new website".

  • 写回答

1条回答 默认 最新

  • doulan8846 2013-06-04 10:57
    关注

    Configure the following settings: system->configuration->web

    • base URL : http://example.com/magento/
    • Base Link URL : http://example.com/magento/[B_folder name]/

    and the following settings for themes should display for B website: system->configuration->Design under Themes section

    Set template & Default to [your theme].

    评论

报告相同问题?

悬赏问题

  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100