Message of the day:
All things frontend related. Not specifically SilverStripe related but more general
Anything about the frontend.
width & height is back on img-tag - in short chrome 79? & ff 71 will respect those values for aspect ratios on load (calculating layout) https://www.youtube.com/watch?v=4-d_SoCHeWE
I wonder what best practice now is - baseline or progressive images (jpgs)? Duno if this is even a thing with webp?
YouTube Video: Do This to Improve Image Loading on Your Website
@Josh M has joined the channel
@Jason Bradberry has joined the channel
@Carlo Bordin has joined the channel
@nightjarnz I had done that and still don’t get the anchor link for the holder as shown in the top code taken copy from page source on the browser, the second code show how it should be in end
@mark.b as per your example
$Breadcrumbs(20, false, false, true) - try instead
$Breadcrumbs(20, false, true, true)
SilverStripe CMS - this is a module for SilverStripe Framework rather than a standalone app. Use https://github.com/silverstripe/silverstripe-installer/ to set this up. - silverstripe/silverstripe-cmsHide attachment content
If I add a loop to the Bradcrumbs.ss template this is what I get, no breadcrumbs passed through
I can’t see how it’s working based of your template snippet. I’d encourage you to look at
vendor/silverstripe/cms/templates/BreadcrumbsTemplate.ss to see what I mean by not looping anything.
@thats4shaw it works but just can’t see the holder page, only
home / page and but not
home / holder / page I had just read if I do
$breadcrumbs(20, false, false, true) I can see see all the breadcrumbs but the
holder don’t have an anchor to go back to that page
Well that’s not going to work as you aren’t looping through anything.