Download the PHP package vojtasvoboda/oc-brands-plugin without Composer
On this page you can find all versions of the php package vojtasvoboda/oc-brands-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vojtasvoboda/oc-brands-plugin
More information about vojtasvoboda/oc-brands-plugin
Files in vojtasvoboda/oc-brands-plugin
Package oc-brands-plugin
Short Description Brands plugin for OctoberCMS
License MIT
Homepage https://github.com/vojtasvoboda/oc-brands-plugin
Informations about the package oc-brands-plugin
Brands plugin for OctoberCMS
Show your brands, partners, projects, showcases, portfolio or anything else on your page. No other plugin requirements. Tested with latest October CMS build 382.
Key features
- list of all brands with pagination, category filtration and letter filtration
- customizable Bootstrap layout (1-12 columns)
- one brand can be in many categories, with logo and unlimited images
- show brand detail with a photo gallery
- translations implemented
- SiteSearch plugin native support
Use cases
- show clients logos with external links (or without)
- show projects for my clients represented by logos (with photogallery at brand detail)
- show partners with cooperation details
- show my portfolio with screenshots
Create brands page
- create new page
- if you want to filter by brand categories, insert category filter to URL:
/brands/:category?
- insert Brands component
- pick Brand page (brand detail) and Category page (brands in category)
- if you want to filter by letters, insert Brand letters component
Example of Brands page with category and letter filtration:
Create brand detail page
- create new page with URL like that:
/brand/:slug/
- insert Brand component
- pick Category page (page with Brands)
Example of Brand page:
Brand's links
Each brand can have multiple types of links:
- Link to brand detail - fill only slug and create brand detail page.
- External link - fill external link parameter, it will override internal link.
- No link - shows logo without any link, it will override all links above.
Extending plugin
I'm using this plugin as example how to build first plugin ever, because it covers managing one entity (create, update, delete, change order), create one relation (brand - category) and render all items at the frontend.
I also created examples, how to easily extend plugin's functionality and put all these example to Brands extending examples repository.
TODO
- [ ] fix page title at brand detail
- [ ] changing order for categories
- [ ] batch delete for categories
- [ ] tags management
- [ ] brand detail - paginator for gallery
Contributing
Please send Pull Request to the master branch. Please add also unit tests and make sure all unit tests are green.
License
Brands plugin is open-sourced software licensed under the MIT license same as OctoberCMS platform.