Filthbreed Posted March 23, 2014 Share Posted March 23, 2014 I just upgraded Custom CMS information block v1.0 -> Custom CMS information block v1.1 seems to be some sort of bugg, i reseted it as my text didnt show propperly, i even deleted and reinstalled it but even the preset text doesnt show up as it should... anyone else have a problem with this plugin? 1 Link to comment Share on other sites More sharing options...
Filthbreed Posted March 23, 2014 Author Share Posted March 23, 2014 seems to be something wrong with the updated facebook module aswell as it doesnt show anything in it att all either... tried on several different computers, i cleared the cache and forced a rebuild... might be something on my server but anyhow... Link to comment Share on other sites More sharing options...
Filthbreed Posted March 23, 2014 Author Share Posted March 23, 2014 both blocks looked as they should before update and now they look like this... tried to uninstall and reinstall but no effect.... Link to comment Share on other sites More sharing options...
Filthbreed Posted March 23, 2014 Author Share Posted March 23, 2014 got the facebook module to work by uninstalling it twice but cms block dont work still... Link to comment Share on other sites More sharing options...
Nihelan Posted March 23, 2014 Share Posted March 23, 2014 Same problem here after installing V1.1. Gona look for V1.0, till this is fixed. Link to comment Share on other sites More sharing options...
santolla Posted March 23, 2014 Share Posted March 23, 2014 Same problem. I only updated the facebook module, but after that it make a few other modules go funny Link to comment Share on other sites More sharing options...
kashie Posted March 24, 2014 Share Posted March 24, 2014 Hi All. To activate your facebook module, enter the full URL. http://facebook.com/your_page. Worked for me. Still cant figure out the Custom CMS modules Link to comment Share on other sites More sharing options...
Filthbreed Posted March 24, 2014 Author Share Posted March 24, 2014 i had the facebook module working before, could it be that before it only needed the "name_of_your_facebook_profile" and now as you pointed out "http://www.facebook.com/name_of_your_facebook_profile" have a vauge feeling it worked before with only profile name... i found another thread ( http://www.prestashop.com/forums/topic/317166-blockcmsinfo-is-not-working-properly/ ) and that thread someone pointed out that if you delete row 194+195 it works so i went into the modules folder on my server and edited this file modules/blockcmsinfo/blockcmsinfo.php and just deleted those 2 rows 194+195 foreach ($content as $key => $value)$content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); and it works afterwards... Fabien Mairesse added a comment - Today 4:06 PM I upgraded this module today and suffered also a break of my layout. The reason is that the function getListContent of blockcmsinfo has changed to remove all the HTML formatting. I hope it's a "oops" commit as it doesn't make any sense to allow the user to fill the block with HTML if you just allow raw text at the end. Just remove the following instructions at lines 194,195:foreach ($content as $key => $value)$content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); Link to comment Share on other sites More sharing options...
Filthbreed Posted March 24, 2014 Author Share Posted March 24, 2014 well sort of solved but, an official update shouldnt really need manual edit of official files.....i bet there will come an update real soon though... Link to comment Share on other sites More sharing options...
ravell Posted March 24, 2014 Share Posted March 24, 2014 same issue with custom cms block Link to comment Share on other sites More sharing options...
q8-med.com Posted March 25, 2014 Share Posted March 25, 2014 Hello All, I'm also facing problem in custom cms block which really bothering me, if any one can help please post it here, thanks. Link to comment Share on other sites More sharing options...
bwaje Posted March 25, 2014 Share Posted March 25, 2014 Since it has been updated to 1.1, this block does not show correctly the 3 icons (truck, phone and credit card) and I have lost all html settings, even when I reset the settings. Link to comment Share on other sites More sharing options...
mtporter Posted March 25, 2014 Share Posted March 25, 2014 Not only the 3 icons went away (wish there was documentation on all mark up HTML for cms block(s) ) but it isn't rendering the HTML markup at all... hope there is a update to fix real soon. Link to comment Share on other sites More sharing options...
ravell Posted March 25, 2014 Share Posted March 25, 2014 Filthbreed has the fix for me, where it sets the icons back and the correct HTML formatting... You can achieve that without waiting By deleting rows 194+195 foreach ($content as $key => $value) $content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); Either wait till official fix/update comes out or just edit blockcmsinfo.php Link to comment Share on other sites More sharing options...
mtporter Posted March 25, 2014 Share Posted March 25, 2014 Did the trick... guess if any changes are done, a clear cache has to be done always under Advanced Parmeters/Performance Link to comment Share on other sites More sharing options...
mtporter Posted March 25, 2014 Share Posted March 25, 2014 ah, problem now is that anything for 1 store shows up no matter what for the other store and vice versa... so the fix did not help at all in regards to the cms block being corrected for multi-shop/store 1 Link to comment Share on other sites More sharing options...
Scott J Posted March 25, 2014 Share Posted March 25, 2014 Ok, comparing the old version of blockcmsinfo.php it looks like we need to replace line 189: WHERE `id_lang` = '.(int)$id_lang. with this: WHERE `id_lang` = '.(int)$id_lang.' '.Shop::addSqlRestrictionOnLang(). Link to comment Share on other sites More sharing options...
mtporter Posted March 26, 2014 Share Posted March 26, 2014 Think it may have did the trick. If you reset one or the other, it disables the other, but then you just add new and copy from the other after enabling. 1 Link to comment Share on other sites More sharing options...
Scott J Posted March 27, 2014 Share Posted March 27, 2014 (edited) I have submitted this change request to line 194 of latest version 1.3 Edited March 27, 2014 by Scott J (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts