Fix local development setup#174
Conversation
CDN plugin rewrites all asset URLs to yourdomain.cdn.com (a placeholder), which prevents styles, scripts and images from loading locally. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document CDN plugin override and PHP memory limit increase needed for the kontakty page with ~30 PNG images. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extract repeated trainer HTML into partials/trainer.html.twig, reducing duplicated markup from ~220 lines to ~25 include calls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reduce padding and allow word-break on narrow screens so emails don't overflow the dotted trainer group boxes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
config pro php je treba upravit v https://github.com/otahirs/zbm_web/blob/master/Dockerfile#L45 |
…-photos Improved trainer photo thumbnails on Kontakty page
Nenapada Te spis proc se ta stranka prohani pres to |
|
(ono ostatne pokud se ty full fotky v PNG prehodi za optimalizovane JPG, tak to velmi pravdepodobne ani nebude potreba). Ty PNG zkusim vecer. |
|
na strankach to prave delalo paseku, ale prechod na |
To myslis to CDN? Nebude to vypnuti toho pluginu delat paseku po deploy produkcni verze? Ja si nejsem vubec jisty jestli jak to zareaguje po deploy na "prod". |
ano
config pluginu se nesynchronizuje, je to ok |
CDN plugin rewrites all asset URLs to yourdomain.cdn.com (a placeholder), which prevents styles, scripts and images from loading locally. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Document CDN plugin override and PHP memory limit increase needed for the kontakty page with ~30 PNG images. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…uto” indicating caching is disabled.
…l-dev-setup # Conflicts: # README.md # config/plugins/cdn.yaml
…some transformations defined will be cached)
…some transformations defined will be cached)
|
Za mne non-default setting "cache all" (aktualne je zapnuta) je za tim vsim. GD se pak bude pokouset zprocesovat vsechny obrazky (i ty ktere nemaji zadnou transformaci) a to jej na strance kontakty zahltilo protoze tam bylo 30x ~6MB PNG (= 180MB) oproti 128 MB pro PHP. Vraceni default hodnoty (cache all = vypnuto) tohoto setting by takove PNG nemelo nijak zpracovavat. Otevrel jsem novy PR protoze se mi tu nejspis nejak nepovedlo udelat spravne merge (neumim delat PRs pres forky ... ) a otevirt PR primo tady nemam opravneni - #178 |


Local development instructions seems to incorrect
Using current instructions from README.md, I had 2 issues with the pages:
kontaktypage, it was showing blank page.Am I doing something wrong?
Steps to reproduce:
cdinto cloned repositorySummary of PR changes
yourdomain.cdn.com), breaking styles, scripts and images