Added two new permissions to items:
This allows you to separate item editing from attachment editing.
Error shown if "Delete own item attachments" is No/Never
Error shown if allowed, but time limit expired
The new version of Showcase brought in some new templates which needed to be modified for this add-on to correctly work.
The minimum Showcase version is now : 3.2.28
Changed "Item Quick Reply" from a checkbox to a dropdown.
"Bottom of item page" will appear above where the built in SC comments would be if you had them enabled.
"Directly below item" is as it sounds
Bug Fix - Drafts weren't being cleared properly on submission.
Added a new option to make a quick reply box appear on the main item page for items that have a linked discussion thread.
Anything typed in here, will be added as a reply to the discussion thread (and then redirected there after).
Removed the hardcoded CSS from the element and put everything in a ff_se_threadthumbnail.less template.
Also set the default CSS background position to "center" - so everything looks a bit nicer now.
Added a new option to replace the user's avatar on the thread listing page with the cover image thumbnail of the Showcase Item on a related discussion thread.
New option is found at the bottom of the Showcase options in the admin panel:
If you want to change how they look (for example to remove the border radius), you can edit the class scThreadThumbnail in your extra.less.
Fixed bug where you couldn't disable cover image generation (size wouldn't accept 0).
Fixed bug where rebuild could throw error on invalid cover attachments.
Changed default cover size to 0 (so disabled on first install)
Ok so I shouldn't have been lazy yesterday, I've now updated this to use template replacements so cover image thumbnails are now linked directly in the page (no 301 redirects anymore) - this will speed things up.
This means you can still go to the/cover-image
url to show the original full size one (which I think is quite useful)
Also added a new CLI jobxf-rebuild:ff-se-xa-sc-items-cover-image
so you can rebuild them all from the command line - thank to @Mouth.
Oh and if you are enabling the cover thumbnails on an existing site, you will need to run one of the rebuilds (CLI or admin area) otherwise Showcase will be linking to un-generated images.
Added feature to generate thumbnails (or reduced size images) from the cover images which are then delivered from the/data
folder instead of/internal_data
(so can easily be edge cached).
The default Showcase method is to show the full size attachment as the cover image, which means possible huge file downloads on the index pages and widgets.
You can now use a new option to set the max size for the generated thumbnail.
As there are so many instances of /cover-image in Showcase, I decided just to override the controller and 301 redirect to the new thumbnail - a little overhead there but nothing much
Once updated/installed - use the new rebuild cache task to generate thumbnails for existing items.
We use essential cookies to make this site work, and optional cookies to enhance your experience.