SvenM
February 8, 2025, 12:40pm
#1
Hello,
after the latest update I’m receiving the following error messge:
Unexpected error: Undefined variable $hasPageCopy in 130-page-1.0.3-38-33-menu_21-125-index-2.0.4-40-18-1-admin.view-1.template on line 601
But only on Album pages.
Could you help me, please?
Many thanks !
Sven M.
Matthew
February 8, 2025, 5:23pm
#2
Thanks. I’m looking into it.
Matthew
February 8, 2025, 5:33pm
#3
I’ve found the issue and making repair, and will ask @Ben to post the update whenever he comes online for the day.
Matthew
February 8, 2025, 5:35pm
#4
Btw, I love the design of your site.
1 Like
Ben
February 8, 2025, 9:13pm
#5
Hi @SvenM , I’ve applied @Matthew ’s fix. Please visit the Backlight Modules page and click Reinstall for Kookaburra Album.
This should clear the template cache, but if the error persists, then manually visit Designer > Templates > Clear Template Cache.
2 Likes
SvenM
February 8, 2025, 9:33pm
#7
cool - your feedback counts a lot - thanks !!!
1 Like
SvenM
February 8, 2025, 9:36pm
#8
Hi Ben - super - it works !
Many thanks for the super quick fix!
1 Like
Yes, Your site definitively deserves some feedback!
I like it a lot.
Compliments for Your photographic work and for site structure and design.
May I ask, how You included the video e.g. on the blog post about Your model job on photokina?
It seems not to be the standard embedding code offered by google? That iframe would have broken page width on vertical phone screens.
Matthew
February 9, 2025, 10:22pm
#10
I hope you don’t mind me stealing the look of your back/up chevrons in the footer. I’m adapting a version of it for the next update. A scroll-to-top has been on my roadmap a while anyway, and coming due.
SvenM
February 10, 2025, 5:18pm
#12
Many thanks for the good feedback !!
Sure - code to embed
<div class="responsive-video"><iframe width="560" height="315" src="https://www.youtube.com/embed/..." title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
.responsive-video {
position: relative;
padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
padding-top: 25px;
height: 0;
}
.responsive-video iframe {
position: absolute;
top: 5%;
left: 5%;
width: 90%;
height: 90%;
}
I hope it helps
1 Like