Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:extensions:colorizer:developer [2014/01/02 17:16] swarnat |
en:extensions:colorizer:developer [2015/03/30 15:07] (current) swarnat |
||
---|---|---|---|
Line 6: | Line 6: | ||
At the moment the only feature you could extend are the condition functions like "is empty", "is equal", "is_lower", ... But this is the only point, which is interesting for you. | At the moment the only feature you could extend are the condition functions like "is empty", "is equal", "is_lower", ... But this is the only point, which is interesting for you. | ||
- | In the directory **modules/Colorizer/functions/** you see a file called **core.inc.php**. | + | In the directory **modules/Colorizer/extends/functions/** you see a file called **core.inc.php**. |
Here you could see the definitions of the original conditions and the structure you need to create your own functions. | Here you could see the definitions of the original conditions and the structure you need to create your own functions. | ||
Line 33: | Line 33: | ||
* **dynamic** Is this check is done after “ajax-edit” (true) or after pageload (false)? | * **dynamic** Is this check is done after “ajax-edit” (true) or after pageload (false)? | ||
- | Availables types for blockType: **boolean, string, picklist** | + | Availables values for blockType: **boolean, string, picklist** |
==== Examples from core.inc.php: ==== | ==== Examples from core.inc.php: ==== |