21 Commits

Author SHA1 Message Date
Anika Kaiser
77b1c119e9
Update Code and shortend it
the new code allows mutliple plugins using the custom hook instead of overwriting the existing array
2019-03-17 11:46:44 +01:00
Anika Kaiser
4f1c27255c
Update 60.plugins.php
With custom hooks, you can place your plugin's data anywhere you want. For example, you have a footer and you want to have links in your footer. There is a link plugin that displays links in the SiteBar with "<? Php Theme :: plugins ('siteSidebar');?>". If you put this code in your footer, all plugins that use "siteSidebar" will be placed in your footer. With my pull request you can now create your own hooks and it can be guaranteed that only a single plugin places its data there but only if its the only plugin implementing your custom hook.

How to create custom hooks:
in your plugin.php you have to place a  public function "registerHooks" returning an array of String.

´´´ public function registerHooks()
    {
        return array(
            "akLinks",
            "akBusinessHours"
        );
    }
```
2019-03-06 23:24:51 +01:00
Diego Najar
74687b0e65 search function 2018-10-01 16:34:28 +02:00
Diego Najar
d89e742fdf Change on variable name to , include new words to the dictionary 2018-08-05 17:54:20 +02:00
Diego Najar
1caddac331 Changes on variables names for Language 2018-08-03 19:03:09 +02:00
Diego Najar
d852cada22 Title in database, improves on Page Object, Perfomance improvements, TinyMCE and Bootstrap updated 2018-07-17 19:13:01 +02:00
Diego Najar
2b050abaea Dashboard improves 2018-06-03 21:51:47 +02:00
Diego Najar
9b30b9aff6 More hooks for admin panel 2018-03-19 19:55:31 +01:00
Diego Najar
d4afe3b843 Pages for Content 2017-10-02 22:42:18 +02:00
Diego Najar
3111c11ca3 plugins position 2017-07-30 23:15:33 +02:00
Diego Najar
139dfee1ec bug fixes on webhooks 2017-07-29 01:33:30 +02:00
Diego Najar
258e7304ab bug fixes 2017-07-29 00:08:19 +02:00
Diego Najar
556e5a2f73 Climode rescan 2017-07-05 19:59:51 +02:00
Diego Najar
ca9d1d81b9 Improves on plugins, post method, improves on database for plugins, css styling 2017-06-18 22:44:07 +02:00
Diego Najar
7d51652efc New plugins and plugins updated for v2.0 2017-05-27 19:46:46 +02:00
Diego
457c981208 removing posts 2017-05-17 18:48:51 +02:00
dignajar
6f9064046a Working on Dashboard 2016-08-08 23:43:33 -03:00
dignajar
6dacbdbd54 Plugins and themes compatibility 2016-06-19 21:45:09 -03:00
dignajar
100dce4c49 Comments on code and improves on API plugins 2016-05-30 00:36:13 -03:00
dignajar
5f37660496 updates 2016-05-07 00:10:10 -03:00
dignajar
e7890f4a71 changes on directories names 2016-01-20 21:29:01 -03:00