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

    评论

报告相同问题?

悬赏问题

  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 lammps拉伸应力应变曲线分析
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试,帮帮忙吧
  • ¥15 #MATLAB仿真#车辆换道路径规划