killeer Posted October 26, 2014 Share Posted October 26, 2014 Hi Can anyone help with the Smartblog module? all was working ok but for some unknown reason none of the blogs are showing any content other than the blog image. Link to comment Share on other sites More sharing options...
killeer Posted October 26, 2014 Author Share Posted October 26, 2014 hi solved this, i deleted contentbox module and the smartblog is working fing 3 Link to comment Share on other sites More sharing options...
virtualmayur Posted October 30, 2014 Share Posted October 30, 2014 I have getting the same problem. I was installed the smartblog module but it was not shown in the front end side. I was searching for Contentbox module, but its not available. Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2014 Share Posted November 2, 2014 I have getting the same problem. I was installed the smartblog module but it was not shown in the front end side. I was searching for Contentbox module, but its not available. what is your ps version ? Link to comment Share on other sites More sharing options...
invpts3 Posted November 7, 2014 Share Posted November 7, 2014 Hi there, I'm using Smartblog too and also have problems. When adding a new post, it's not showing up on the frontpage for clients that are not logged in. But when I go to the blogpost url, www.mydomain.nl/smartblog.html, clients that are not logged in can see all the posts. Only when I log in as a customer, the blogpost appears on the frontpage. I also don't have a Contentbox Module. But looks like my problem has to do with logged in vs. not logged in clients. How can I fix this? PS: 1.6.0.9 Theme: EDA Link to comment Share on other sites More sharing options...
sergiomc87 Posted November 13, 2014 Share Posted November 13, 2014 Hi, Anyone with the same problem? I haven't contentbox module installed but smartblog doesn't show content of the blog. Link to comment Share on other sites More sharing options...
jellygnite Posted December 3, 2014 Share Posted December 3, 2014 I had this same problem but solved it by NOT using an underscore in the Link Rewrite field. e.g. instead of share_the_love_for_prestashop_1_6 try share-the-love-for-prestashop-1-6 It solved it for me. 5 Link to comment Share on other sites More sharing options...
nathanielleee Posted February 26, 2015 Share Posted February 26, 2015 I am having an issue as well. Its not showing anywhere on the front office. i even uninstalled and reinstalled loosing all our posts and still cnt get it up and going. Link to comment Share on other sites More sharing options...
memovillalobos Posted April 29, 2015 Share Posted April 29, 2015 (edited) Hello, I too was having this problem with Smartblog and upon investigating on the module code for a bit found that it had to do with the friendly URL; when you click a post to see its contents it takes you to a URL that probably shows its id and its name (e.g. 4-this-post-is-an-example); my solution was to open SmartBlogPost.php file inside /modules/smartblog/classes and then write a regular expression to extract the id that was wrongly being passed to the getPost function. I'll leave the steps for you to try (in case you're still having this issue): Open SmartBlogPost.php in /modules/smartblog/classes Add a new line between lines 64 and 65 with this code: preg_match('/^[\d]+/', $id_post, $id_post); $id_post = $id_post[0]; Those lines must be inserted right before line 65 (which starts with $sql = 'SELECT.........) Save the file This solution is working with friendly url's so while one probable solution would be to change the setting for friendly url or link rewrite on the module, i could not find any of those options; maybe the module developer will get this fixed in a future release, for now this seems to do the trick. Best of luck!, Edited April 29, 2015 by memovillalobos (see edit history) 2 Link to comment Share on other sites More sharing options...
joshuacartwright Posted June 21, 2015 Share Posted June 21, 2015 Hi guys, I would love to use Smartblog as it looks awesome but despite following all the advice above (including editing the php file which was heartshopping for a very amateur coder like me) the blog still does not display content. Here are the links - to the blog posts page (where they show) and click any actual post and they do not. http://www.hairmywords.com/smartblog.html Any help would be appreciated - if I can't solve this soon will have to use a paid module whereas this really should do fine! Thanks Joshua Link to comment Share on other sites More sharing options...
joshuacartwright Posted June 21, 2015 Share Posted June 21, 2015 PS. I just noticed that despite rewriting the friendly link with - it still insersts a _ and a number which is probably blocking the work suggested above. Any suggestions? Link to comment Share on other sites More sharing options...
ntchung Posted July 27, 2015 Share Posted July 27, 2015 Hello, I too was having this problem with Smartblog and upon investigating on the module code for a bit found that it had to do with the friendly URL; when you click a post to see its contents it takes you to a URL that probably shows its id and its name (e.g. 4-this-post-is-an-example); my solution was to open SmartBlogPost.php file inside /modules/smartblog/classes and then write a regular expression to extract the id that was wrongly being passed to the getPost function. I'll leave the steps for you to try (in case you're still having this issue): Open SmartBlogPost.php in /modules/smartblog/classes Add a new line between lines 64 and 65 with this code: preg_match('/^[\d]+/', $id_post, $id_post); $id_post = $id_post[0]; Those lines must be inserted right before line 65 (which starts with $sql = 'SELECT.........) Save the file This solution is working with friendly url's so while one probable solution would be to change the setting for friendly url or link rewrite on the module, i could not find any of those options; maybe the module developer will get this fixed in a future release, for now this seems to do the trick. Best of luck!, Good, Link to comment Share on other sites More sharing options...
joshuacartwright Posted July 27, 2015 Share Posted July 27, 2015 Hi, thanks for this. I just tried it and sadly it has had no effect at-all... Link to comment Share on other sites More sharing options...
Nixnix Posted August 12, 2015 Share Posted August 12, 2015 Here is the solution to this error: https://github.com/smartdatasoft/smartblog/issues/20 The variable 'content' is very generic and the Smartblog developer should change it. But until then, this works. 2 Link to comment Share on other sites More sharing options...
mr.pz Posted October 11, 2015 Share Posted October 11, 2015 The solution suggested by Nixnix works perfectly for me (vers. 1.6.1.1). Link to comment Share on other sites More sharing options...
wiseprt Posted February 10, 2016 Share Posted February 10, 2016 Hello, The solution suggested by Nixnix is not working on 1.6.0.14 any ideas why? Best Regards Link to comment Share on other sites More sharing options...
mendouga Posted June 8, 2016 Share Posted June 8, 2016 Hello, I have a problem When i try to go to" mydomain/smartblog.html" for listing all blogs posted, it redirects me directly to my home page website ? Can you help me with this please ? Link to comment Share on other sites More sharing options...
stoo_s Posted July 13, 2016 Share Posted July 13, 2016 The solution that worked for me was the one posted by Nixnix. Thanks so much for the help! 1 Link to comment Share on other sites More sharing options...
dovalle Posted October 19, 2016 Share Posted October 19, 2016 I am using transformer theme ad its blog module, for some reason, all the content I had in it disappeared in the front office. The page is blank, content is still on the dashboard and no 404 is displayed when going to that address. Can someone help? Link to comment Share on other sites More sharing options...
JoaquimMarques Posted October 28, 2016 Share Posted October 28, 2016 Hello, In PrestaShop 1.6.1.6. the solution published by Nixnix worked perfectly, too.But it´s needed to force the compilation of .tpl as teaches Vekia: https://mypresta.eu/en/art/basic-tutorials/how-to-turn-on-force-compilation-in-prestashop.htmlThanks so much for the help! Link to comment Share on other sites More sharing options...
elenapatrizia Posted June 20, 2017 Share Posted June 20, 2017 hi solved this, i deleted contentbox module and the smartblog is working fing Hi, i solved this as up: - search contentbox - uninstall contentbox Now smartblog works fine!!! http://www.stampeequadri.it/it/smartblog/1_spunti-idee-creativita.html Link to comment Share on other sites More sharing options...
p_i_r_a_n_i_a Posted October 11, 2017 Share Posted October 11, 2017 I found that if you delete whole blog categories you will have problem with new posts on Home page. You need to have at least one blog category even if you don’t want to use it. The best way is to leave „uncategories” category. In my case that helped. Link to comment Share on other sites More sharing options...
Dmytro Korolkov Posted December 21, 2017 Share Posted December 21, 2017 On 26.10.2014 at 9:43 PM, killeer said: hi solved this, i deleted contentbox module and the smartblog is working fing It helps for me. PS 1.6.1.17, SB 2.0.1 Link to comment Share on other sites More sharing options...
Davst Posted April 11, 2018 Share Posted April 11, 2018 On 12/8/2015 at 4:01 PM, Nixnix said: Here is the solution to this error: https://github.com/smartdatasoft/smartblog/issues/20 The variable 'content' is very generic and the Smartblog developer should change it. But until then, this works. thanks, it worked perfectly, the file to edit are the following: /modules/smartblog/controllers/front/details.php and /themes/themeXXX/modules/smartblog/views/templates/front/posts.tpl Ciao, Davide Link to comment Share on other sites More sharing options...
Virando Posted March 28, 2019 Share Posted March 28, 2019 It works for me. PS 1.6.1.3, SB 2.0.1 Link to comment Share on other sites More sharing options...
Jose FG Posted May 8, 2019 Share Posted May 8, 2019 (edited) NOTE: If Nixnix's solution is not work, check the file /controllers/front/category.php. The "gods" developers changed the order of the attributes of the "getAllPosts" function, so if the file is still called that function with the order: LANG, LIMIT START, LIMIT is wrong. If we open the file SmartBlogPost.php and we will see the function, now we see it like this: public static function getAllPost ($limit_start, $limit, $id_lang = null) Edited May 8, 2019 by Jose FG (see edit history) Link to comment Share on other sites More sharing options...
bro_jin Posted December 26, 2019 Share Posted December 26, 2019 On 12/3/2014 at 11:48 AM, jellygnite said: I had this same problem but solved it by NOT using an underscore in the Link Rewrite field. e.g. instead of share_the_love_for_prestashop_1_6 try share-the-love-for-prestashop-1-6 It solved it for me. Thank you, This worked for me. Prestashop Ver1.6.1.24 Link to comment Share on other sites More sharing options...
zgredek Posted April 25, 2021 Share Posted April 25, 2021 Hi guys, PS 1.6.1.24 SB 3.0.5 - latest for P.S 1.6 as developers described After installing Im getting error as on screen. Anyone knows how to solve it? file smartblog/views/templates/front/postcategory.tpl exist on server. 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