Hey there.
Maybe it sounds stupid, but i am still exploring Kirby.
I didn’t find anything in the cookbook and in my desperate i tried lots of solutions from diffent problems but it never helped.
Problem:
I simply want to creat a link to a subpage with an anchor. I guess i have to get the URL from the Tamplet (that by the way it not visible in the menu, couse it is just the legal notice) and place it in the “href”.
But how do i do that?
From the structure it looks as if you are using Kirby 3 but the category is Kirby 2?
What is the error message you get?
Please do a
dump(page('legal_notice');
Do you get an error or are you redirected to the error page when you click the link?
If the code is alright and you are redirected to the error page, check if the generated URL looks alright and if so, check if links to other pages are working.
You haven’t answered my question if the generated URL is correct. But it seems like rewrites are not working in your system. Is the .htaccess file in the folder, can’t see it in your screenshot, but hidden files are not shown in your system, it seems.
Please enable hidden files and check if you have copied the file.
You can toggle showing/hiding files with a dot using CMD+Shift+.
Well i was thinking it is worng, cause when i copy it in the bowser it is bringing me to the error page.
I am not shure how i expacting the URL to look like, to be honest. – so maybe it is right…
I’am using mamp(Version 4.2.1 (852)).
But i guess the problem of how to get an URL is solved. right? maybe we should make a new subject…