Skip to main content
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
Results tagged with
Search options not deleted user 167
3 votes

Get the ID of a new entry when it's saved

In a custom plugin you can hook into the saveEntry event: craft()->on('entries.saveEntry', function(Event $event)] { $entry = $event->params['entry']; // GET ENTRY ID $entryId = $entry- …
Clive Portman's user avatar
2 votes

Password protect whole staging site. Redirect to original page not working

{% requireLogin %} is intended for use with your own login form on the frontend rather than the standard /admin one. From the docs for loginPath: The URI Craft should use for user login on the fro …
Clive Portman's user avatar
2 votes

Redirect to another EntryType template if no Children exist

It might be easier to have the products point to the same template, then create two sub-templates that you include depending on the entry type. For example, I have a template called landing/pages/_en …
Clive Portman's user avatar