07975 997026 enquiries@ harpanet.com
This library is maintained and available on GitHub (https://github.com/hArpanet/CodeIgniter_hDash).
hArpanet/hDash/assetsfolder to your CodeIgniter root folder, eg.
/assets(see core file locations below).
By default, hDash will generate a 3 column dashboard and look for widget content within /assets.
All defaults can be changed through configuration settings directly within the calling Controller, or globally through the hDash config file.
1. Setting from within your controller:
$hdash->option = 'value';
2. Setting within hDash configuration file:1)
$config['option'] = 'value';
A single-content widget is a widget that only contains content from a single source.
A multi-content widget is a widget that contains content from multiple sources.
When a widget definition has a 'type'⇒'oop', content for that widget will be generated by calling a specified OOP Controller located in the 'oop_path' location. The name of the controller is specified in the 'src' parameter.
The 'oop' type is primarily used when dedicated widget Controllers are created to generate content (a more modular approach). If you have an existing CI application controller you can place a method within your controller to generate widget content if you prefer. In this case you would use the 'html' type (see full example above).
Q. I have an image that is very wide, but hDash forces it to fit within the widget/popup window. How can I view it full size?
titleparameter, which could be useful as a section header.