Jump to content

Blockcmsinfo is not working properly


kollek

Recommended Posts

Hi Dears, 

I would like to report, that blockcmsinfo after ugprade to 1.1 version is not working correctly. Content is not formating and it shows only limit words. Version 1.0 worked OK.

Karol

Même chose pour moi: après maj vers la version 1.1: plus d'icone, plus de formattage du texte et pourtant le code source est toujours là ...

<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>

Quelqu'un a-t-il eu le même problème ?

Link to comment
Share on other sites

Même chose... très ennuyant... 

Plus de formatage après validation... 

j'ai essayé de désactivé/Ré-activé ; supprimer/ré-installé  ; réinitialiser le module , mais rien n'y fait !!!!

 

Quote

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);

 

et ça maeche à nouveau !!!!  merci Fabien

Link to comment
Share on other sites

Yes There is a fix.

 

1. De-install the 1.1 version

2. take the original 1.0 module and copy it per FTP to your Module directory

3. edit the line         $this->version = '1.0'; and change it to         $this->version = '1.1'; (it will avoid to update to 1.1 again !)

 

That's it ! and now, the module is working properly

  • Like 2
Link to comment
Share on other sites

Yes There is a fix.

 

1. De-install the 1.1 version

2. take the original 1.0 module and copy it per FTP to your Module directory

3. edit the line         $this->version = '1.0'; and change it to         $this->version = '1.1'; (it will avoid to update to 1.1 again !)

 

That's it ! and now, the module is working properly

 

Thank you so much!! That works! :D

Link to comment
Share on other sites

  • 4 weeks later...

is possible insert html code in this block ?


<div id="xxxx_widget_e8653715a96c6b6c"></div>
<script src="//widget.zoorate.com/js/feed_v3.js" type="text/javascript"></script>
<script type="text/javascript">
var zoorate_params = {
"zoorate_site_key": "",
"zoorate_widget_css": "merchant_big.css",
"zoorate_widget_type": "merchant_big",
"zoorate_widget_id": ""+"|"+document.URL,
"zoorate_widget_server": "widget.xxx.com"
};
do_widget(xxx_params);
</script>

Link to comment
Share on other sites

×
×
  • Create New...