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.
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? …
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 …
1
vote
1
answer
1k
views
Uploaded Image: how to get height and width? Restricting height and width?
One of my channels allow users to upload images. Two problems:
I've defined a max width and height in the file upload preferences (and my channel field uploads to that). However, I am able to upload …
1
vote
1
answer
311
views
How to format currency in the templates?
Is there a native way to do this? Or must I use an add-on like: http://devot-ee.com/add-ons/price-format?
0
votes
2
answers
132
views
Dynamic Main Navigation?
I'm trying to avoid having the client/user actually make edits in the templates. …
0
votes
2
answers
84
views
How to manage templates?
Say I have the following URLs for my Channel entry page:
http://site.com/used-toys/231/
http://site.com/new-toys/235/
NOTE: the pattern is: template_group/entry_id
They use the same Channel and di …
2
votes
3
answers
2k
views
Template Embed: how to embed JSON?
I need to create a series of templates that output a JSON string for Ajax to consume and utilize in the frontend. My other templates could benefit from using this as it too needs the same data. …
1
vote
2
answers
331
views
How to make sitemap template accessible from root?
I have created a template that outputs my XML Sitemap dynamically (via Channel entry loop). Currently, it's in commmon/sitemap.xml. How do I tell EE that whenever http://somedomain.com/sitemap.xml is …
2
votes
8
answers
715
views
What are options for a better built-in template editor?
I'm not too happy with EE's template editor. It would be nice to have the following:
Show line numbers (and column numbers maybe)
Tab support
Ability to increase the height of the editor
Are there …
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 …
1
vote
5
answers
742
views
Custom variable within tag pair?
I need to restructure the channel entries (I'm trying to group them by one of the channel fields). For example, say I have a list of fruits and each fruit had a color. I'm trying to group these fruits …
1
vote
1
answer
396
views
Useless variable when looping channel entries - relationship field
I'm looping through channel entries. When I try to output the value of a relationship field, I seem to be getting some sort of numerical id (it's not the entry id of the current channel or the channel …
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 …
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 …