Hello,
I am trying to create a video library that will have anchors and links from an index. The index and the videos will be on the same page.
I found this thread but am not sure how to insert into a page and what to change.
On the fact that contao uses the base tag in HEAD
HTML Code:
<base href="http://example.org/">
a hash like #myId isn't enough. You additionaly have to use the actual page (folder) name. For this to achieve you can use the insert tag {{env::request}} (what is this and what do I need from my site)
Code:
{{env::request}}#myId
The rest is as in every HTML-page: your link
HTML Code:
<a href="my-page.html#myId">myId</a>
leads to an element with the ID "myId" on that page.
Here is the link
https://community.contao.org/en/show...-to-link-Image
I'm sure it is very simple but I could use some direction.
Thanks for you help in advance.
Don
Bookmarks