Jump to content

Custom CMS information block v1.1 - Bugs?


Recommended Posts

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?

  • Like 1
Link to comment
Share on other sites

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

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

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

×
×
  • Create New...