English 中文(简体)
如何知道我的Magento主题是否需要文字说明?
原标题:How to know if my Magento theme needs the scriptaculous scripts?
  • 时间:2012-01-16 04:45:55
  •  标签:
  • magento

我看到,这些缺省文字仍在我的网站上装上我所购买的新主题:

<script type="text/javascript" src="http://www.princessly.com/js/scriptaculous/builder.js"></script>
<script type="text/javascript" src="http://www.princessly.com/js/scriptaculous/effects.js"></script>
<script type="text/javascript" src="http://www.princessly.com/js/scriptaculous/dragdrop.js"></script>
<script type="text/javascript" src="http://www.princessly.com/js/scriptaculous/controls.js"></script>
<script type="text/javascript" src="http://www.princessly.com/js/scriptaculous/slider.js"></script>

消除这些障碍是安全的,因为它们在页面上提出了大量要求。 我知道我的主题是否使用这些主题?

感谢!

最佳回答

If you want to eliminate the files, you could either do a code review of your templates and supplied javascript to see if they re used and remove them if they aren t. A slightly less scientific approach is to remove each one in turn and test to see if anything breaks!

如果你的主要关切是申请数量,则使用系统(>)下的环境; 配置——> 高级——和“高级”; 编制者将联合材料(和/或中央支助事务)合并为单一档案。 你寄出同样数量的tes子,但要求较少。

第三方延伸,例如Foomanster 为进一步改进业绩添加了排雷内容。

问题回答

页: 1

system>configuration>developer>Java Cons>Merge Java texts = YES

页: 1

system>configuration>developer>CSS Cons>Merge CSS files = YES

并且不要忘记,每当你更新在贵网站上的JS档案时,就能够重读国家安全局和联合材料。





相关问题
Magento addFieldToFilter allow NULLs

When using the Magento collection method addFieldToFilter is it possible to allow filtering by NULL values? I want to select all the products in a collection that have a custom attribute even if no ...

Get product link from Magento API

I am new to Magento and using their API. I need to be able to get the product url from the API call. I see that I can access the url_key and url_path, but unfortunately that s not necessarily what ...

magento extension installation

I want to install a Magento extension in WAMP, but not from the Magento connect system. How can I do this? I have the module (extension) code and I already installed the sample data in the Magento ...

Link to a specific step in onepage checkout

Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it? I m working on a payment module and have a sort of "cancel" action that i would ...

How do I filter a collection by a YesNo type attribute?

I have a ‘featured’ attribute, which has a Yes/No select-list as the admin input. I presume that the values for Yes and No are 1 and 0, as they are for every other Yes/No list. However, if I try and ...

热门标签