[FF] Showcase Enhancements

Add-ons [FF] Showcase Enhancements 1.2.12

Register & Get access to index
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 job xf-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.
Sorry about this, in my haste to copy and paste from the old addon, I missed an important part of code - yikes!

So this update fixes that (basically if you posted an item with no prefix at all it would fail)

As a bonus though and to say sorry about that, I've integrated another one of my addons into it.

Navigation Block Prefixes

If you enable this feature, the item assigned prefixes will appear in the navigation block, underneath the relevant category where the child categories go.

In this example "Ford Cars" is the real category, whereas "Fiesta", "Puma" and "Ranger" are just links to show only those prefixes in the "Ford Cars" category.

1672139251163.png



You can choose how they are sorted (or to turn them off entirely) in the admin option:

1672139355250.png

Note: As it works from cache which is updated when an item is added/edited - you'll need to edit an existing item and switch the prefix to something else then back again to build it the first time around. After this it will update automatically :) Yes I could have put that code in a repository and run on install, but I was tired ok!
Back
Top Bottom