stoo_s Posted July 13, 2016 Share Posted July 13, 2016 I'm trying to set up a blog for our website and the free Smart Blog module is great. However, I can't work out why the sidebars will not display on the blog pages. It doesn't matter which option I choose on the 'Blog Page Column Setting' as nothing shows whether I choose right, left or prestashop column. All of the modules are correctly hooked into position but neither the prestashop sidebars nor the smart blog sidebars are displaying. If anyone has any ideas what might be causing this then I'd love to know. Thanks in advance. Stuart If you'd like to have a look at what might be causing the issue then follow this link: http://www.thelearningemporium.co.uk/shop/smartblog/4_arewenearlythereyet.html Link to comment Share on other sites More sharing options...
Knowband Plugins Posted July 14, 2016 Share Posted July 14, 2016 It is possible that module is not loading left/right column. Make sure that your blog module doesn't has below line of codes in its front controller file. Path should be like: /modules/your_module_name/controllers/front/your_module_name.php $this->context->smarty->assign(array('HOOK_LEFT_COLUMN' => null,'HOOK_RIGHT_COLUMN' => null)); Link to comment Share on other sites More sharing options...
stoo_s Posted July 19, 2016 Author Share Posted July 19, 2016 Thanks for getting back to me and sorry for taking a few days to reply but i'm currently on holiday. I looked at the file for your suggestion but there didn't appear to be anything unusual. The exact code was as follows: $this->context->smarty->assign( array( 'postcategory'=>$allNews, 'category_status'=>$category_status, 'title_category'=>$title_category, 'cat_link_rewrite'=>$cat_link_rewrite, 'id_category'=>$id_category, 'cat_image'=>$cat_image, 'categoryinfo'=>$categoryinfo, 'smartshowauthorstyle'=>Configuration::get('smartshowauthorstyle'), 'smartshowauthor'=>Configuration::get('smartshowauthor'), 'limit'=>isset($limit) ? $limit : 0, 'limit_start'=>isset($limit_start) ? $limit_start : 0 , 'c'=>isset($c) ? $c : 1, 'total'=>$total, 'smartblogliststyle' => Configuration::get('smartblogliststyle'), 'smartcustomcss' => Configuration::get('smartcustomcss'), 'smartshownoimg' => Configuration::get('smartshownoimg'), 'smartdisablecatimg' => Configuration::get('smartdisablecatimg'), 'smartshowviewed' => Configuration::get('smartshowviewed'), 'post_per_page'=>$posts_per_page, 'pagenums' => $totalpages - 1, 'totalpages' =>$totalpages )); Any other ideas? Thanks, Stuart Link to comment Share on other sites More sharing options...
rocky Posted July 20, 2016 Share Posted July 20, 2016 You can try searching the controller's __construct function for the following: $this->display_column_left = false; $this->display_column_right = false; Change false to true if you find it. You can also check the Preferences > Themes > Advanced Settings and make sure there's no module-smartblog entries that have an "X" under "Left column" and "Right column". If there is an X, click it to enable the column. Link to comment Share on other sites More sharing options...
stoo_s Posted August 9, 2016 Author Share Posted August 9, 2016 Thanks for trying but there's no construct function int the category.php file and the advanced settings are set correctly in admin. Really stumped with this one. Link to comment Share on other sites More sharing options...
rutlak Posted August 25, 2016 Share Posted August 25, 2016 Hi, I have the same issue. I'm using PS 1.6.1.6. - Theme has allowed sidebars for SMART Blog - Positions of Modules are correct (displaySmartBlogLeft is presented as well) - In code I have not found any invalid HOOK statements - I have also re-installed all SMART Blog modules - ... but I'm not able to see in the BLOG the Left or Right sidebar with SMART Blog Search, Recent and Popular posts, Categories... Here is my Blog: http://www.gll.sk/en/blog.html Please, does anybody has any solution for this? Thanks and regards, Rasto. Link to comment Share on other sites More sharing options...
Vitamixlife Posted June 14, 2021 Share Posted June 14, 2021 I've got same problem with sidebar's smart blog, but otherwise, I can see sidebar in the category/products of ps but I can't in the blog/category pages 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