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 |
Questions related to the ExpressionEngine "templating" system.
0
votes
How to use a common template for all pages?
Quite frankly all the native approaches feel completely bonkers when you compare them to the elegance of using Stash or any of its predecessors (LG Replace/NSM Transplant/String/MX Jumper).
Use Stash …
19
votes
Accepted
What does "Enable Strict URLs" really mean?
My URL schematic points out the difference it makes to the regular flow - might be helpful:
http://www.jamessmith.co.uk/articles/expressionengine_url_schematic
As you can see from the diagram, it pr …
1
vote
Cross-Referenced Relationships
Doing this without Playa will be a world of pain. Without it I think there are two ways:
First, (and this is really bad for performance, but here it is anyway)... using an embedded template in place …
2
votes
Accepted
Looping through channel entries with categories
You can use the category_archive tag for this unless I've misunderstood your question: http://ellislab.com/expressionengine/user-guide/modules/channel/category_archive.html
2
votes
How to check for a boolean field?
It is not the case that you need to set your booleans as 'true'/'false' strings, it's that your variables array needs to be nested in its own array like this:
$array = array(array('show_data' => true …
4
votes
Accepted
Proper way to build URLs?
Whilst EE does have some built-in ways of interpreting your URLs (http://www.jamessmith.co.uk/articles/expressionengine_url_schematic) there's no reason you have to use those ways, and if your templates …
5
votes
EE Code within channel entries
Stash, yet again(!), is the answer:
{exp:channel:entries}
{exp:stash:parse process="end"}
{advanced_functionality}
{/exp:stash:parse}
{/exp:channel:entries}
... this does the trick …
2
votes
Accepted
Using Stash to get data from 1 of 2 fields
There's no need for conditionals as the fields are mutually exclusive. With Stash on the inside of channel:entries tags there's also no need for parse_tags or parse_depth since the enclosed content co …
0
votes
Separate template path for a subdomain
Yes, you're looking for tmpl_file_basepath
$config['tmpl_file_basepath'] = '/home/site/public_html/templates/admin_site';
You could also consider using FocusLab Master Config, which makes a multi-environment …
1
vote
a case for Stash or another approach?
Snippet would work, but personally I prefer a Stash approach since you can keep the list item markup in the same place as the data fetching logic. This is how I'm doing almost exactly the same thing, …