teamever / everblock Goto Github PK
View Code? Open in Web Editor NEWFree Prestashop HTML block module
Home Page: https://www.team-ever.com/prestashop-module-bloc-editeur-html-illimite-shortcode/
License: Academic Free License v3.0
Free Prestashop HTML block module
Home Page: https://www.team-ever.com/prestashop-module-bloc-editeur-html-illimite-shortcode/
License: Academic Free License v3.0
I have tested version 4.4.4, and it perfectly loads the hooks with the content, but in versions 4.6.3 and 4.6.4, it does not show anything in any hook.
Does not generate any errors in debug mode.
PS 1.7.8.9 & PHP 7.4.33 - 8.1.18
PS 8.0.4 & PHP 7.4.33 - 8.1.18
Thanks.
Please add non-block element here with value="none"
(no rows class is better for advanced operations)
my proposition for $item.block,bootstrap_class
{foreach from=$everblock item=item} {if isset($item.block.add_container) && $item.block.add_container == 1} <div class="container"> {/if} {if isset($item.block.bootstrap_class) && $item.block.bootstrap_class != "none"} <div class="everblock everblock-{$item.block.id_everblock|escape:'htmlall':'UTF-8'} {$item.block.css_class|escape:'htmlall':'UTF-8'} {$item.block.bootstrap_class|escape:'htmlall':'UTF-8'} everhook-{$everhook|escape:'htmlall':'UTF-8'}" id="everblock-{$item.block.id_everblock|escape:'htmlall':'UTF-8'}" data-everposition="{$item.block.position|escape:'htmlall':'UTF-8'}" data-everhook="{$everhook|escape:'htmlall':'UTF-8'}"{if isset($item.block.background) && $item.block.background} style="background-color:{$item.block.background|escape:'htmlall':'UTF-8'};"{/if}> {/if} {$item.block.content nofilter} {if isset($item.block.bootstrap_class) && $item.block.bootstrap_class != "none"} </div> {/if} {if isset($item.block.add_container) && $item.block.add_container == 1} </div> {/if} {/foreach}
It would be useful to display a block on more than one category if necessary. I can make a PR, if you want 👨🏼💻
<!-- Module Ever Block -->
{if isset($everblock) && $everblock}
{foreach from=$everblock item=item}
{if isset($item.block.add_container) && $item.block.add_container == 1}
<div class="container">
{/if}
<div class="everblock everblock-{$item.block.id_everblock|escape:'htmlall':'UTF-8'} {$item.block.css_class|escape:'htmlall':'UTF-8'} {$item.block.bootstrap_class|escape:'htmlall':'UTF-8'} everhook-{$everhook|escape:'htmlall':'UTF-8'}" id="everblock-{$item.block.id_everblock|escape:'htmlall':'UTF-8'}" data-everposition="{$item.block.position|escape:'htmlall':'UTF-8'}" data-everhook="{$everhook|escape:'htmlall':'UTF-8'}"{if isset($item.block.background) && $item.block.background} style="background-color:{$item.block.background|escape:'htmlall':'UTF-8'};"{/if}>
{$item.block.content nofilter}
</div>
{if isset($item.block.add_container) && $item.block.add_container == 1}
</div>
{/if}
{/foreach}
</div> **<- Did you forget about this </div> ?**
{/if}
<!-- /Module Ever Block -->
Hi @CySSoO,
I'm trying to use the everblock "layout" component in prettyblock. But I have a little problem.
When I define the width of each column (50% in my example for the 2 attached columns), it works fine.
However, it should line up on the same line as it doesn't exceed 100%.
I've tested this on several instances, but it seems to be a general problem.
Depuis quelques versions (avant Mai) le module ne semble plus fonctionner si on laisse activé le "Smart cache" pour le code JavaScript"
(avec l'activation du cache, problème de panier vide et menu mobile qui ne fonctionne plus).
Sans le cache tout fonctionne très bien.
A noter que je n'ai qu'un autre module externe à presta : Ever Seo (incompatibilité possible entre les 2 modules suite peut être à de la répétition de codes qui serait inclue dans les 2 modules ?)
Je trouve assez étrange d'être le seul concerné par ce bug puisque mon presta est super léger sans module supplémentaire qui pourrait causer des conflits
Mille merci d'avance :)
Cédric
Hi.
When upgrading to PrettyBlocks version 3.0.1 or 3.0.2 the loading and configuration of PrettyBlocks is broken.
Greetings.
Hi,
Thank you for the nice module, however there are some issues if you care to take a look:
Errors when clicking Add Object ID hooks into theme in module configuration:
Unknown error on line 474 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Compiler.php
[8192] substr(): Passing null to parameter #1 ($string) of type string is deprecated
Unknown error on line 1543 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Unknown error on line 1543 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Unknown error on line 1543 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Unknown error on line 1462 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Unknown error on line 1462 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Unknown error on line 1462 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Unknown error on line 1462 in file /User/Work/dev/ps812/modules/everblock/vendor/scssphp/scssphp/src/Parser.php
[8192] preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated
Kind regards!
Many thanks for providing a block module! We just stumbled over it and consider using it in our projects.
However, once we use it in production it would be good to know what changes are done between releases and what we might need to do when upgrading the module.
Please consider doing releases view GitHub releases, so you can add some text describing the changes. This way its also more easy to follow the project.
When saving changes, it doesn't clear the cache every time
HTTP ERROR 500 on Back Office.
Nothing work on Back Office.
PS 8.1.3
PHP 8.1.127
Many thanks.
Clearing the cache deletes all the theme files, except the modules folder.
Please fix !!!
Many thanks.
Hi, i'm facing an issue when accessing admin product form.
Warning: Trying to access array offset on value of type null
HookCore::callHookOn(object(Everblock), 'displayAdminProductsExtra', array('_ps_version' => '8.1.3', 'request' => object(Request), 'route' => 'admin_products_edit', 'id_product' => 26164, 'cookie' => object(Cookie), 'cart' => null, 'altern' => 1))
prestashop 8.1.3
everblock 5.5.1
I have some other modules hooked on this hook . when disabling everblock module, no more error showing.
any idea why? thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.