Code Monkey home page Code Monkey logo

everblock's People

Contributors

cyssoo avatar rompiot avatar vmulot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

everblock's Issues

Version 4.6.3 and 4.6.4 do not show anything!!!

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.

Block size - add none block

Please add non-block element here with value="none"

(no rows class is better for advanced operations)
image
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}

Forgotten </div>

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

Layout block with Prettyblock

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.

thanks for your help
block2

Problème avec Smart cache" pour le code JavaScript

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

Errors when clicking Add Object ID hooks into theme in module configuration

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!

Consider using GitHub releases for releases

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.

Issue on Admin Product page (hook displayAdminProductsExtra)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.