Coder Social home page Coder Social logo

oc-simplemenu-plugin's Introduction

OctoberCMS SimpleMenu Plugin

After the installation process, you will find a new component in your CMS area. It can be added to any page or layout, the integration works via the following code:

{% component 'alias' %}

You will likely want to add it to your main layout file. Once this is done, you will have to set a few options:

  • Menu class: The class attribute for the main menu (ul).
  • Submenu class: The class attribute for the sub menu (ul).
  • Item class: The class attribute for the menu items (li).
  • Active class: The class attribute for the active item.

There will be some sensible default values to provide a drop-in replacement for the existing demo theme navigation. I also cover this replacement in my video screencast: https://vimeo.com/96068398

On top of that, you will find a new settings tab in the Page editor called "SimpleMenu". This tab will give you the following options:

  • Show in SimpleMenu: Decide, weather to show the page in the navigation or not.
  • Displayed text: The text for the navigation item
  • Order: The higher the value the later it will appear in the navigation. (Also supports negative values)

oc-simplemenu-plugin's People

Contributors

alxy avatar

Stargazers

Dimitar Manovski avatar Amit Erandole avatar Benjamin Ruston avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

sinabio janusnic

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.