FilePicker fatal error when adding parameters to tag.
Posted: Thu Jul 20, 2017 1:43 pm
In 2.2.2 using FilePicker 1.0 if I add parameters (apart from 'profile') to the tag I get a fatal error. Even using the example code given in the help for the cms_filepicker tag.
gives the error:
At the moment there's no option when setting a filepicker profile to chose a value for 'type' when setting a profile so I'm not able to limit filetypes.
If the plan is to do away with passing parameters in the tag (fair enough) then we need to update the help text.
I'll log a bug anyway.
s.
Code: Select all
{cms_filepicker prefix=$actionid name=article_image top='images' type='image'}
Code: Select all
Fatal error: Uncaught Error: Call to undefined method FilePicker\Profile::adjustWith() in /var/sites/whatever/public_html/admin/plugins/function.cms_filepicker.php:22
If the plan is to do away with passing parameters in the tag (fair enough) then we need to update the help text.
I'll log a bug anyway.
s.