aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render
Commit message (Collapse)AuthorAgeFilesLines
* Before throwing a 'smarty3 dir does not exist' fatal error, try and create ↵redmatrix2016-08-281-1/+4
| | | | it. We did try and create it during install, but the template processor is initalised long before we get to that code (and throws that ugly error).
* add a couple of useful observer constructs to support identity aware pagesredmatrix2016-08-261-1/+12
|
* comanche: generalise the conditional variable usage and add $observer as a ↵redmatrix2016-08-261-19/+27
| | | | test. Update comanche doco to reflect recent changes.
* some more complex test scenarios for comanche conditionals: equals x, not ↵redmatrix2016-08-241-4/+40
| | | | equals x, in_array, and array_key_exists
* provide a mechanism for global template values (macro replacements that are ↵redmatrix2016-08-241-0/+6
| | | | available to all templates). There's a strong likelihood this list will increase but we may wish to actively prevent it from mushrooming out of control.
* don't set session theme unless logged in.redmatrix2016-08-161-0/+7
|
* move schema settings into the display settings main so we can set ↵redmatrix2016-08-151-1/+1
| | | | theme:schema theme selectors in settings
* deprecate the item_id table - replace with iconfig. A possibly useful ↵redmatrix2016-06-131-4/+5
| | | | function in the iconfig class would be a search which takes a service id and type and uid, matches against an item and returns the iid. That could save a bit of code duplication.
* move template stuff to zotlabs/renderredmatrix2016-05-204-0/+445
|
* support work for a long-term fix for issue #390, essentially one can specify ↵redmatrix2016-05-171-0/+131
| | | | a theme:schema string anywhere a theme is input. It will be honoured unless an existing schema setting over-rides this behaviour. This should also be backward compatible but the theme selection code has been cleaned up slightly and there may be subtle differences in behaviour after this commit. On my site this required a page refresh as the first page load after this change was a bit confused.
* Comanche: provide a variable '$region' which can be used within a layout to ↵redmatrix2016-05-121-3/+4
| | | | make content aware of where it is on the page. For instance this can be passed as a variable to a widget and trigger either a vertical or horizontal layout depending on which region it is assigned to.
* objectify comancheredmatrix2016-05-051-0/+404