Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Can you set custom ID's to flex objects?

plugins

Started by Apokaliptis 6 years ago · 0 replies · 737 views
6 years ago

Hello, I'm trying to make my own flex-object type. I read in the documentation
that:

By default, flex-objects page type takes two URL parameters, directory and id. They are used to navigate directories.

The example shown on that page suggests that the ID is randomly generated. I'm wondering if I can set my own unique ID's per flex-object? Like if I use one of the flex-objects fields that expect a unique value.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 2 weeks ago
6 351 1 week ago
Plugins · by BenLaKnet, 2 weeks ago
1 171 2 weeks ago
Plugins · by complanar, 1 month ago
2 453 4 weeks ago
Plugins · by Vladimir Novak, 2 months ago
3 740 2 months ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 578 2 months ago