Code Monkey home page Code Monkey logo

environment-ribbon's Introduction

Environment Ribbons for SAP Commerce

ko-fi

Ribbons

Install

  1. Download this repo as zip
  2. Unpack the zip to your hybris/bin/custom folder
  3. Add the envribbon extension to your localextensions.xml
  4. Build

If you want to add a ribbon component to your storefront:

  1. Add envribbonaddon to your localextensions.xml
  2. ant addoninstall -Daddonnames="envribbonaddon" -DaddonStorefront.yacceleratorstorefront="<your storefront>"
  3. Build
  4. Update system
  5. Add a EnvRibbonComponent to your FooterSlot
    (check the demo data included in the addon for details)

Notes

  • You can "click through" the ribbon (CSS pointer-events: none)

  • There is a single CSS file that controls the style of the ribbon everywhere:
    envribbon/resources/envribbon/envribbon.css
    (Build callbacks take care of copying the stylesheet where it is needed)

  • If deployed in a CCv2 environment, the extension will auto-detect the environment (code and type)

  • For on-prem environments (or if you want to override the detected values), you can use:

    ribbon.environment.code=<environment identifier>
    ribbon.environment.aspect=<aspect name, optional>
    ribbon.environment.type=<type>
    # development, staging, production

environment-ribbon's People

Contributors

mpern avatar mpern-sap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

environment-ribbon's Issues

Add Ribbon to the SmartEdit view

Dear Marcus,

is it currently possible have the Ribbon also added to the SmartEdit view ?
Or does it showup in smartedit too when adding the component EnvRibbonComponent the FooterSlot?

Thanks,
Kai

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.