Jump to content

★★如何让不同的页面显示不同的模块


Recommended Posts

如何让不同的页面显示不同的模块?

大家好,prestashop, 里面有不同的页面,比如: index.php, Product.php, cms.php, 等等。

我们怎么让不同的页面里显示我们想要的模块。

比如: 我们在产品的页面(product.php)里显示 viewed products 模块,但不想在cms.php 的页面中显示,
应该做?

18075_gNr4qY73uZHNEYzrrWLA_t

  • Like 1

Share this post


Link to post
Share on other sites

最简单的方法,以Viewed Products为例:
1. Back Office >> Modules >> Positions >> Left column blocks >> Viewed products block 0.9 >> 编辑
2. 在Exceptions里填入不显示该插件的PHP页面。如果是多个页面,用逗号分开。本例填cms.php就可以了。

Share this post


Link to post
Share on other sites
  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More