Dougadanny Posted March 22, 2014 Share Posted March 22, 2014 (edited) Fresh install of latest 1.6. After I changed text in the Custom CMS Information Block, none of the icons appear, nor formatting. The UI shows bullets, no images, but then does not appear on site. Now just a paragaph. Even reset. How is this done and how to readd the icons? Edited March 22, 2014 by Dougadanny (see edit history) Link to comment Share on other sites More sharing options...
yvesvl Posted March 22, 2014 Share Posted March 22, 2014 Fresh install of latest 1.6. After I changed text in the Custome CMS Information Block, none of the icons appear, nor formatting. The UI shows bullets, no images, but then does not appear on site. Now just a paragaph. Even reset. How is this done and how to readd the icons? Same for me. Source code is still there <ul> <li><em class="icon-truck" id="icon-truck"></em> <div class="type-text"> <h3>Lorem Ipsum</h3> <p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p> </div> </li> <li><em class="icon-phone" id="icon-phone"></em> <div class="type-text"> <h3>Dolor Sit Amet</h3> <p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p> </div> </li> <li><em class="icon-credit-card" id="icon-credit-card"></em> <div class="type-text"> <h3>Ctetur Voluptate</h3> <p>Lorem ipsum dolor sit amet conse ctetur voluptate velit esse cillum dolore eu</p> </div> </li> </ul> but no more formatting or icons. Module updated to version 1.1 ... 1 Link to comment Share on other sites More sharing options...
lethal Posted March 22, 2014 Share Posted March 22, 2014 Same problem here after I updated the module it screwed up the block? No Images and limited text input, no htm.... nadda Nadda. Link to comment Share on other sites More sharing options...
haroons Posted March 22, 2014 Share Posted March 22, 2014 me too. Any fix? Link to comment Share on other sites More sharing options...
julioabba Posted March 22, 2014 Share Posted March 22, 2014 Same problem as above, after update the module got screwed up, I had to install the older version again...I don´t like the way PS 1.6 force you to update the modules. Is that any way we can access the module outdated on the BO? Link to comment Share on other sites More sharing options...
lethal Posted March 22, 2014 Share Posted March 22, 2014 After working with Presta shop its hands down the best one to use, but a module rollback feature would be nice. Where did you find the older module? Link to comment Share on other sites More sharing options...
Morten Borg Posted March 22, 2014 Share Posted March 22, 2014 Same problem here. Worked perfect in version 1.0. After update to 1.1 the text is cropped when displayed on site. Hope PrestaShop fixes the bug soon. Link to comment Share on other sites More sharing options...
julioabba Posted March 22, 2014 Share Posted March 22, 2014 Lethal how u doing Bro?I've downloaded the PS Install from there website and removed the module folder from there.I've also edited the blockcmsinfo.php to make the prestashop think that the older version is the new one.Open the blockcmsinfo.php with the notepad and find the line:$this->version = '1.0';and change to:$this->version = '1.1';I hope it helps Link to comment Share on other sites More sharing options...
Morten Borg Posted March 22, 2014 Share Posted March 22, 2014 I have now downgraded by replacing with files from original PrestaShop installation. However now I can't edit - the edit button is now replaced by an update button.... PrestaShop: This is really not optimal that we're FORCED to update - in this case forced to update to a version with major bugs. Link to comment Share on other sites More sharing options...
julioabba Posted March 22, 2014 Share Posted March 22, 2014 Open the blockcmsinfo.php which is located inside the module folder with a notepad and find the line:$this->version = '1.0';and change to:$this->version = '1.1';after that the update mesage will desapear Link to comment Share on other sites More sharing options...
Morten Borg Posted March 22, 2014 Share Posted March 22, 2014 Open the blockcmsinfo.php which is located inside the module folder with a notepad and find the line: $this->version = '1.0'; and change to: $this->version = '1.1'; after that the update mesage will desapear Thanks I'll do that for now. However I think that PrestaShop need to redesign this behavior, thus not forcing users to update immediately if editing is required. Link to comment Share on other sites More sharing options...
wendypurnomo Posted March 22, 2014 Share Posted March 22, 2014 Hi guys, same problem here. no more formatting in this block after upgrading to version 1.1. it seems like the block must be fitted again into the theme. Link to comment Share on other sites More sharing options...
lethal Posted March 22, 2014 Share Posted March 22, 2014 Thanks Julio Worked like a champ, a module roll back feature would be nice. Link to comment Share on other sites More sharing options...
belisleian Posted March 23, 2014 Share Posted March 23, 2014 It is ridiculous that a new version contain a major bug like this. Please fix !! Link to comment Share on other sites More sharing options...
Dougadanny Posted March 23, 2014 Author Share Posted March 23, 2014 (edited) Regaring the fix work around... I can confirm: In Admin, uninstall the updated module, then delete it Delete the module files from server In the original Prestashop install files or your backup, go to [root]/modules/blockcmsinfo module and change the version number in the blockcmsinfo.php file.$this->version = '1.0';and change to:$this->version = '1.1'; Upload this original (previous version) module blockcmsinfo to your server modules folder Go to Admin and install and edit as necessary Previous version works with 1.6, not the latest, so don't update, change the version number. Just as others above have mentioned, I too had already posted another forum topic about this issue, beign forced to update. We should have the option not to update and still be able to configure modules without this version trick. Edited March 23, 2014 by Dougadanny (see edit history) Link to comment Share on other sites More sharing options...
pippobr80 Posted March 23, 2014 Share Posted March 23, 2014 Thanks...... Link to comment Share on other sites More sharing options...
xavigibert Posted March 26, 2014 Share Posted March 26, 2014 (edited) Problem solved: Just edit /modules/blockcmsinfo/blockcmsinfo.php and make the following change to line 194 Change this: foreach ($content as $key => $value) $content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); To this: foreach ($content as $key => $value) $content[$key]['text'] = $value['text']; Edited March 26, 2014 by xavigibert (see edit history) 1 Link to comment Share on other sites More sharing options...
cat1999 Posted March 26, 2014 Share Posted March 26, 2014 Problem solved: Just edit /modules/blockcmsinfo/blockcmsinfo.php and make the following change to line 194 Change this: foreach ($content as $key => $value) $content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); To this: foreach ($content as $key => $value) $content[$key]['text'] = $value['text']; Worked like a charm! Thanks xavigibert Link to comment Share on other sites More sharing options...
cyde.cz Posted April 4, 2014 Share Posted April 4, 2014 THX Link to comment Share on other sites More sharing options...
amanidanet Posted June 27, 2014 Share Posted June 27, 2014 No rules ;-( $this->version = '1.5.1'; I need downgrade to 1.1? Link to comment Share on other sites More sharing options...
amanidanet Posted June 27, 2014 Share Posted June 27, 2014 I have noticed that every time I edit the module adds a " so that the php code is: <li><em class="""icon-truck"""></em><div class="""type-text"""> when it should be like this: <li><em class="icon-truck"></em><div class="type-text"> You can erase a thousand times "e; (meaning " in ascii) because every time you give will add you to save that damn code again Can that be the problem? Link to comment Share on other sites More sharing options...
amanidanet Posted June 28, 2014 Share Posted June 28, 2014 Ok ... it's clear that this is the problem, on the console of Firefox I have removed the "e; over and... voila! icon appears ... Now I just need to find where I can make the module CMS_info stop putting "e; Link to comment Share on other sites More sharing options...
vekia Posted June 28, 2014 Share Posted June 28, 2014 hello your server uses magic_quotes? if so, try to disable them first. Link to comment Share on other sites More sharing options...
deepee Posted July 2, 2014 Share Posted July 2, 2014 Problem solved: Just edit /modules/blockcmsinfo/blockcmsinfo.php and make the following change to line 194 Change this: foreach ($content as $key => $value) $content[$key]['text'] = substr(strip_tags($value['text']), 0, 200); To this: foreach ($content as $key => $value) $content[$key]['text'] = $value['text']; Didn't work for me unfortunately. 1 Link to comment Share on other sites More sharing options...
Vaupell Posted July 5, 2014 Share Posted July 5, 2014 Didn't work for me unfortunately. Same here, the solution of changing blockcmsinfo.php at line 194 did not work. Link to comment Share on other sites More sharing options...
JonasOchiulini Posted July 10, 2014 Share Posted July 10, 2014 Meu modulo é o 1.5.1 e arrumei este problema desabilitando o "magic quotes gpc" do PHP. Criem um arquivo php.ini e digitem a linha abaixo. php_flag magic_quotes_gpc = Off Link to comment Share on other sites More sharing options...
Tacheles Clothing Posted July 18, 2014 Share Posted July 18, 2014 (edited) Problem solved Edited July 18, 2014 by Tacheles Clothing (see edit history) Link to comment Share on other sites More sharing options...
Chrisi1321 Posted August 1, 2014 Share Posted August 1, 2014 I have an issue with the custom cms info block as well. When i try to edit a page or add a new one and try to save it nothing happens. I have already tried to clear cache but thats not the problem. Console gives me the following error: Uncaught Error: Attempting to use a disconnected port object Also interesting is the following screenshot. Why is it showing 0 pages? Link to comment Share on other sites More sharing options...
Recommended Posts