Questions related to the ExpressionEngine "templating" system.

learn more… | top users | synonyms

0
votes
0answers
10 views

PHP Error from relationship field: Undefined offset: 95, Filename: relationship_parser/Tree_builder.php

I have a template that is pulling in the parents of a relationship field with the {parents} tag. I'm seeing a notice when I load the page for each of the {parents}. The child's data is just a text ...
1
vote
2answers
29 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 ...
0
votes
1answer
14 views

$_POST to EE template not working as expected

Using this form to post to itself is not working as expected. But why? <form method='POST' action='gen_req'> <input id='input' name='uid' placeholder='uid' /> <button ...
0
votes
1answer
41 views

URL and Routing Issues, anything other than index gives 404

Hi I am fairly new to ExpressionEngine, but I am having an issue navigating from the Index Page. When ever I click on a link to view an entry it always gives me a 404 error. I think it might be a ...
0
votes
1answer
13 views

Templating in Postmaster / Templating in General (Super Simple)

I am trying to figure out how to simply post channel information in a Postmaster email template and for the life of me I cannot figure out why I cannot. Lets say I have a news channel. Why wont this ...
0
votes
1answer
24 views

expressionengine does not display template page when logged out

in my project i have a products list page and when you click on each product you see the single project page, i have this structure in many projects and working fine, but in this project the single ...
0
votes
1answer
25 views

Random matrix image on homepage and interior pages

I have a Matrix channel field to display sponsor images in a sidebar. I want to output 1 random image on page load and give user the option to only show specific sponsors on the homepage with Switch ...
0
votes
1answer
27 views

Create WordPress Export File

I'm working with a client that wants to migrate from ExpressionEngine to WordPress. I have an EE template that is supposed to (and seems to) generate a WP XML Import file. However, when I import the ...
0
votes
1answer
41 views

Simple exp:channel:entries not working on specific template

I have a very simple exp:channel:entries tag that works on several template files but not on the specific one I want to use it on. I am new to Expressionengine, but from everything I know about it, ...
1
vote
1answer
19 views

how to make multi value variable in addon development

I am developing an addon for EE. i could not find a way to make a variable with multi value behavior. like: i would like to write in the template: {location:lat} {location:lng} this can be (Pair ...
0
votes
1answer
14 views

conditional to evaluate structure (url) field and current_url

I'm trying to create a conditional to determine if the structure entry url is the same as the global {current_url}. I created a structure field called, {product_category}. For some reason I cannot get ...
1
vote
1answer
13 views

NavEE selected_class=“on” becomes class=“yes” - possible to solve w/o updating styling?

I assume due to some bug in the parser, {exp:navee:nav nav_title="header" selected_class="on"} Outputs <ul> <li class="yes"><a href="/foo">Foo</a></li> ...
0
votes
2answers
26 views

Global variable as a module tag pair's parameter?

I'm trying to pass {ip_address} to a module, which isn't working: {exp:rest url="http://domain.com/{ip_address}" verb="get" format="json"} {/exp:rest} The {ip_address} is getting interpreted as a ...
1
vote
1answer
27 views

module template tag looping thru values in module template tag

I am building a module and I am looping thru data to set a value for each key, to be used as EE template tags. foreach($missing_fields as $field) { $count++; $vars = array( ...
0
votes
0answers
12 views

Scale-Out EE Hosting: One-Way File Based Template Support?

We have an expressionengine site hosted across a large farm of servers. We deploy new code to the servers via Puppet automatically following a Git check-in to our production repo. That workflow is ...
0
votes
1answer
46 views

Set Stash variable in Channel entry loop, then use in email contact form? Parse order issues?

The following is part of an embedded template, which is passed {embed:advertisers_entry_id} that contains a string like 34|68|124|: {!-- Set defaults --} {exp:stash:recipients}{/exp:stash:recipients} ...
0
votes
0answers
16 views

Template: How do we show Photo frame images from Objective HTML which are in a GRID row?

I’m using a grid with the photo frame field (2.6.2). But i can’t seem to get the correct output in a template. Its on EE 2.9.2 I’m using {pr_concept} {pr_concept:cc_pics} {photo:url} ...
1
vote
1answer
28 views

Adding quotes around a parameter causes error?

I have the following: {exp:email:contact_form charset="utf-8" form_class="customer-email-form" recipients={exp:stash:get name='recipients'} } Notice that the recipients parameter's ...
0
votes
1answer
50 views

Setting Stash variables inside Channel entry loop - parse order problems?

I'm passing an embed variable to an email form. The email form can either send an email to one member or multiple members. If the embed variable is just one entry id, then it's an email for one ...
0
votes
2answers
12 views

Parse Order: how to pass a value from PI as an embed variable?

I have a plugin that outputs a value, which I think I need to pass as an embed variable as I need to use that value as a parameter when calling the plugin again from within the embed. Here's the basic ...
0
votes
1answer
17 views

Any reason not to sync templates to database?

I have a site with a lot of templates. Some are edited right from the control panel, but some are edited from ftp by "save as file". I like to keep a bit of revision history, so that if I accidentally ...
0
votes
1answer
38 views

Transcribe replace returning weird string

It's my first time with EE and I'm modifying the template of an existing blog. It's multilingual so it uses code like {exp:transcribe:replace name='written_by'} to display different texts, in this ...
1
vote
0answers
28 views

Unable to create Template group within template manager

I'm currently in the midst of developing a new EE site and it has been going relatively well. Up until now when I've run into a peculiar problem which I have never encountered previously. (at least 6 ...
0
votes
1answer
14 views

Update page content via ssh rather than web interface

Im attempting to update page content (template content more specifically) in vim over ssh and have experienced trouble with the changes being committed. For example: I have a common footer template ...
0
votes
0answers
12 views

Playa with var_prefix no_children not working

I have some template code like this. {embed="_layouts/_main"} {exp:stash:set parse_tags="yes" parse_conditionals="yes"} {exp:channel:entries channel="blog" limit="1" dynamic="yes" status="open"} ...
0
votes
0answers
4 views

template edit page js error - does someone has similar error?

When you go to template editor via admin.php, I spotted error when opened console: Uncaught TypeError: Cannot read property 'url' of undefined ...
0
votes
1answer
37 views

Mystery template loading

A brand new EE 2.9 installation and it is NOT loading the updated version of a template. The template is called "index", lives in a "home" group and is set to be the Site Homepage The Template ...
0
votes
1answer
22 views

Cannot open any child page on site

I cannot open any child page generated by EE in 2 of my 3 sites which use Multiple Site Manager. Only my 'home site,' which contains all the EE system files, can open child pages. I have them listed ...
0
votes
1answer
30 views

New to Expression and have problems updating navagation bar

Site was out sourced and getting no response from developer. I need to add a new link to one of the navigation bars. There are 2 top navigation bars on my site. Main home page code: {html-open} ...
0
votes
1answer
29 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
38 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
22 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
27 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
29 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
33 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
44 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
23 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
16 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
37 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
56 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
53 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
36 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
29 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
28 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
27 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
80 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
70 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
63 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 ...