Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
Accepted
Nested categories URI format on entries
can use leaves() to narrow the category query to only return leaf nodes (categories with no descendants), then use one() to return the first matching result:
{{ object.categoriesField.leaves().one().uri …
2
votes
Accepted
Section: dynamic Entry URI Format
You don't want to hardcode an ID (530) in a URI template. … So when you change the parent URI, you also need to resave all the other entries that use this entry for their URI in order to update their URIs. …