This plugin adds a 'Loading' integration features to OctoberCMS.
Available options
- Speed: Time taken for loading logo once the page load disappear
- Background: Color Background
Important
The component must go after the scripts ({% scripts %}) of the page. I recommend putting it at the end.
Sometimes we want the logo loading while the user waits for the page to finish loading appears. This is what makes this miniplugin, save a few lines of code.
Quick start guide
- Go to the 'System' tab in October, and install the plugin using the CGGStudio.Loading code.
- After installation has finished a new component will appear in under Octobers 'CMS > Components' tab. You have the option to add this to only one page, or add it to a layout making it appear on all pages that use the layout. Whichever you chose the instructions are the same.
- Open the your selected page/layout, and add the component to it.
- Add this small code anywhere on the page/layout: {% component 'Loading' %} Be sure to use the correct alias, if you haven't changed it, then it should be 'Loading'. The position of the code doesn't really count, since the arrow has a fixed position.
- That's it. You now have a working 'Loading' button on your page. It has no outside dependencies, so you don't have to worry about anything else.
Colors
The Component requires you to add the hex color codes you prefer. This free online application can help you with that: http://www.colorpicker.com/
-
Tomas N
Found the plugin not useful on 13 Jun, 2016
Edit: plugins/cggstudio/loading/components/Loading.php -> onRun() $loading = new stdClass(); $loading->backgroundColor = $this->property('backgroundColorCGGStudio'); $loading->speed = $this->property('speedCGGStudio'); $this->page['loading'] = $loading;
-
ioCare
Found the plugin not useful on 2 Jul, 2015
Its not Working. Exception : Method not found!
-
1.0.3 |
Fix backgroundcolor Dec 06, 2014 |
---|---|
1.0.2 |
Added Russian language Dec 05, 2014 |
1.0.1 |
First version Dec 02, 2014 |