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

Can you set custom ID's to flex objects?

plugins

Started by Apokaliptis 5 years ago · 0 replies · 662 views
5 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 Vladimir Novak, 2 weeks ago
3 292 2 weeks ago
Plugins · by Mathieu Lecouturier, 3 weeks ago
3 277 3 weeks ago
Plugins · by Slebeig, 2 months ago
1 403 2 months ago
Plugins · by Rene, 2 months ago
2 574 2 months ago
Plugins · by Xavier, 3 months ago
2 490 3 months ago