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 · 58 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, 4 days ago
2 76 7 hours ago
General · by pamtbaau, 13 hours ago
1 47 12 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago