Questions tagged [variable]
The variable tag has no summary.
70 questions
1
vote
3
answers
115
views
Embedded template variables and conditionals?
In an upstream template, I do this code :
{embed="templatecategory/template" varA="{var1}" varB="{var2}"}
These variables are populated by a custom addon.
And in the ...
0
votes
2
answers
132
views
What is the updated version of assign_variable?
In former days {assign_variable: my_var="foo"} was a very handy tool. I haven't used it for some time and discovered that it was deprecated in EE 4.x but was not able to determine what if ...
0
votes
1
answer
97
views
CE Image, variable not parsed inside src image
I tried to insert a custom field variable, Stash here, a simple custom field as a text field works fine (the value is parsed), but when I use a pair tag (as Fluid, Grid or another add-on), or a Stash ...
0
votes
1
answer
105
views
Call a variable from a module that was created in an extension
Is there any way to pass a value from an extension to a module or a plugin in ExpressionEngine?
I created this very useful extension to take advantage of the expresso store module:
<?php
use ...
0
votes
1
answer
92
views
Insert Selected Channel into the Template
We are creating a template that our client would use on many pages of their website, for example 'Accordion Layout Template'.
So we create a page 'Bikes', assign the 'Accordion Layout Template', then ...
2
votes
1
answer
85
views
How To Create Headers For A List
I have a list of items. Each item has a season.
I am trying to organize the items by season. I believe the list is pre sorted and I need to create a header everytime there item has a new season
In ...
0
votes
1
answer
311
views
Freeform: pass variable to confirmation page
I have a freeform form with a text field with a value. Users of this form are not logged in and I need to pass the value of that field to a second confirmation page where I am building a paypal form. ...
0
votes
1
answer
165
views
CE Image {height} & {width} variables outputting incorrectly
I'm using CE Image 2.4.5 on EE 2.9.3 and it outputs the image cropped correctly. However I also need the {height} and {width} variables elsewhere. The problem is that both of these variables are ...
0
votes
1
answer
56
views
EE3 How to show random template variables
I created some template variables which is https://docs.expressionengine.com/latest/templates/globals/template_variable.html, how can I show one of them randomly?
1
vote
0
answers
76
views
using stash variable with same name like EE var
loping through channel entries tag, I can use {title} for the title of the article.
inside the channel entries loop for the specific article, I use an EE partial with get list inside. Inside the ...
1
vote
0
answers
333
views
template variables not parsing inside javascript
I have some javascript in a template and when I try to use template variables inside the ... tags, the template variables are not parsing.
All other template vars on the page are parsing as ...
0
votes
1
answer
92
views
Is it possible to limit display of products in the catalog on a per template basis in Brilliant Retail?
In BR's settings, it is possible to limit the number of products displayed in the catalog and paginate the results. However, that seems to set the limit for any and all catalogs referenced throughout ...
0
votes
2
answers
157
views
Conditional statement syntax
I am working on an Expressionengine site at the moment, the client would like the ability to choose if there's a custom phone number in the sidebar of the page and if non is entered it just shows the ...
1
vote
0
answers
81
views
using Stash to output a language variable with Transcribe
In my article template I'm doing this:
{exp:stash:set name="article_lang" parse_vars="yes" parse_depth="2" parse_tags="yes" parse_conditionals="yes"}
{exp:switchee variable="{transcribe:...
1
vote
1
answer
64
views
Something wrong in Stash usage and cannot figure out what
I have this code
{exp:channel:entries channel="katalog" limit="12" dynamic="yes" status="open" show_future_entries="no" orderby="date" sort="desc" disable="member_data" pagination="bottom"}
{!-- if ...