Ryan Cramer
|
d77b23adbb
|
Add a new $page->cloneable() method that returns true if the user is allowed to clone the page. Or use $page->cloneable(true) if the user is allowed to clone the page and its children together. This moves the logic was was previously in the ProcessPageClone module into a method that can be more widely used where needed. Also updated the ProcessPageClone module to use it.
|
2024-05-10 11:52:41 -04:00 |
|
Ryan Cramer
|
98fe7f94a0
|
Add support for a $page->sortPrevious property, which is populated with the old value when a page's sort value is changed at runtime.
|
2024-01-12 11:45:31 -05:00 |
|
Ryan Cramer
|
a2da7f1a22
|
Various minor updates
|
2022-09-02 13:13:08 -04:00 |
|
Ryan Cramer
|
16fd4d4ab7
|
Updates to PageProperties class. This was meant to be included in the previous commit resolving processwire/processwire-issues#1359
|
2021-03-30 08:05:14 -04:00 |
|
Ryan Cramer
|
7fe8e5f1fb
|
Add new $pages->findJoin() method and $pages->find("selector, field=title|summary"); option that lets you specify which fields to autojoin in a page finding operation. Also added is an experimental PagesLoader::findMin() method that finds and loads pages in one query rather than splitting them out into separate find() and getById() calls. For now, we just use this method to handle the findJoin() and joinFields options, but may expand its use later. This commit also contains numerous performance optimizations to the Page class, and several updates to the PageFinder class to support the new autojoin options.
|
2021-02-05 11:28:48 -05:00 |
|