简体   繁体   English

自定义Sub Magento主题不起作用

[英]Custom Sub Magento Theme Not Working

Hi my theme just updated to a new file organization that uses sub custom themes so that I can update the theme without overwriting the files I changed myself. 嗨,我的主题刚刚更新为使用子自定义主题的新文件组织,以便我可以更新主题而不会覆盖自己更改的文件。

I downloaded the new theme and set up the new file path, but the site still reads from 我下载了新主题并设置了新文件路径,但该站点仍从

skin/frontend/default/shopper/css/styles.css 皮肤/前端/默认/购物者/css/styles.css

when it should read from 什么时候应该读

skin/frontend/shopper/default/css/styles.css 皮肤/前端/购物者/默认/css/styles.css

I set the current package name to “shopper” and set default (under Design/Themes) to custom. 我将当前程序包名称设置为“购物者”,并将默认值(在“设计/主题”下)设置为“自定义”。 I know I want my custom files of the theme to go under shopper/custom , and then magento should check for files at shopper/default and finally check for files at base . 我知道我希望主题的自定义文件位于shopper / custom下 ,然后magento应该在shopper / default下检查文件,最后在base处检查文件。 For some reason its ignoring the shopper directory and still referencing from the old default directory. 由于某种原因,它忽略了购物者目录,仍然从旧的默认目录中引用。 And saved everything. 并保存了一切。 I also disabled and flushed all the caches. 我还禁用并刷新了所有缓存。

The two images attached show how I have it set up in magento via the admin and the ftp. 所附的两个图像显示了如何通过admin和ftp在magento中进行设置。 I haven't been able to solve this for months. 我已经几个月没能解决了。

在此处输入图片说明

在此处输入图片说明

FIXED IT! 修复!

The issue was not in System > Configuration > Design but in fact System > Design I discovered that System > Design had it set up for Default/Shopper and there wasn't a time frame for it. 这个问题不在“ 系统”>“配置”>“设计”中,而是在“ 系统”>“设计”中,我发现“ 系统”>“设计”已将其设置为“默认/购物者”,并且没有时间表。 The following link helped me reach my conclusion. 以下链接帮助我得出了结论。

http://www.magentocommerce.com/boards/viewthread/197908/ http://www.magentocommerce.com/boards/viewthread/197908/

You are supposed to System > Design for temporary theme changes, but my site had it set with no time frame thus always overwriting my settings in System > Configuration > Design 您应该在系统>设计中进行临时主题更改,但是我的网站没有设置任何时间范围,因此总是覆盖我在系统>配置>设计中的设置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM