Questions related to the ExpressionEngine "templating" system.

learn more… | top users | synonyms

0
votes
1answer
15 views

{member_group} not working in conditional

I have the following code: {exp:member:custom_profile_data} <div class="profile"> {member_group} {if member_group == "Super Admins"}You are a Super Admin{/if} ...
0
votes
2answers
21 views

Display Wordpress blog entries inside Expression Engine template?

I have a prospective client whose current site is a combination of HTML pages and a Wordpress news blog. The blog has hundreds of entries and the client wants to leave that in WP rather then attempt ...
0
votes
0answers
10 views

Curly Brackets not Renderings Correctly… what causes this?

I have a snippet in my template that looks like this <div class="author-bio"> {visitor:mbr_bio} </div> It renders like this <div class="author-detail"> ...
1
vote
1answer
33 views

parse=“inward” question

I have the following tag that creates a simple search form: {exp:search:simple_form channel="{exp:stash:get name='listing_channel'}" result_page="blog/search" no_result_page="blog/search" ...
0
votes
0answers
7 views

Customizing the default EE email layout

I am using EE's contact form {exp:email:contact_form} for user submitted queries on my site and would like to know if its possible to customize the layout of the email it sends? Currently I have ...
1
vote
1answer
61 views

EE 3.1: Cannot save templates as file

I get the following errors in EE3.1: mkdir(): Invalid path ee/EllisLab/ExpressionEngine/Library/Filesystem/Filesystem.php, line 87 and file_put_contents(): Filename cannot be empty ...
0
votes
0answers
12 views

Stash and Channel Images with embed not working

I've seen a few similar questions on here but none that have been able to help me fix my problem. I'm trying to set a list of page images with stash and the channel images add-on. I'm trying to use a ...
0
votes
1answer
13 views

Outputting a Matrix inside of a Playa field

I've found a couple other posts regarding same issue, but can't seem to resolve with any solutions out there. Everything is outputting fine except content in tag pair {studies_outline_block}, which ...
0
votes
2answers
34 views

Comparing the siteURL variable to the current URL

I am quite new to Expression Engine and am trying to get a handle on the template system. I have a nav with items that I want to set to active if they link to the current page I have the link built ...
0
votes
1answer
20 views

An Error Was Encountered

In the admin CP, I receive this error: "This form has expired. Please refresh and try again." This happens when I try to change a template, create one, or save anything to the site. Refreshing and ...
0
votes
0answers
8 views

PHP in Template - Can't save

So I've never experienced this issue before...enabled PHP for a template and just put something simple in there: <?php echo "test"; ?> That's it. When I click on Update, I get a Forbidden ...
0
votes
0answers
18 views

Common Heade/Footer for multiple sites on sub/different domains

Is there a way that I can embed common header/footer on multiple sites either on sub or different domains with absolute URLs OR Configurable URLs and Styles?
0
votes
0answers
15 views

Module Settings Column

I am creating a competition website. For the competition I am creating a custom module. The module has a cp backend where I want to be able to add some details about the competition. For example, ...
0
votes
0answers
16 views

Can't combine row/column channels into table using only core functionality

Is there a way to combine row and column channels into an html table while allowing the column to override row default values using only core EE functionality in the template or channel entries? This ...
1
vote
2answers
39 views

Benefit of Saving Templates as Files in Expression engine

Aside from being able to edit files without the Template Manager – is there any advantage to saving templates as files in ExpressionEngine? Is that increase or decrease website speed? Does it improve ...
0
votes
1answer
19 views

template_group and template_name not matching segment_1 and segment_2

Using EE 3.0.5 http://example.com/documentation/style_guide template_group: documentation template_name: index segment_1: documentation segment_2: style_guide The style_guide template is not ...
0
votes
0answers
15 views

In EE3 can I query the Model service for template info in my template's PHP?

I want to do something like: $templates = ee( "Model" )->get( "Template" )->all(); //Loop through them foreach( $templates as $template ) ... But when I try this, it hangs the page/server. ...
0
votes
2answers
29 views

How do you conditionally embed a template based on template name?

I have created a .header template that goes in all of the content templates on a site. However, there are only two templates that require additional jQuery code inside the .header template. I don't ...
0
votes
0answers
7 views

Trouble viewing top image and also changing text color

My top image on certain pages is not showing up on the website. Also, certain pages have pulled a top image from who knows where overriding the image I had uploaded. Also, I am having issues changing ...
1
vote
1answer
18 views

Channel does not show entries on specific template site

I have a very weird behaviour: One of my channels does not show any entries on one specific template site. I use the following EE tag: {exp:channel:entries channel="gallery_slider" category="6" ...
0
votes
0answers
8 views

Is there a way to change the character limit on template names?

I'm saving templates to files, and I've encountered an issue I'm not sure how to fix. I'm dynamically inserting an embed on the basis of a category segment like so: ...
0
votes
1answer
28 views

EE Always Loading Site Default Template

I just did a DB upgrade from 2.4 to 2.10.1. And I switched my templates to save as files. And I am having issues where EE will always load the site default template index. I've removed Pages and ...
0
votes
1answer
42 views

Use template at root directory using Template Route Manager

I use EE 2.10.1 and the Template Route Manager to show a specific template at the root of my site (e.g. http://www.example.com/). My setup in the Template Route Manager resembles the screenshot: I ...
0
votes
1answer
21 views

Avoid <p> in output of channel fields

I created a channel "project" with several channel fields. For my question I am using the example of a field called "White Header", the short name is white_header and is is of Type Text Input. When I ...
0
votes
1answer
16 views

Exp:resso Store - Customise Admin Order Print View

I'm trying to work out what the best way to edit the layout of the Order Print View is so that it can fit with my clients Packing Slip Paper (it has special sticker areas for the shipping address ...
0
votes
1answer
15 views

Strong Tags inserted into Expression Engine

Over the weekend, one of my sites has "strong" tags inserted everywhere. I checked the templates, they are the same. Any idea how they could have gotten in there?
1
vote
1answer
27 views

Code-driven way to enable PHP parsing on a template

Still a bit new with EE2, but I'm looking to be able to construct a way we can push changes up in environments, without having to sync up database-level stuff. Right now I have several templates that ...
0
votes
2answers
34 views

blank lines in parsed templates where template tags / logic exists

I am noticing a lot of extra blank lines for the lines where my template logic exists. I notice this mostly when I'm building javascript. How do I go about preventing this? Example: <script> ...
0
votes
0answers
7 views

ExpressionEngine templates: variable inside expression [duplicate]

How can I change the "placeholder" attribute in this code dynamically? {freeform:field:fullname attr:placeholder="Enter your full name"} I've tried this: {freeform:field:fullname ...
0
votes
1answer
36 views

Notifying member list for new topic in forum

Is there any way to change the recipients of the 'Admin Notification of New Entries' email template without making all the recipients admins?
0
votes
0answers
30 views

embed template showing erorr

When embedding a template gets error message described in the image attached.. need an immediate help.. thank you {html-head} {global-stylesheets} {js-header} {main-nav} {main-nav-2} {html-head-end} ...
0
votes
1answer
33 views

Limit entries for each category

I have this tag which pulls entries from all categories: {exp:channel:entries channel="foto" category="1|2|3" limit="15" } //content {/exp:channel:entries} Is it possible to pull 15 entries per ...
1
vote
2answers
34 views

Use config variables in templates?

Is there a place in EE to store custom config variables and access them in the templates? I need to be able to use these variables in conditionals as well as output them. Furthermore, I need to have ...
0
votes
1answer
14 views

Issue with PHP reading times in template

I have this PHP code in one template (contact.html): <?php $on = 830; $off = 1730; $now = intval(date("Gi")); echo "<!-- ".$now."-".$on."-".$off." -->"; if($now > $on ...
0
votes
0answers
33 views

form in iframe with phpmailer in root dir

Trying to use a form in an iframe in an EE template. I have two files in a directory in root (directory is called /goldmine): /goldmine/form.html /goldmine/PHPmailer.php Works fine when calling ...
1
vote
1answer
85 views

Where is the CMS login page template?

I need to add some logic for a plugin in the CMS login page but I can't find the correct template to modify. How can I find the template used by /admin.php? What have I tried so far: I can see that ...
0
votes
3answers
53 views

Display different templates as entries on the index page

I'm trying to figure out a way to display each entry in a channel on one page but allow for those entries to utilize different templates. The templates would be various layouts for a section and each ...
0
votes
1answer
29 views

Template Debugging: which entry is actually slow?

I'm trying to see why it takes almost 3-4 seconds for my template render. I enabled template debugging. Looking at the output, I have computed 0.7 seconds between two steps in the templating process: ...
0
votes
0answers
18 views

Fiedtype to allow selection of layout using thumbnail images?

I'm looking for a field type that could let my client choose a certain template for the single page of an entry. I'm thinking a radio button field type but i'd like to show the option as an image.. ...
0
votes
1answer
65 views

{site_url} global variable not outputting in php header redirect

Trying to create the following redirect template for some structure pages, however the url is outputting like this http://example.com/{site_url}#section. Any idea why {site_url} variable isn't ...
0
votes
0answers
18 views

Adding content elements in a low-variables pair resolves in PHP-errors

When choosing content elements as field-type in low-variables, I get a PHP-error (severity: Notice). {exp:low_variables:pair var="var"} {textarea} <blockquote class="blockquote"> ...
0
votes
1answer
31 views

Deleting old templates from CP

How can I delete old templates that no longer exist in my repo from EE cpanel? I can see you can multi-select and sync, but is there a way of deleting them?
1
vote
2answers
24 views

Admin->Synchronize Templates, show Only changed?

How can I modify the code to show ONLY templates that have changed? I think it kind of ludicrous to show unchanged templates in the Synchronize Templates page.
0
votes
1answer
44 views

running 2 sites on 1 installation

I'm going down the classic route of 2 sites within 1 install for a client who has a multi-lingual site with Transcribe. For those not familiar with that approach, here's the background. What we're ...
0
votes
0answers
35 views

Adding pages/templates to Member Profile Templates?

Is there a way to add pages or templates to the existing member profile templates? I've created a duplicate of the default member profile templates and have been styling and modifying that. But I need ...
0
votes
1answer
26 views

Template won't embed on one entry page but fine on everything else

I'm trying to add my embedded contact form template to one page for a blog entry. I've never had an issue with this template or embedding it until now. Here is my code. {embed="inc/html_header" ...
0
votes
1answer
55 views

Is there a way to configure a custom separator for channel field checkboxes?

I am working with a template where items are filtered by their checkbox values. The each item can have multiple checkbox values, and when they are selected the checkbox values are separated with a ...
0
votes
1answer
36 views

Sending JSON from Plugin to template in a redirect?

I have a plugin that loops through some code and builds an array of results then redirects the user to a results page. How can I pass the results to the redirected page without using the URL segment? ...
0
votes
1answer
35 views

I want to use the reserved word in template group

i am using ee for the first time, and i try to make a web design explanatory website, but I have a problem that the word 'css' cannot be used for template group name because it is a reserved word. I ...
0
votes
1answer
40 views

Why are all snippets loading several times on page load?

I have a simple about page being rendered with the content of only one entry and some Low Variables bits. It's rather slow (3.8806 seconds according to the Output Profiler), and the Template Debugging ...