Giter Site home page Giter Site logo

odiseoteam / syliusbannerplugin Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 15.0 775 KB

Add Banners to your Sylius projects with this plugin

Home Page: https://odiseo.io

License: MIT License

PHP 84.07% JavaScript 4.54% Gherkin 3.42% CSS 0.55% Twig 7.42%
banners ecommerce php sylius sylius-plugin symfony

syliusbannerplugin's People

Contributors

bigboss86 avatar crespoep avatar damic88 avatar medteck avatar pocky avatar songecko avatar wadjeroudi avatar zales0123 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

syliusbannerplugin's Issues

Update documentation

In order to implement the plugin with :

  • Sylius 1.12.0
  • Symfony 6.2.1

Please update the part (4. Add the shop and admin routes) like that :
odiseo_sylius_banner_plugin_shop:
resource: "@OdiseoSyliusBannerPlugin/Resources/config/routing/shop.yaml"
prefix: /{locale}/banners
requirements:
locale: ^[A-Za-z]{2,4}(([A-Za-z]{4}|[0-9]{3}))?(
([A-Za-z]{2}|[0-9]{3}))?$
defaults:
_controller: odiseo_sylius_banner_plugin.controller.banner::indexAction

For me, this update work fine.

Thanks in advance.

Image filter with giff not working

Hi,

It is possible to support giff images ?
Upload is working well, but the filtering applied isn't working. Make the giff static.

Thank you

Controller "odiseo_sylius_banner_plugin.controller.banner:indexAction" does neither exist as service nor as class

Hi
I have followed the installation, th admin works and I can add banners but I get this error in the front:
{{ render(url('odiseo_sylius_banner_plugin_shop_partial_banner', {'template': '@OdiseoSyliusBannerPlugin/Shop/Banner/_banner.html.twig'})) }}

An exception has been thrown during the rendering of a template ("The controller for URI "/fr_FR/banners/partial" is not callable: Controller "odiseo_sylius_banner_plugin.controller.banner:indexAction" does neither exist as service nor as class.").

Image size got much heavier after uploaded

Hi
I have noticed that after uploaded images, the size became large than the original. For example, an image of 70kb, I got the uploaded image size 259kb, it's bad for SEO performance, do you have any idea?

Thanks

get images with api

Hello i setup SyliusBannerPlugin and it work well.

Now i want to get images by the API but i dont know the enpoint.

please somebody help!

Root folder issue

On our webserver we use the public_html as the root folder but the bundle still requires me to have a public/media/banner-img folder, it will refuse to upload any images if it doesn't have this folder.
The main image does upload to the public_html/media/banner-img route when i added the public folder but the cache images don't upload at all. I've edited it so that the banner image is the original image due to this, is there any way to change the upload root of the bundle to use it to it's full potential?

Small bug in routing

src/Resources/config/routing/shop/banner.yaml
now is
_controller: odiseo_sylius_banner_plugin.controller.banner:indexAction
...banner:indexAction
is to be:
_controller: odiseo_sylius_banner_plugin.controller.banner::indexAction

...banner::indexAction

The package does not work without jQuery

The package uses jQuery even when glide or swiper which are jQuery free packages are selected from the configs.

jQuery is really heavy. Frontend is much better without it :)

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.