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 answers only not deleted user 57
2 votes
Accepted

Replacing core services

Currently not possible, but I really like the idea of a plugin being able to swap out what craft()->search points to, whether it's ElasticSearch, Lucene, etc. I'll add it to our internal list, but yo …
Brad Bell's user avatar
  • 67.6k
2 votes

Custom static assets

The problem with putting them in your templates folder is now PHP/Craft is going to try and serve them. Meaning that you've got the overhead of PHP and Craft when trying to request every single asset …
Brad Bell's user avatar
  • 67.6k
1 vote

How do I add a tab to my home page

The front-end of a Craft site is 100% custom and leaves you with complete control over the HTML, CSS, JS and images that are generated, so there's really no way for us to give you step-by-step instructions …
Brad Bell's user avatar
  • 67.6k
2 votes

Sort entries by most popular

Nothing native, but you could probably pull it off either with this plugin or something similar to it.
Brad Bell's user avatar
  • 67.6k
2 votes

How do I add class to redactor format list?

The link you referenced is assuming that you've got full-control over the output/HTML of the page and you've already got an instance of Redactor up-and-running. In the context of Craft, the only plac …
Brad Bell's user avatar
  • 67.6k
0 votes

Extending UserController

While not a direct answer to your question, as of the next (post 2.4.2702) Craft release, Craft will now return a validation error on the UserModel if a non-image is uploaded for the user's profile ph …
Brad Bell's user avatar
  • 67.6k
0 votes

Using getCriteria with a custom element type

ElementType is a native Craft class, so it doesn't know about the Badges_Badge const you're trying to access. You can either do it by adding your own class that adds a Badges_Badge const, like you di …
Brad Bell's user avatar
  • 67.6k
1 vote

no element type exists with getCriteria and custom element type

Are you sure you actually need a custom element type here? Depending on what you're going for, Models might be enough. …
Brad Bell's user avatar
  • 67.6k