Jump to content

麻烦下版主有没有见过添加修改主页右边广告的module


nickywin
 Share

Recommended Posts

  • 2 weeks later...
  • 3 weeks later...
  • 3 months later...
有没有顶部广告,介绍一两个呢?


不晓得下面这个第三方的免费插件还能不能用?
http://www.prestashop.com/forums/viewthread/7675

还有prestastore有个免费的能写html的block,你找找吧。


搜了下也没啥结果,怀疑论坛的搜索不大好使~~~~


等官方公布forum rules时,会organize论坛的帖子的。慢慢完善咯~

Share this post


Link to post
Share on other sites

这个free-block模块没有加入hook到页面顶部。那么,需要先加入这个功能——备份后打开freeblock.php,在第90行后,加入:

   /**
   * Top hook (这是hook到页面顶部的功能)
   */
   public function hookTop($params)
   {
       return $this->hookLeftColumn($params);
   }

   /**
   * Footer hook (这是hook到页脚的功能,如果需要的话)
   */    
   public function hookFooter($params)
   {
       return $this->hookLeftColumn($params);
   }




然后,再做“修改position提到top of page”的步骤就可以了。

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

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