Giter Site home page Giter Site logo

netgen-layouts / layouts-sylius Goto Github PK

View Code? Open in Web Editor NEW
21.0 5.0 1.0 547 KB

Netgen Layouts & Sylius eCommerce integration

Home Page: https://netgen.io/layouts

License: MIT License

PHP 92.35% JavaScript 0.18% CSS 0.16% Twig 7.31%
php symfony layouts sylius

layouts-sylius's Issues

Can't override slider template

Hi,

i am using V1.3.1 of the layouts-sylius and 1.3.0 of the layouts-standard.
I try to override the slider template because i need to get the images from aws and not on my server.
Did a classic override with a NetgenLayoutsStandardBundle directory in the templates directory. And overrided nglayouts/themes/standard/block/gallery/slider.html.twig.

But unfortunatly, nothing happen and i can't find a way to make a custom template. Is it a way i can do that ?

Thank you for you help

Page Layout Mappings error

Sylius version : 1.9
netgen/layouts-sylius version : dev-master

In BO page Layout mappings stay blanc (no content loaded). In console i got error :

Uncaught TypeError: Cannot read property 'style' of undefined
    at e.value (app.js?472b384:formatted:22409)
    at e.value (app.js?472b384:formatted:22181)
    at e.value (app.js?472b384:formatted:22165)
    at new e (app.js?472b384:formatted:22157)
    at app.js?472b384:formatted:22561
    at app.js?472b384:formatted:22571

More detail :
image

Step to reproduce :
Install Sylius, netgen/layouts-standard and netgen/layouts-sylius.
Load Sylius fixtures and login to BO.
Then go to Layout mappings page.

Error with incompatible interface after installing

Hi!

After running (per the docs)

composer create-project netgen/layouts-sylius-site my_project

The app explodes with:

Fatal error: Declaration of Netgen\Layouts\Sylius\Doctrine\ORM\ProductRepositoryInterface::findByTaxon(Sylius\Component\Channel\Model\ChannelInterface $channel, ?Sylius\Component\Taxonomy\Model\TaxonInterface $taxon, string $locale, int $offset, int $count, array $sorting = []): array must be compatible with Sylius\Component\Core\Repository\ProductRepositoryInterface::findByTaxon(Sylius\Component\Core\Model\TaxonInterface $taxon): array in /Users/weaverryan/Sites/knp/knpu-repos/practice/netgen_layouts_sylius/vendor/netgen/layouts-sylius/lib/Doctrine/ORM/ProductRepositoryInterface.php on line 18

Cheers!

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.