Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Can you set custom ID's to flex objects?

plugins

Started by Apokaliptis 6 years ago · 0 replies · 814 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 DrPen, 1 month ago
2 478 1 month ago
Plugins · by renedebaaij, 2 months ago
1 350 1 month ago
Plugins · by Thomas, 1 month ago
1 375 1 month ago
Plugins · by complanar, 2 months ago
6 699 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 642 2 months ago