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.
12
votes
11
answers
7k
views
How to make templates output JSON?
I am trying to use EE templates the same way I use CI controllers. …
7
votes
5
answers
3k
views
How to strip white space in EE?
I'd like the rendered markup to be absent any carriage returns, line feeds, or tabs. I'm looking for a functionality similar to Smarty's {strip} tag. Does EE have this?
6
votes
8
answers
2k
views
How to use a common template for all pages?
Is it possible to define some container template that might contain my <html> declaration, then inside it it'll just embed other templates depending on the page? …
5
votes
3
answers
299
views
Breaking my HTML into tiny pieces - template, snippets, or globals?
If I used templates, that's going to be a lot template calls.
I'm using Safecracker, but not sure if that matters here.
Suggestions? …
4
votes
3
answers
2k
views
Channel Entries - possible to search relationship field?
I need a list of all entries filtered by a relationship field. I thought I might be able to use the search parameter: http://ellislab.com/expressionengine/user-guide/modules/channel/channel_entries.ht …
4
votes
1
answer
1k
views
How to set and access session in EE?
How do I do this in the templates? My idea is to store a value in session and use it to decide whether to output this something or not. Any ideas what I should do in EE? …
3
votes
8
answers
352
views
How to tell what page I am on inside a template?
Is there a variable I can use to determine that name of the template that is currently being accessed/displayed? For example, if I have a /pages/home/ template, inside the home template I'd like to kn …
3
votes
3
answers
2k
views
How to link JS in template files ala CSS?
I like this feature for linking CSS within the templates:
<link href="{stylesheet='styles/main'}" rel="stylesheet">
The great thing about this is that it does versioning automatically, which means I …
3
votes
1
answer
554
views
Strange Stash Problem When Embedding
Parse error: syntax error, unexpected T_STRING in /home/devserver/public_html/system/expressionengine/libraries/Functions.php(683) : eval()'d code on line 12
I have no problems embedding other stash templates …
3
votes
1
answer
857
views
Looping Through All Channel Fields?
I want to display most of my Channel fields in a table (with some exceptions). Is there a way to loop through the Channel fields and display their labels and field values? Keep in mind that some field …
3
votes
1
answer
118
views
Birthdate in Channel Data - how to filter and display age?
Is that something I just compute in the templates? Or is there a better way?
I'm planning to use Low Search. Is there a way I will be able to filter something like "age is 25-30?" …
3
votes
1
answer
1k
views
Matrix in Template: how to get total rows?
matrix_field_short_name}
<h1>{total_rows}</h1>
{/matrix_field_short_name}
Outside the tag pair, it seems like this should work: {matrix_field_short_name:total_rows} per http://pixelandtonic.com/matrix/docs/templates …
2
votes
1
answer
404
views
SafeCracker Not Working?
I'm trying out SafeCracker for the first time. What I've done:
SafeCracker module is installed
Channel {test_profiles} is created with 1 field: {full_name}
The following code outputs nothing betwe …
2
votes
1
answer
285
views
Template Debugging - I can't see it
I can't see the template debugging information when I load pages (either in CPanel or templates). Another developer I work with can see them just fine on his machine. …
2
votes
1
answer
518
views
Channel entry details - what's the template group/template?
permalink} gives me something like this:
http://domain.com/2
(NOTE: I have removed index.php via .htaccess)
Shouldn't the URL be something like this:
http://domain.com/products/2/
Then maybe in my templates …