Add 4-image slider to Category Tabs prettyblock #765
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Description
fileuploadfields (slider_image_1..slider_image_4) to the Category Tabs repeater insrc/Service/EverblockPrettyBlocks.phpso each tab can store up to four images.views/templates/hook/prettyblocks/prettyblock_category_tabs.tplto collect any configured slider images and render a Bootstrap carousel (with indicators and prev/next controls) immediately before the products section when at least one image is present.prettyblocks-image-sliderclasses and lazy-loading attributes to integrate with current CSS/JS initializers and to ensure consistent appearance and behavior.src/Service/EverblockPrettyBlocks.phpandviews/templates/hook/prettyblocks/prettyblock_category_tabs.tpl.Testing
prettyblocks-image-sliderJS/CSS initializers already present in the codebase and should work when served in a running frontend environment.Codex Task