Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Using a flex-object to dynamically create a page

Started by Jan 1 year ago · 0 replies · 57 views
1 year ago

I've been working on this problem for a long time and have not found a solution yet. I use flex-objects to create events and display them chronological, which works fine. But I would like to be able to click on an event and to be its own page with further information and a form to sing up for.

So far I have managed that the title of each event acts as a link, which looks like this:

TWIG
<h3 class="titel">
            <a class="seminar-link" href="{{ base_url }}/seminare/{{ object.url }}">
{{object.titel }}</a>
</h3>

this does open a page with the correct url, but it only displays 'Error!' and I could not come up with an idea how to solve this or work around it.

Thanks in advance for any help.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 3 days ago
2 70 5 hours ago
General · by pamtbaau, 10 hours ago
1 45 9 hours ago
General · by Andy Miller, 22 hours ago
0 43 22 hours ago
General · by Marcel, 12 months ago
6 341 4 days ago
General · by Duc , 5 days ago
3 35 5 days ago