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.

Plugins

Can you set custom ID's to flex objects?

plugins

Started by Apokaliptis 5 years ago · 0 replies · 516 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 Rene, 1 week ago
2 49 1 week ago
Plugins · by Xavier, 4 weeks ago
2 57 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1184 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 50 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 75 2 months ago