Cards visible in the FE; /products cards wrapped into 33/33/33 grids
- the freshly attached card images did not show: text_only is the explicit no-image variant, so vitec:attach-card-images now flips a card to "vertical" whenever it carries (or receives) an image; and the new placeholder PNGs sat in the sshfs 770 trap - fix-asset-perms covers them, with public/product-audit added to its targets - new generic vitec:wrap-cards-grid --page=<slug>: wraps a page's cards into vitec_cols_33_33_33 containers (b13 columns 221/222/223), three per container, section-aware - every top-level intro paragraph starts a section, other element types close it, so the category headings on /products keep their grids beneath them. Existing grid containers are pooled and reused, surplus ones hidden - the first apply aborted mid-move and left a half state (15 empty shells, three cards moved; diagnosis migrations/check_grid_447.php, kept) - v2 repairs such states by design: global container pool, hard asserts after the create pass, try/catch around the move pass, and a final "no card left top-level" verification - applied on /products and verified live: 38 cards in 15 grids (sections 5/7/3/6/2/4/2/6/3 -> 2/3/1/2/1/2/1/2/1 containers), order intro -> grids -> banner -> faq intact, children delivered in the known items/contentElements shape Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c8d653b39b
commit
b0690c4cdc
4 files changed
+301
-5
No files matched your search
+2
-1
@@ -20,7 +20,8 @@ echo "[perms] Project root: $(pwd)"
|
||||
# importer output lands there (success_stories_import, blog-import, downloads,
|
||||
# user_upload/products ...) and hits the same 403 otherwise. Found 2026-09-11,
|
||||
# when the imported success-story images stayed invisible in the megamenu.
|
||||
TARGETS="public/_assets public/fileadmin packages/vitec/Resources/Public"
|
||||
# public/product-audit: generated report page (build_product_audit.php), same 403 trap
|
||||
TARGETS="public/_assets public/fileadmin public/product-audit packages/vitec/Resources/Public"
|
||||
|
||||
echo "[perms] Setting files 644 / directories 755 under $TARGETS ..."
|
||||
find $TARGETS -type f -exec chmod 644 {} \; 2>/dev/null
|
||||
|
||||
Reference in new issue
Block a user