1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 15:57:01 +02:00

22 Commits

Author SHA1 Message Date
Ryan Cramer
dff3e8aaeb Refactor the Templates::getParentPage() method. This should hopefully fix processwire/processwire-issues#1929 ... also removed the Template::noShortcut check from that method since it didn't really belong there, and moved it to ProcessPageList and ProcessPageLister. Some phpdoc updates as well. 2024-07-01 10:59:20 -04:00
Ryan Cramer
50a7b4c7c4 Additional update for custom page classes for repeater page items. processwire/processwire-requests#239 2024-01-18 11:24:37 -05:00
Ryan Cramer
47f1e8a089 Fix issue processwire/processwire-issues#1670 plus minor optimizations to template importing 2023-01-26 09:55:19 -05:00
Ryan Cramer
ca344c838d Update $templates->delete($template) method to also delete fieldgroup (when not used elsewhere) 2022-11-11 14:04:56 -05:00
Ryan Cramer
b87566d0b3 Minor code improvements and housekeeping for various core classes and modules 2022-09-23 11:19:51 -04:00
Ryan Cramer
bf80df04e9 Various minor code updates 2022-05-10 08:24:50 -04:00
Ryan Cramer
fa3fb8ec89 Various minor code improvements to several core classes primarily aimed at improved IDE inspection and debugging 2022-05-06 14:04:14 -04:00
Ryan Cramer
fd538897d0 Fix issue processwire/processwire-issues#1542 2022-03-18 08:57:19 -04:00
Ryan Cramer
7796807d19 Fix issue processwire/processwire-issues#1532 2022-02-25 11:46:35 -05:00
Ryan Cramer
a5c70a4e7d Upgrade core to have lazy-loading option for Fields, Templates, Fieldgroups. Collaboration with @thetuningspoon for boot performance improvement on installations with large quantities of fields/templates/fieldgroups. Lazy loading option is enabled by default but can be disabled by setting $config->useLazyLoading=false; in your /site/config.php file.
Co-authored-by: thetuningspoon <mspooner@hey.com>
2022-02-04 14:51:11 -05:00
Ryan Cramer
e6a79dbbdf Make Fields::getTags() and Templates::getTags() hookable per @outflux3 processwire/processwire-issues#1369 2021-05-19 09:32:14 -04:00
Ryan Cramer
1b1dcc85db Add tag helper methods to Template class (to work with existing 'tags' property similar to the one in Field class) 2021-04-22 12:49:43 -04:00
Ryan Cramer
43cfdd9dfe Add new $templates->add() and $templates->rename() API methods 2020-12-31 15:54:30 -05:00
Ryan Cramer
542e138e42 Refactoring of core Template class to improve, optimize and simplify it, plus add new dedicated methods for childTemplates(), parentTemplates(), and allowNewPages(). 2020-03-20 14:13:33 -04:00
Ryan Cramer
273183ddfb Add support for custom Page classes 2020-03-06 14:13:22 -05:00
Ryan Cramer
710c222b5a Add a new Templates::fileModified() hookable method that is called whenever a change is detected to a template file. Plus update the Template and Templates class to make it possible for runtime modification of the templates path. 2019-09-20 10:46:47 -04:00
Ryan Cramer
8982c976c5 Various minor unrelated updates 2019-08-08 14:14:36 -04:00
Ryan Cramer
2e7db9c40f Fix issue processwire/processwire-issues#778 2019-04-01 11:49:10 -04:00
Ryan Cramer
c90fc3f872 Add improved Roles editor that now lets you manage permissions by template 2017-10-27 11:21:13 -04:00
Ryan Cramer
a07855c9f6 Minor adjustments, mostly phpdoc related 2017-08-02 11:16:32 -04:00
Ryan Cramer
36984e4a05 Updates to legacy code in ProcessTemplate, cleaning things up a bit 2016-11-02 12:27:01 -04:00
Ryan Cramer
bac5b0de5d Initial commit to new repo (carried over from: https://github.com/ryancramerdesign/ProcessWire/tree/devns) 2016-09-02 14:55:17 -04:00