Ibexa DXP Discussions

Community discussion forum for developers working with Ibexa DXP

Content type URL pattern

is it possible to use published date in content type URL alias pattern? I tried <‘publishedDate’>-<short_title>

or am I limited to fields?

Hi and welcome @teuna! The Content name pattern is limited to fields, I think: https://doc.ezplatform.com/en/latest/guide/content_model/#content-type-metadata
But you could add the published date using a custom URL transformator: https://doc.ezplatform.com/en/latest/guide/url_management/#url-alias-patterns

Or you could add a published date field, whose default value is the current date, and use that.

Hello @glye and thank you ^^

I read in docs “The pattern usually consists of…” and I wasn’t sure what “usually” means because english

I will use built-in datetime field, I didn’t know I can make it readonly for editors

1 Like