Ryan Cramer
|
397bb0b382
|
Lots of updates to the Inputfield Javascript API (inputfields.js) with several new methods including icon() which can get or set the Inputfield icon, header() which returns the InputfieldHeader element, content() which returns the InputfieldContent element, and addHeaderAction() which lets you add custom icon actions to any Inputfield. Also updated the existing label() method to allow for setting the Inputfield label/header text (previously it could only get). The addHeaderAction() method is the most significant addition, so I'll write more about that in the weekly update.
|
2024-05-10 11:58:56 -04:00 |
|
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
|
4e2ef8f8fd
|
Minor fix in inputfields.js where it wasn't always triggering the 'opened' event when it should
|
2024-05-03 13:57:13 -04:00 |
|
Ryan Cramer
|
bbaa5570fb
|
Update InputfieldFile and InputfieldImage to support file_context so that the same file/image field can appear more than once in the same editor. This was already supported with for repeaters, but now can be supported by other cases (and is used by PageEditChildren module). This also includes some minor refactoring in InputfieldFile.
|
2024-05-03 13:54:22 -04:00 |
|
Ryan Cramer
|
dcd820064b
|
Update InputfieldRepeater.js to support more context options beyond nested repeaters and ListerPro.
|
2024-05-03 13:50:28 -04:00 |
|
Ryan Cramer
|
bae44f93ce
|
Update Page::editUrl() method to support a 'vars' (array) option that contains additional query string variables that it should bundle in to returned URL
|
2024-05-03 13:48:32 -04:00 |
|
Ryan Cramer
|
c38c204824
|
Update Fieldgroup::getPageInputfields() to support user-specified $container element (InputfieldWrapper) rather than creating one (as used by PageEditChildren module)
|
2024-05-03 13:47:50 -04:00 |
|
Ryan Cramer
|
38eadb46d8
|
Bump version to 3.0.238
|
2024-04-19 14:44:42 -04:00 |
|
Ryan Cramer
|
4e2d798d49
|
Add support for custom jQuery UI datepicker settings in InputfieldDatetime per processwire/processwire-requests#523 and also makes several new options interactively configurable in the field settings (Input tab > Datepicker settings fieldset).
|
2024-04-19 14:37:18 -04:00 |
|
Ryan Cramer
|
a37f237900
|
Update installer to exclude some $config settings when already supplied by site profile's config.php, so that it's not duplicating any settings when writing /site/config.php
|
2024-04-19 12:02:01 -04:00 |
|
Ryan Cramer
|
29ecddadeb
|
Update the ProcessWire.alert() javascript function to support an expiration time after which the alert will automatically close.
|
2024-04-19 11:59:43 -04:00 |
|
Ryan Cramer
|
57b23ef9fe
|
Add $inputfield->setLanguageValue($language, $value) and $inputfield->getLanguageValue($language) to Inputfield class when LanguageSupport is installed. This provides a nicer API for getting/setting multi-language values with Inputfields (where supported). Previously you could only get/set by dealing with "value1234" type settings where 1234 is language ID.
|
2024-04-19 11:57:39 -04:00 |
|
Ryan Cramer
|
3c0e9f3c43
|
Add a $datetime->strtodate() function which works like strtotime($str, $format) but returns a formatted date string rather than a timestamp. Also update the $datetime->strtotime() function to accept an inputFormat option which lets you specify the format the given date string is in, for cases when it may not be recognized by PHP based purely on format; and an outputFormat option which lets you specify the format it should return in rather than a timestamp (essentially delegating to the new strtodate method).
|
2024-04-19 11:53:44 -04:00 |
|
Ryan Cramer
|
def74f7b6d
|
Minor refactor of WireArray::__toString() method
|
2024-04-19 11:48:07 -04:00 |
|
Ryan Cramer
|
7a85039896
|
phpdoc improvement in Template.php
|
2024-04-19 11:47:31 -04:00 |
|
Ryan Cramer
|
432e369990
|
Minor adjustments in ProcessPageTrash
|
2024-04-19 11:46:34 -04:00 |
|
Ryan Cramer
|
9a6963a644
|
Add feature request processwire/processwire-requests#186 which adds the configurable option to always use the full clone form. Also updated it to show a count of how many pages would be cloned when cloning children, and added dropdown options to the submit button so that you can optionally edit a page after cloning. Added icons to all inputs as well.
|
2024-04-18 11:33:24 -04:00 |
|
Ryan Cramer
|
76388b48e6
|
Fix ProcessPageClone issue processwire/processwire-issues#1909 plus add option to choose whether children/granchidren/etc are unpublished, and make the getSuggestedNameAndTitle() method hookable
|
2024-04-18 10:33:13 -04:00 |
|
Ryan Cramer
|
d8ae8f9177
|
Fix issue processwire/processwire-issues#1904
|
2024-04-18 09:13:01 -04:00 |
|
Ryan Cramer
|
9e6b89cf93
|
Fix issue in PagePathFinder where LanguageSupportPageNames module in use without using homepage language segments, combined with multi-language PagePathHistory module, could result in default language incorrectly detected from URL.
|
2024-04-08 09:08:19 -04:00 |
|
Ryan Cramer
|
7438ae90ca
|
Fix issue processwire/processwire-issues#1903
|
2024-04-05 13:00:26 -04:00 |
|
Ryan Cramer
|
6aa698343b
|
Fix issue processwire/processwire-issues#1902 plus some code for an unrelated feature I hadn't yet committed
|
2024-04-05 12:01:51 -04:00 |
|
Ryan Cramer
|
9eb9f88090
|
Update "Parent" section field in page editor to provide contextual options based on template family settings and access control, when available. This means it now gives you a <select> of allowed parents (when known by family settings) rather than a PageListSelect. This is preferable because a PageListSelect doesn't know about which parent pages are allowed until after submitting the page edit form.
|
2024-04-05 11:14:00 -04:00 |
|
Ryan Cramer
|
9737b4e15d
|
Update Page::moveable method to also consider its template.parentTemplates setting so that it can return false when no potential parents exist using allowed templates. Also should fix processwire/processwire-issues#1901
|
2024-04-05 09:56:50 -04:00 |
|
Ryan Cramer
|
37416f8bcc
|
Update PageList to add new classes to items: 'PageListNotPublic' when page is not public for viewing to guest user, 'PageListNoFile' when page has no template file. Plus some other minor optimizationsin while there.
|
2024-04-03 10:24:48 -04:00 |
|
Ryan Cramer
|
e0f67aa55e
|
Bump version to 3.0.237
|
2024-03-28 13:24:09 -04:00 |
|
Ryan Cramer
|
91c15f666a
|
Fix issue processwire/processwire-issues#1898
|
2024-03-28 10:57:16 -04:00 |
|
Ryan Cramer
|
ffdd9729e4
|
Fix issue processwire/processwire-issues#1892
|
2024-03-28 10:36:30 -04:00 |
|
Ryan Cramer
|
718c93b056
|
Fix issue processwire/processwire-issues#1894
|
2024-03-28 10:30:36 -04:00 |
|
Ryan Cramer
|
68d9ec9b42
|
Fix issue processwire/processwire-issues#1895
|
2024-03-28 10:23:18 -04:00 |
|
Ryan Cramer
|
fb12fb7750
|
Fix issue processwire/processwire-issues#1896
|
2024-03-28 10:03:16 -04:00 |
|
Ryan Cramer
|
6e1d7b166d
|
Fix issue processwire/processwire-issues#1897
|
2024-03-28 09:35:40 -04:00 |
|
Ryan Cramer
|
21949387b4
|
Various minor updates
|
2024-03-28 09:01:54 -04:00 |
|
Ryan Cramer
|
0852242866
|
Update default AdminTheme.scss to limit align left/right/center classes to img, figure, div, etc.
|
2024-03-28 08:59:51 -04:00 |
|
Ryan Cramer
|
4f55480fc7
|
Update PageValues class to call $page->getField() rather than $this->getField() since it may be overridden by descending Page object (RepeaterMatrixPage for example)
|
2024-03-28 08:48:21 -04:00 |
|
Ryan Cramer
|
3256cb9000
|
Update installer so that it works if site profile is already installed in /site/ rather than /site-name/
|
2024-03-28 08:36:56 -04:00 |
|
Ryan Cramer
|
55a241e2f1
|
Fix issue processwire/processwire-issues#1893
|
2024-03-22 14:45:24 -04:00 |
|
Ryan Cramer
|
5b257c6031
|
Fix issue processwire/processwire-issues#1899
|
2024-03-22 14:33:45 -04:00 |
|
Ryan Cramer
|
38757b1baa
|
Fix behavior of PageFinder when selector has multiple fields before a != operator and no values after the operator, i.e. a|b|c!=
|
2024-03-15 15:50:12 -04:00 |
|
Ryan Cramer
|
d7502b669a
|
New methods for LanguageTranslator class (Note for examples: $translator = $user->language->translator()) - $translator->getTranslationInfo($textdomain, $text) returns verbose array of information about the translation, where it came from, etc. $translator->getTranslationOrFalse($textdomain, $text) returns translation text if translated, or false if not (rather than default language value). $translator->findTranslations($text) searches across all translated files to find all translations for given text. $translator->findTranslation($text) searches across all translated files to find the first available translation for given text.
|
2024-03-15 15:41:09 -04:00 |
|
Ryan Cramer
|
5fe181c315
|
Update ProcessPageSearchLive to simplify id searches when using single equals sign
|
2024-03-01 15:57:20 -05:00 |
|
Ryan Cramer
|
4b55979624
|
Update ProcessModule to improve the readme URL generation
|
2024-03-01 15:56:31 -05:00 |
|
Ryan Cramer
|
4099035708
|
Update PagesVersions to force singular mode
|
2024-03-01 15:56:08 -05:00 |
|
Ryan Cramer
|
9770138eee
|
Update PageFinder so that joinType ('join' or 'leftjoin') can be modified by the fieldtype when/if needed
|
2024-03-01 15:55:32 -05:00 |
|
Ryan Cramer
|
04041bb54a
|
Fix issue processwire/processwire-issues#1890
|
2024-03-01 09:37:50 -05:00 |
|
Ryan Cramer
|
128538fcd8
|
Refactor of FieldtypeToggle module getMatchQuery() method to add more potential match possibilities but also to fix processwire/processwire-issues#1887
|
2024-02-29 12:01:53 -05:00 |
|
Ryan Cramer
|
76ad3ab984
|
Add feature request processwire/processwire-requests#519
|
2024-02-23 14:17:09 -05:00 |
|
Ryan Cramer
|
f893cec515
|
Add feature request processwire/processwire-requests#520 - ability do disable (hide) image items in a multiple image field
|
2024-02-23 13:20:37 -05:00 |
|
Ryan Cramer
|
837a8fd32a
|
Add feature request processwire/processwire-requests#522 which adds the ability to delete webp variations independently of jpg/png variations, including for the main/non-resized image.
|
2024-02-23 10:57:03 -05:00 |
|
Ryan Cramer
|
37ef2c9070
|
Add pasteFilter tests in TinyMCE readme file for later reference
|
2024-02-23 09:36:25 -05:00 |
|