Questions related to the ExpressionEngine "templating" system.

learn more… | top users | synonyms

0
votes
1answer
9 views

Calling plugin function depending upon input to template

I have a template that takes input from a form and and does several operations. These operations call plugin functions and I'd like one of them to call a different function if one of the input ...
1
vote
0answers
13 views

MSM Page not found

I have an EE installation on domain_A and want to use this also on domain_B with Multi Site Manager. Installation was successful because i can acces the CP from domain_B and setup stuff. I created a ...
0
votes
0answers
11 views

How we call snippet in ee forum template

I have snippet "abc" and it's return numeric value. I want to call this snippet under forum template file. How we can achieve this. Please check and advise
0
votes
0answers
16 views

Php explode is not working iniside expression engine template

This is my code in module. $categoriesCount = count($categories); $categoriesString = ""; if($categoriesCount > 0) { foreach($categories as $categories) { $categoriesString.=$...
0
votes
2answers
27 views

Best Practices: Template Update

Updating EE 2.9.2 with A COMPLETELY NEW "template". What are some best practices for implementing a completely new design (graphical site overhaul) without taking down current site or losing current ...
0
votes
0answers
17 views

Using EE & AngularJS for an SPA

I am looking into building a SPA with EE as managing the backend and serving as an API from a api.group for the front-end of Angular to consume. As far as the API goes, I was going to serve JSON from ...
0
votes
1answer
22 views

Want to display all but 1 category in channel entries loop

I would like to display all but 1 category in my channel entries loop. I tried doing category="not .." but it doesn't work. Here is my code {exp:channel:entries channel="lm_edit" sort="desc" ...
0
votes
1answer
12 views

Forbidden: You do not have permission to access this document - When attempting to save a Template

EE Version 2.10.1, PHP 5.3.27 Neither have been updated since installed. And as much as I would LOVE to upgrade to EE v3.x, I cannot due to some of the Add-Ons not having been upgraded. This appears ...
1
vote
2answers
55 views

Unable to upload files

I need to get images added to a team page, however there is no error message showing, when viewing images that are in the library, they are showing as checkered boxes (checkered wallpaper). Not ...
0
votes
1answer
52 views

MSM Path Trouble in EE3

In EE2 there was the "Server path to site's templates" for each site in MSM. So it was possible to have two separated folder structures similar to: domain-A.tld (with whole ee system) /system /...
0
votes
1answer
11 views

Special Characters in Template Group Name (Chinese Characters)

We have a translated page in Chinese just so we can give the Chinese users a quick understanding in there language what the website is about. We want to display it here: domain.com/中文 Where 中文 = ...
0
votes
2answers
13 views

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

I have a series of entries in a channel called "Messages" that need to appear in different ways according to if ALL categories have been assigned, or if less than all have been assigned. The most ...
0
votes
1answer
22 views

Grid “no_results” not working?

Am I using no_results properly? Even when the grid doesn't have any data, I cannot get the "N/A" to output in the templates: {store_telephone_data limit="1" offset="0"} {if store_telephone_data:...
0
votes
0answers
6 views

Is it possible to display the values of select field in a template

I have a channel which has a field called Business Type which is a select menu which is populated manually. Is it possible to display those fields on the front end? Basically that is going to be a ...
0
votes
2answers
31 views

Total items from relationship field

I'm trying to wrap items in a ul if there are more than one, however I am getting the if always false, this is caused due to {feature_content:total_results} returning false. I end up with <h1>...
0
votes
1answer
29 views

EE3 Remove Template Group

I am trying to clean up my templates after an upgrade from EE2 to EE3. Everything I delete / remove keeps reappearing on next log-in. This includes some entire Template Groups and some individual ...
0
votes
1answer
41 views

exp:channel:entries not working by any means

I cannot get any queries to work using exp:channel:entries. {exp:channel:entries orderby="date" start_on="2015-07-01 20:00" channel="shipments" limit="10" dynamic="no"} <p>inloop</p> {/...
0
votes
1answer
24 views

Can't get total results for relationship field

I am trying to use count and total_results to detect the last item but total_results is not working in a relationship field. I can get the count and verify there are multiple entries but not the total....
1
vote
1answer
44 views

Gmaps using stashed lat/long not working

I've got a google map (gmaps addon) that I'm adding pins to via low search results. Unfortunately I cannot seem to get the lat/long to pass through to the tag. My template is below. You can see a ...
0
votes
1answer
20 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
29 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
11 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
49 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" results="20"...
0
votes
1answer
15 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
89 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 ee/EllisLab/...
0
votes
0answers
20 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
21 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
40 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
34 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
16 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
19 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
20 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
19 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
3answers
55 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
21 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
21 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
31 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
8 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
23 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
10 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: {embed="embeds/product-list-{...
0
votes
1answer
37 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
47 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
26 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
17 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 etc)....
0
votes
1answer
22 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
36 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 attr:placeholder="{...
0
votes
1answer
40 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
31 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} &...