Questions related to the ExpressionEngine "templating" system.

learn more… | top users | synonyms

0
votes
1answer
9 views

How do I add a content-type header to my template?

I am trying to build out an api template inside our CMS to expose a particular channel as json. I'm going to call that channel "public." Here's the template that I have put together thus far: [ ...
0
votes
0answers
16 views

“The page you requested was not found” for member templates

After update to 2.9.2 I have "The page you requested was not found" for all member pages(registration, profile and so on). Can't understand what's wrong. I've checked .htaccess rules - ok, templates ...
0
votes
1answer
11 views

Content element gallery messing up everything

We are using content element module version(1.6.4) along with EE Version(2.9.2),and when using gallery tag in the template the output is simply showing other tags instead of information, please check ...
0
votes
1answer
25 views

Child Page templates

I have just downloaded the latest EE from Ellis Lab today. I am trying to create various child pages, each with a different template. Is this possible? I keep getting the following message: "An Error ...
2
votes
1answer
14 views

rawurlencode not rendering correctly in anchor tag?

EE Version. 2.7.3 I am running rawurlencode on a field in a channel called description to encode it to pass on correctly to twitters sharing url string inside my template. Example input: Check Out ...
1
vote
1answer
21 views

Structure Navigation Showing Hidden Entries

I have what seems like a pretty straightforward Structure navigation menu, but for some reason, the entries that "Hide from Nav?" set to "Yes" are still displaying in the navigation. The page is ...
0
votes
1answer
38 views

Low search showing repeating/too many results

The search is returning too many results and repeating the same result entries more then once. I have a second collection set up almost exactly the same which doesn't do this. Any idea what is going ...
1
vote
1answer
21 views

Is it possible to lock a template in Template Manager?

We have a template which is literally a template in the original sense: i.e. it contains code which is intended to be copied and pasted into a newly created template. Is it possible to 'lock' this ...
0
votes
1answer
12 views

Stash, Parsingorder (?) and conditionals if content exists

I am sorry to ask this, but I am stuck here. I must change (on two places) a css class if a channel entree exists. If yes, the class must be unit-70, if no, unit-90. This code below does not work, I ...
0
votes
2answers
29 views

Content on a page defined by text in a field, publications by year

I know someone out there has done this before. I need to build a publications page that will show it's list of publications by a given year which has been filled in a channel field. I've googled I ...
0
votes
0answers
31 views

Email Notification Templates {entry_url}

I've set up an automatic response when a new entry is posted, I've included the template below. It's working fine, but the {entry_url} is wrong, it's sending an older URL from the dev version of the ...
0
votes
1answer
40 views

no_parents/no_results Using playa entry results based on a url segment, want to display no results

I have a list that builds based on the URL segment. Sometimes there no entries for the segment and need to display "no results". I have tried several varations on this and nothing seems to work. Any ...
1
vote
1answer
21 views

What file contains my template definition?

I've just inherited a site that uses ExpressionEngine and CodeIgniter. I'm very excited about it, but I've immediately found myself at a standstill. I want to place a tracking script in the footer. ...
1
vote
2answers
44 views

Quick and simple way to determine which templates are used on an EE site and where

I have inherited a large EE site (upgraded to 2.9.2) that is, frankly, a mess on the backend (EE CP). There are many template groups and templates that appear to have been left behind from multiple ...
0
votes
1answer
25 views

Separate template path for a subdomain

I want to set the template path specifically for a subdomain - outside of the default_site templates, while still using the same site/entries/data. MSM isn't what I need here and related posts I can ...
0
votes
1answer
15 views

Search relationship or relationship conditional

I have this in my template: {exp:channel:entries channel="profiles" disable="categories|category_fields|member_data|pagination" {if segment_2}entry_id="not {segment_2}"{/if} ...
0
votes
1answer
20 views

SEO in URLs - dynamic template names?

I want to include certain field values in my URL's first segment. Since the first segment is the template file's name, I'm not sure how to do this. For example, say I have a template products. If the ...
0
votes
1answer
19 views

show expire date on rendered page, template code

This should be a simple one. I just want o show the the date a channel entry is set to expire on a rendered page as well as when it was made. The Entry is straight forward enough but I can't seem to ...
0
votes
0answers
57 views

Google Maps for ExpressionEngine Multiple Markers - incorrect display

ExpressionEngine 2.9.2 Google Maps for ExpressionEngine 3.3.8 Geocoder 1.2.0 I have a channel for branches and on the single entry page the map correctly displays the branches location using this ...
0
votes
1answer
59 views

Using Grid and thumbnails to create a photo gallery

I am building a photo gallery. I have a folder called "_small" which has small thumbnail images in to of the photo gallery images. I am using Expression image Grid to build the page. How do I call the ...
0
votes
0answers
31 views

expressionengine 2.5.2 - Parse error: syntax error, unexpected T_STRING in

I am new in expressionengine, and getting the following error Parse error: syntax error, unexpected T_STRING in /var/www/system/expressionengine/libraries/Functions.php(680) : eval()'d code on line ...
0
votes
0answers
29 views

Channel entry not showing up on homepage

For some reason my channel entry stopped working on homepage (index.html) template. I am calling the same channel entries in the header and footer and I am completely stumped as to why it stopped ...
0
votes
2answers
52 views

Displaying search results if more than one template group

i have been pulling my hair out trying to understand this so any help is appreciated. I have a channel 'Content' which is just the 'pages' of the site. My template groups are setup using only the ...
0
votes
0answers
15 views

weird behaviour when saving template

i just had fresh installation EE 2.4 and i worked with this copy on other hosting and its working charm now when i go to Template Manager trying to update Template in Template group it redirect me to ...
0
votes
1answer
22 views

{small_file_url} calling my thunb

When expression engine is creating a small file it is putting them in a folder call "thumb". How do I call that file from a template to render on the finished page? {m_topic_img} calls my full image ...
0
votes
1answer
10 views

Create a menu from a different channel on page with separate channel loop

I have a channel rendering a page. I need to make a menu for a different channel with in that page. the two do not seem to be able to work independently. Is there a way to do this maybe something ...
0
votes
0answers
15 views

Multi Site Manager not using correct templates

I have a set of three websites that use Multi-Site Manager (MSM). I need to create a copy of the three sites that will be totally independent of the first three (i.e. NOT extra sites within MSM). ...
0
votes
0answers
11 views

Clean up code and output code only once inside matrix loop

I'm trying to shorten code below. I need to output two ul (one for a left column and right column). Is there a way to put ul inside of Matrix loop and write a conditional to output each depending on ...
1
vote
1answer
21 views

Page responds with just a hash

Sometimes when I view my EE site on a local server, and less so on my live environments, I receive a 200 response which is looks like this: {c1a3de9f993f7deec04da3d5075ac7f9948848712} The next time ...
0
votes
1answer
17 views

Template group parsing index file even when not called

I'm experiencing some strange behavior with one of my template groups. There are two templates in the group, index and award. When loading the award template I am seeing content from the index file ...
0
votes
1answer
24 views

Matrix rows out of order when outputting

I'm outputting some images using a Matrix field, but they are outputting on frontend in a random order. I'm trying to output according to rows they are currently in. I tried using sort and orderby ...
0
votes
1answer
56 views

More than one relationship field per entry not working on tempate

I have a channel set up where it's necessary to relate 2 other channels using two different relationship fields. The relationship set up works OK within the CP. The problem is that I don't seem to ...
1
vote
1answer
60 views

Freeform form not showing

Really odd problem. Upgraded an EE site to latest version (2.9 from 2.5.2) with Freeform upgraded from 3.14 to 4.2.0. I've migrated all the relevant data using Freeform's built-in utility and updated ...
1
vote
2answers
44 views

Templates not being processed - tags are displayed

I've recently moved several ExpressionEngine sites from one server to another. Most are fine but one is now displaying template tags on the site itself. I don't really know where to start with this as ...
0
votes
2answers
46 views

How to update database templates from files?

I am working on an Expression Engine site where the "save templates as files" has been disabled. // config/config.master.php $env_config['save_tmpl_files'] = 'n'; I'm assuming this means that the ...
0
votes
1answer
29 views

If statement failing in with custom field on a specific post with certain value length

A very weird problem, but in a specific channel that has many custom fields I get a very peculiar problem with just one entry (as far as I can tell) where a particular custom field is failing only ...
0
votes
0answers
13 views

How you guys encode field content?

I just want to ask around how you guys encode the field content so it will be safe every time show out in the website? I using this http://devot-ee.com/add-ons/streeng Any better recommend? For ...
1
vote
1answer
46 views

Interspersed images and text

I have a matrix in my channel fields. and a Wygwam for text. I want in the end for the content creators to be able to load images to be interspersed with the text and then as they write the text ...
2
votes
1answer
45 views

Live Look Template

This is probably really simple - but I can't find the answer... We have set up a "Live Look Template" so that editors can preview an entry. QUESTION When an editor is logged in to the backend - Is ...
1
vote
2answers
68 views

Template Route Already in use

EE 2.9.0 I'm attempting to set up a template route for a new section of the site I'm working on. However when I do I get the error: Template Route Already in use I've set up a route for the ...
0
votes
0answers
38 views

How to use pagination?

I don't know how to get pagination to work, seems like it should be simple but I just don't know. I am new to this particular aspect of expression engine. Can anyone help. Here was what I did put in ...
1
vote
1answer
98 views

Formatting custom date fields within channel entries row hook

In Shortlist the {exp:shortlist:view} tag extends the channel->entries() method for it's parsing needs. This works and allows for full custom tag parsing without much extra effort, but runs into ...
0
votes
0answers
40 views

ExpressionEngine v2.9.2 upgrade Field Pack check boxes no longer working correctly

The EE is on the upgraded v2.9.2 and the P&T Field pack is on 2.1.1 only now none of the code works correctly. The field the containd the P&T check box is called "reference_type" the box to be ...
0
votes
1answer
64 views

Template routes and Pagination - blank page

I've got a blog listing template where pagination is not working as expected. I see the pagination links but when I follow one I get taken to a blank page. My template routes are: All links from ...
1
vote
1answer
36 views

How to rename template folder in EE 2.9.2 ? (Free version)

Who know, how to rename template directory? From /themes/site_themes/agile_records To /themes/site_themes/custom_name
0
votes
0answers
38 views

Ajax Template Parse

I am parsing a template file via ajax using $this->EE->TMPL->parse($template, FALSE, $site_id, FALSE ); $this->EE->output->set_output($this->EE->TMPL->final_template); but the output is prepended ...
1
vote
1answer
49 views

Toggle Editor not working after upgrade to EE 2.9.2

I just updated a site to EE 2.9.2 and the Template Editor is exhibiting funny behavior. If I click Toggle Editor, the row numbers truncate and the template text disappears. If I click it again, the ...
0
votes
1answer
38 views

Output EE template tags in a channel entry field?

I have a form I've created using DevDemon's 'Forms' module. To embed the form, it looks like I need to use {exp:forms:form form_name="my_survey"}. I want to embed this form into a blog post on the ...
1
vote
2answers
47 views

Link to CPanel from templates

From my templates, I want to link to my CPanel. The template is only accessible by those who do have permission to access the CPanel. How do I link to the CPanel from the template? The URL I see ...
0
votes
0answers
24 views

cURL inside EE templates

I'm trying to embed some custom PHP developed by an external company for one of our clients into an EE template. The standalone code they gave works fine on our server, so it's not a server issue. ...