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 425

Questions related to the ExpressionEngine "templating" system.

1 vote

Using SCORM with ExpressionEngine

In addition to Nathan's answer, you're probably going to want to build a add-on module to do the SCORM conversations and tracking, rather than anything frontend. So ideally you'll need PHP/CodeIgniter …
Peter Lewis's user avatar
  • 5,353
1 vote
Accepted

How to make sitemap template accessible from root?

You need to ensure your index.php rewrite happens after the rewrite to the template group. RewriteCond $1 ^(sitemap_index\.xml|sitemap\.xml|product-feed\.xml) [NC] RewriteRule ^(.*)$ /common/$1 [L] . …
Peter Lewis's user avatar
  • 5,353
5 votes
Accepted

How to get group_id of a Channel entry's author?

Documentation is a good place to start: http://ellislab.com/expressionengine/user-guide/templates/globals/single_variables.html http://ellislab.com/expressionengine/user-guide/modules/member/index.html …
Peter Lewis's user avatar
  • 5,353
2 votes

Relocating MSM templates

Whereas a non-MSM site would utilise "default_site" folder off of the templates folder, for a MSM enabled site, each site name (short name) would appear as folders inside the templates folder. … "system" folder would be the EE system folder (without the templates or third_party folders. …
Peter Lewis's user avatar
  • 5,353
3 votes
Accepted

How do I choose a different design template?

So that you can share elements (header, footer, etc), you might be using embeds to other templates. … site/index template {exp:channel:entries} {embed="content/{channel_short_name}"} {/exp:channel:entries} Will embed different templates based on your channel name (other templates would be in the …
Peter Lewis's user avatar
  • 5,353
2 votes
Accepted

Show child categories but hide parent

Add: {if {parent_id} != 0} ... {/if} (This only works for hiding root parents, not 3 tier structures) {exp:channel:categories channel="attachments" category_group="2" parent_only="no" style="l …
Peter Lewis's user avatar
  • 5,353
3 votes
Accepted

SEO in URLs - dynamic template names?

Your default template group index can catch these URLs and embed the relevant template you want to display to list products. But I'd be cautious on the amount of effort it will involve for little ben …
Peter Lewis's user avatar
  • 5,353
0 votes

Comparing the siteURL variable to the current URL

I expect that you're getting parse errors as EE can't handle the "+" symbol, as it's for mathematical addition, not concatenation. But fundamentally it won't work as {site_url} is parsed late, so can …
Peter Lewis's user avatar
  • 5,353
2 votes

Display Wordpress blog entries inside Expression Engine template?

Just to add to @jrothafer's answer, this should hopefully sort your import issue: Data Grab Article on importing Wordpress site into EE And I'd have to highlight his statement regarding maintenance …
Peter Lewis's user avatar
  • 5,353
3 votes

Grid "no_results" not working?

There is no no_result variable or condition for grid. Use total_rows instead. {if store_telephone_data:total_rows >= 1} ... {if:else} <td>N/A</td> <td>N/A</td> {/if}
Peter Lewis's user avatar
  • 5,353
0 votes
Accepted

Calling plugin function depending upon input to template

It is highly advisable to avoid using PHP in templates, in this instance it's even more important as you're taking raw POST data and doing no validation or security checks on it so opening your website …
Peter Lewis's user avatar
  • 5,353
5 votes
Accepted

How to tell if template is being accessed by mobile?

To extend Robson's answer, I've just been implementing this myself in the past few hours!: MX Mobile Detect and on Devotee I could simply detect which device it is (e.g. ipad, iPhone, blackberry, et …
Peter Lewis's user avatar
  • 5,353
3 votes
Accepted

Checking if there are any related entries

That won't work as the relationship is a tag pair, so at it's basic you could use: {if "{related_articles}{related_articles:title}{/related_articles}"} <h3>Related Articles</h4> {related_arti …
Peter Lewis's user avatar
  • 5,353
0 votes

Template that detect if an entry has "All Categories" and then if "Any Categories"

This still doesn't seem a great approach, but can't think of a better one, so to get your code working... It's not recommended to include a channel categories inside a channel entries (or vice versa) …
Peter Lewis's user avatar
  • 5,353
0 votes

Special Characters in Template Group Name (Chinese Characters)

You can't use template groups like that, it can't handle double byte characters, only alphanumeric. Ideally you need to use a multi-language add-on like Publisher or Transcribe which allow for transl …
Peter Lewis's user avatar
  • 5,353

15 30 50 per page