Guest Posted May 4, 2010 Share Posted May 4, 2010 大家好,我网站服务器的管理员打了几次电话,说我的网站占用了他们服务器太多的资源, 可能是网站目录太多引起的,因此想改目录显示方式,请教:如何让母目录显示在横向导航栏里,而每个母目录对应的子目录显示在原来的CATEGORIES BLOCK里,在导航栏里点击一个目录里CATEGORIES BLOCK 只显示对应的子目录.网站:[Fake website - Moderated by Patric] Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2010 Share Posted May 5, 2010 没人能回答吗? Link to comment Share on other sites More sharing options...
21846657 Posted May 5, 2010 Share Posted May 5, 2010 我不认为,修改Blockcategories的结构能解决问题。有论坛的帖子已指出Blockcategories是prestashop的性能瓶颈之一。搜索这方面的帖子,也许对你有帮助。 Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2010 Share Posted May 5, 2010 谢谢。1.如果不是我网站的目录太多的原因,那又是其它什么原因占用太多服务器的资源呢?2.这个贴子有帮助,但还没达到点击一个母目录,在目录模块里只出现对应的子目录的效果。http://www.prestashop.com/forums/viewthread/44077/P0/third_party_modules/solved___solution_only_subsubcategory_in_a_block Link to comment Share on other sites More sharing options...
21846657 Posted May 5, 2010 Share Posted May 5, 2010 因为你要求的效果需要通过修改smarty和javascript在前端实现(Not a cake walk though),而prestashop“越来越慢”的原因在于若干“子程序”冗繁的执行,所以在这里,是两个cases。官方正在解决“越来越慢”的问题。如果你能提交这个问题的bug report,会对官方Team有帮助。 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now