Replies: 4 comments
-
"Allow Twig shorthand variables to be used in default fields" sounds really cool. Would this allow you to use Twig's |
Beta Was this translation helpful? Give feedback.
-
Thats correct, although note the use of full Twig syntax using For instance: |
Beta Was this translation helpful? Give feedback.
-
Awesome. One small issue I noticed in the logs - it appears {whatever} is getting treated as a Twig variable in content fields:
I think the actual field value is |
Beta Was this translation helpful? Give feedback.
-
Yeah, thats a bit of a tricky one, as thats essentially a Twig error. If you specify a field handle that doesn't exist I've actually just improved this a little in the latest master. |
Beta Was this translation helpful? Give feedback.
-
I'm guessing this isn't possible right now, but it would be handy to be able to set relative expiry dates for imported items (e.g. 30 days/2 months/1 year from time of import). I'm keen to use relative expiry dates for a side project where aggregated content (RSS items) will pass through Craft. Cheers ✌️
Beta Was this translation helpful? Give feedback.
All reactions