Posted on 17/01/2022 15:02:59
Hi Nicolai
I had to add the custom page template in "Item page layouts" on page as well as choose it as the layout template in website settings. It didn't work to just choose it as the layout, even though i recycled the site by adding a temporary host header.
We are working on a customer website, that i can't post here, but i made a custom master with a to top link so it appears on all pages of the website. We haven't changed anything else, so it should still be fairly easy to update it when new swift versions are available.
i tried to add a feature with an anchor link to #content in the footer, but when i save, it changes the anchor link to http://#content, and therefore, it doesn't work:
I made this variable for the to top link:
var totopUrl = HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.RawUrl.ToString() + "#content";