Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

0
votes
0answers
14 views

Variable modifiers for embed variable

I try to use the variable modifier with an embed.. as follow.. Template #1 {embed="includes/_share" url="{route='articles/detail' article_url='{url_title}' chan_name='{channel_name}'}" ...
0
votes
2answers
16 views

Parsing issue with Low Variable - Playa field (EE 2.11.9)

Obscure issue for you here. I have a Low Variable (using Playa) that contains several entries. I need to pass the entry_id for each entry to an embedded file. When I do this, the embed loads, but the ...
0
votes
1answer
17 views

Doubt about a Stash Embed parameter : name“my_var1”

I have a doubt about a Stash Embed parameter. In the Stash documentation page, there is this example: {stash:embed name"my_var1" file_name="foo:bar" stash:my_var="value 1"} {stash:embed name"my_var2" ...
0
votes
2answers
18 views

How can I pass the category ID of the current entry into the exp:calendar:cal tag?

I have an entry assigned to a specific category. I want events from exp:calendar:cal that share the same category to be displayed on the same page. When I hard code the category ID it works like a ...
0
votes
0answers
16 views

How can I retrieve different random entries from an embedded template multiple times on the same page?

I'm using the following template as an embed: {exp:channel:entries channel="articles" dynamic="no" orderby="random" limit="1" cache="no" disable="member_data|categories|pagination"} {title} {/exp:...
0
votes
2answers
41 views

Next / Prev Linking Of Entries in Relationship Field

I have a channel called "course_content" that contains a relationship field which holds entries from a "lesson_content" channel. The user clicks on a course (course_content) and all of the lessons ...
0
votes
0answers
37 views

multi site doesn't embed default site

I'm using multisite and I'm trying to embed a template of my default site in the template of my multisite, but all I get to see is a blank page. I'm sure that I'm editting the right template and that ...
0
votes
1answer
41 views

Pull dynamic entries using Ajax template on multiple Structure entries with Relationships

I've created two separate Structure entries, both using the Page template below with Relationship entries. It works fine if I only want one page, but I've made a second page to pull different ...
1
vote
2answers
55 views

Is there a way to embed a page within another page?

I'm not talking about embedding another template. I'd like to embed all the child pages of a parent within the parent (for incredibly convoluted reasons). I'm using Structure if that helps. Using {...
1
vote
2answers
113 views

can I put markup inside an iframe tag in a rich text field?

I need to support embedded tweets in Facebook Instant Articles. Oob the way to do that is to wrap Twitter's embed code blockquote.twitter-tweet in figure.op-interactive iframe (here's a link to ...
0
votes
1answer
66 views

passing a category id to an embed

I'm trying to pass a category id to an embed like so: {if local_ratings=="Los Angeles"} {embed="embeds/ratings" cat="22"} {/if} The "local_ratings" is an EE dropdown. In my embed I have: {exp:...
0
votes
1answer
45 views

EE embed inside stash parse process end

can I do an embed within a stash:parse with process end? {exp:stash:parse process="end"} {embed="index/.homeFeatured"} {/exp:stash:parse} I just got the the embed line printed on the screen, ...
0
votes
1answer
36 views

stash embed in expression engine layout not parsing

I would like to embed my ads by a stash embed inside of my base template, is this not possible to achieve thay way? {layout:set name="backgroundAd"} {stash:embed context="ech/ads" name="background" ...
0
votes
1answer
40 views

Limit conditional results inside of channel entry

I have a channel entry that I want to display limited results and also only show results with a certain conditional applied to it. Right now I am opening the channel entry and setting a limit inside ...
0
votes
2answers
51 views

Stash Embed Variable Assignment

I have two Stash embeds. Both embed templates accept a color variable, but it's optional: {if '{stash:color}'} {stash:color}<br> {/if} If I explicitly set the variable in both embeds, ...
0
votes
2answers
79 views

Cannot make stash:get to show up inside exp:channel tag

Problem: A value set is not parsed inside a channel:entries tag. The value is actually set (and parsed with the embed on the page). Also, when I hard-code the value in te channel:entries tag the ...
0
votes
0answers
33 views

Google Webpage Translator Plugin Won't Function

I've been trying to install Google Webpage Translator for ages on our websites. I have attempted placing the code in the header template, footer template, a specific page. I have change the language ...
0
votes
2answers
60 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
2answers
165 views

Embeds not working

I building a super simple site on EE 3.0.3. and am having a seemingly weird issue where my embeds are not loading. I'm sure it something simple but I'm not able to see what is going wrong. The live ...
0
votes
0answers
50 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
81 views

Caching embedded templates with variables

If you embed a template A into template B, using embed variables, and you switch on template caching on template A. Does template A get cached multiple times according to the embed variables? Or is ...
1
vote
0answers
57 views

Hero picture showing in all pages (languages) with the exception of one page (Dutch)

I have recently started working on EE (ex WordPress guy). I am using version ExpressionEngine2.10.1. I did not developed the site, I am just debugging and resolving issues. It is a multi-language site ...
0
votes
1answer
71 views

Embed not updating

We have an embed that shows latest posts on the home page. {embed="/embeds/.sidebar_articles} This works. But when I go to change anything in it, such as filtering the posts or even just making a ...
0
votes
1answer
47 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" ...
1
vote
1answer
50 views

Render embed tags Shine pdf

I want to use the module Shine pdf to generate pdf's. Only problem is it doesn't render embed tags in the template. I would like to change the code in the module so it would render embed tags. This ...
1
vote
1answer
51 views

Date range in EE postmaster template

I have a notification setup that is pulling the top 5 most viewed entries within the specific channel, and I want to send this email with the top 5 most viewed entries, and I want to send this ...
0
votes
2answers
105 views

Template embedded in channel entry loop returns same data in each loop

I am having a strange issue in my product listing template. Basically I have 2 channels. First channel say items stores the product information like product name, sku, company id etc and other channel ...
1
vote
1answer
163 views

Escape characters when passing variables to an embeded template

I have an embed template to which I'm passing variables from some custom channel fields. Everything works as expected until there are quotes (") inside the variable. For example, I have the variable ...
0
votes
1answer
48 views

Garbled stash:nocache output when in stash:set_list in a nested embed

I'm putting together a sort of ViewModel-ish setup and getting strange output from {stash:nocache} Here's the setup. First, the EE template: {stash:embed context="@URI" file_name="viewmodels:...
1
vote
2answers
375 views

Insert Code into Middle of Channel Entry Post

I have a channel that stores ads (HTML ads I created and the Google Adsense Code block), and displays either my html or Google's JS to allow a random ad on each page load. I want to insert that ...
0
votes
1answer
170 views

Pass variables through playa loop to use in an embed?

Currently I have a a channel page entry that then goes through a playa of secondary entries. I'd like to pass some of the parent's data like page title and description to the embdeds. My code looks ...
0
votes
1answer
4k views

A PHP Error was encountered Severity: 8192

I have some php code that I have embedded. Which seems to work fine alone on the server however when embedded I get this error. A PHP Error was encountered Severity: 8192 Message: Function split() ...
0
votes
1answer
143 views

Next/Previous Entry Linking works on some entries but not others

I setup the next/previous entry linking code in an embed because it is positioned within a channel entries tag in the template. Same template, some entries display the links fine, and others don't. ...
0
votes
1answer
220 views

Can you embed a Grid field?

I ran into a situation in which I need to pass a Grid field via embed. Is there a good way of doing this? I won’t know how many entries (rows) have been entered. I have set a max to five (5) and there ...
0
votes
2answers
76 views

Loading of data (40+ fields) for multiple (250+) entries on single page

I am querying whether this is a good idea, and if so best way to do it. I have a channel (club_listing) that contains 40+ fields. There are 250+ club_listing entries. On my clients current/old site, ...
0
votes
1answer
415 views

Embed variable not parsing in channel:entries loop

I'm passing a variable into an embed file. I can output the value of the variable inside the embedded template no problem but when I use it in an channel:entries loop I'm not getting a result. Hard ...
0
votes
1answer
14 views

1 include - 2 templates - 2 different results

I have an include / embed file that is being shared across two templates. However one template is displaying a result of the channel:entries tag in the embed whilst the other refuses to display a ...
0
votes
1answer
104 views

Checking for custom field with conditional inside of an embed template

I've decided to just test an idea for custom meta tags on every page without using Low Variable and try a native approach. The idea is to use an embed template with embed variables to check if a ...
0
votes
1answer
85 views

Embed variables aren't correctly parsed in the low search result parameters

Embed variables aren't correctly parsed in the low search result parameters I have this code for my low search results. {exp:low_search:results {if embed:author_id}author_id="{embed:author_id}"{/if} ...
1
vote
1answer
119 views

How do I allow users to add a snippet without having to access the template?

I want to setup a bunch of snippets (or even embeds?) and give users the ability to place these within their pages, but without having to create special templates or pre-defining where in the template ...
1
vote
0answers
62 views

Help embedding categories into Switchee value field

I’m trying to embed categories into a Switchee value field but can’t get it to work. Can you help? To try to deal with the parsing order problem, I call the Switchee embed from my site/index template:...
0
votes
1answer
30 views

how to define the stash embedded template?

I would like to use the Stash embed functions, but I don't know how to define the template path. In the Stash docs: {!-- Stash template file at /path/to/stash_templates/test.html --} {stash:embed ...
2
votes
1answer
42 views

Upgrading from 2.5.5 to 2.8 with tons of embeds and reverse related entries?

I am working on a site using 2.5.5 and it uses embeds and related entries quite heavily. The embeds are used to hand parsing data the way the site requires it. q1 Should I upgrade straight to 2.8 or ...
0
votes
2answers
941 views

what does it means: {embed:entry_id}?

I would like to know about the usage of {embed:entry_id}. It is used in case an entry_id is inside an embedded template? There are other usages?
0
votes
1answer
46 views

Random template embedding?

I know you can easily load a random entry from a channel, but I wanted to know if the functionality exists in EE to randomly embed and load a template from a group? Thanks in advance for any guidance ...
0
votes
2answers
253 views

Dynamically create swiper based on images in wygwam field

I'm using ExpressionEngine and have a wygwam field that takes html formatting, including img tags. I was wondering how I could dynamically create a swiper based on these images? I was thinking that if ...
0
votes
1answer
27 views

Embed Error Debugging

Is there a way to display debugging information for an embed tag? I can't use the administrator template debugging feature since the page I put the embed tag into is only accessible to non-logged in ...
0
votes
1answer
20 views

Embed not embedding, but only for 1 member group

My template's <head> tag is defined as a snippet combined with preload replace variables, as per Low's idea (http://gotolow.com/blog/snippets-and-preload-replace-variables). On one or two ...
0
votes
1answer
142 views

Embedding PHP in EE tags or using equivalent expressions in PHP

There are so many essential things you simply can't do with EE; this is one I'm having issues with. What I want to do: Use AJAX to GET a template while sending data via the URL segments. In the ...
0
votes
2answers
94 views

Having embeded include use channel fields

I am using BrilliantRetail and on my product page, I have tabs with different information about the products. The code for the tabs is pretty long so I would like to make it an include and then embed ...