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
1 vote

Contact Form - ReplyTo or Output fromEmail

I'm generally including the email in the message body in every project by tweaking the plugin like so... Open controllers/ContactFormController.php and look for: $compiledMessage = ''; and then, b …
Clive Portman's user avatar
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

Frontend form database error with empty Users field

Figured it out. If you want to return an empty Users field, the field name attribute has to look like this: <select name="fields[teacher]" value=""> But if you want to return a non-empty Users fiel …
Clive Portman's user avatar
1 vote
2 answers
64 views

Frontend form database error with empty Users field

Within a frontend Add Product form (using Craft Commerce) I'm having problems with a database error whenever a Users field is left empty. …
Clive Portman's user avatar