The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
12 views

creating dynamic variables for multi language site

Possible URLs are http://localhost:81/ee_file/ar/about http://localhost:81/ee_file/en/about I have two variables namely {banner_image_text_ar} and {banner_image_text_en} based on the language ...
1
vote
0answers
35 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
0answers
49 views

Tagger Error on production : Undefined variable: page_array

EE - 2.10.1 Tagger - 3.2.1 I am receiving a Tagger error which is triggering a string of issues post error. Do you know what would be causing this? A PHP ERROR WAS ENCOUNTERED Severity: Notice ...
0
votes
1answer
27 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
2answers
57 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
0answers
40 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 ...
1
vote
1answer
25 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"} {!-- ...
1
vote
2answers
93 views

Freeform Pro Dynamic Admin Notifications

Is it possible to use a form field as a variable address to send admin notifications to different addresses? The scenario is that the notification needs to be sent to a different address dependent on ...
1
vote
1answer
81 views

check if a segment is a number

I am trying to figure out a way to set to variable values depending on if a specific segment is a number or not. First how to I check if the segment 2 is a number or not? I want to apply this type ...
0
votes
1answer
38 views

I'm having trouble getting simple IF statements within a Playa tag to evaluate properly

Channels and Fields Summary: Tours channel - stores a list of all Vacations the site offers tour_specials field - a Playa field, linked to the Specials channel indicating which Special Offers apply ...
1
vote
2answers
127 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
392 views

jQuery Chained Select & JSON

I am using a jQuery Chained Select Plugin. But getting stuck loading the data dynamically to select options from my Expression Engine template. Seems pulling the value from the JSON url is causing ...
0
votes
3answers
42 views

Sorting pictures with matching dates into galleries

I am attempting to build galleries of photos based on {photo_date}, a custom field containing the date on which each photo was taken. My list of photos looks something like this: Photo# ...
1
vote
1answer
306 views

Are {layout:set} variables available to all extended layouts?

I'm trying to make sure I understand the scope of {layout:set} variables, compared to how embeds work. Traditionally, variables set with an {embed="template_group/template variable="foo"} are only ...
1
vote
1answer
208 views

Expresso Store + outputting store variables using PHP in XML. " and / are blowing up the whole operation

Alright so let me first say that this particular project is very odd and it has snowballed considerably in the past few months. I am not a master PHP programmer. What I am is a web developer with ...
0
votes
1answer
91 views

Include CSS file in JS

I have a problem with url in js file First, in Snippets i have code In that init.js i have that (function($) { skel.init({ reset: 'full', breakpoints: { global: { range: '*', ...
0
votes
1answer
59 views

Is there a way to pass a category id from one entries loop to another?

I am building a site for a school. The school has classes and the school has events. Some of the events are school-wide and some are specific to a certain class. On a class detail page ...
2
votes
1answer
67 views

Appending more data to a layout variable

I'm using template layouts, and setting variables with the {layout:set} tag. Is there a way to append data to an already set variable?
0
votes
1answer
37 views

How do I create a single template tag which outputs multiple bits of data?

I have just created my own module and need a bit of help displaying the content on the front end. I currently have some template tags {exp:address_book:contact}{/exp:address_book:contact} and within ...
0
votes
1answer
28 views

Using a custom variable further up the page

I have a channel field with no results {if no_results} set variable here {/if} I want to set a variable but use it further up the page {if my_custom_var != "empty"} do some layout stuff here {/if} ...
0
votes
3answers
99 views

var_prefix= not working as one would hope

OK revamped question: now it displays all the right stuff but it doesn't interact with the tabs and stacks them all in a static display. straight forward EE code works fine. Once i insert the prefix ...
1
vote
2answers
282 views

Expression Engine - Passing Custom Field Variables to Layout

I'm trying getting to grips with Expression Engine. Specifically passing custom field information to a master layout I have created two template groups. One for the overall layout including the ...
0
votes
2answers
165 views

Template variable not parsing

We have a custom third-party module called qo5. All of our controllers are in there. I have a template that I need to pass a variable from a PHP function to. {exp:qo5 action="deal/getDealCode"} ...
1
vote
1answer
69 views

Switchable display order for playa field items

I'm trying to arrange it so that the output order of a Playa field can be controlled by a global variable or radio button channel field (to make it able to be toggled from the listed order to random) ...
1
vote
1answer
56 views

using globals in channel entry tag

so I am trying to use a dynamic variable, this works {member_id} {exp:channel:entries channel="vacancies" author_id="9"} and this does not {member_id} {exp:channel:entries ...
1
vote
2answers
62 views

How to pass variables and then display the results?

Is there a plugin, technique, or combination of plugins/techniques that will allow me to do the following? My channels are like this: Parent: Product Children: Colour, Size, Style, etc. A ...
0
votes
1answer
47 views

adding a variable to a partial template

I am using creating template parts (header, footer) but would like to know how I can add a variable, a body class to individual templates. I see people are using stash but is there another way to set ...
0
votes
1answer
63 views

How do I resolve this scope issue with Stash?

I'm just playing around with implementing Stash on a site, following the Template Partials Using Stash article, but now I seem to be having a scope/execution order issue. Layout <html> ...
4
votes
1answer
970 views

Create a variable from a URL's Query String

How can I create a variable that is pulled from a URL like the one below? eg: http://www.example.com/page.php?Item_ID=774&score=42 Need to pull the number "42" from the url and placed into a ...
2
votes
1answer
36 views

calendar, more efficient code

the goal: -show the remainder of the current month's events always -when end of month is near (after the 18th, for example), also show the upcoming month's events this is what i have presently, ...
1
vote
1answer
83 views

Stash embeds containing multiple nested plugins doesn't retrieve anything

I'm trying to do some stash embeds but when embeds contain nested plugins (so, more than one) he doesn't retrive any value. {my_loop}{stash:embed name="my_total{count}" ...
1
vote
3answers
109 views

Invalid EE Conditional Variable

This error: Invalid EE Conditional Variable Filename: libraries/Functions.php Line Number: 2761 occurs when I have this code in a BrilliantRetail template: {items} <tr> <td ...
1
vote
2answers
2k views

Variables in templates

I want to update a variable based on my module. I can pass the variable from the main template (say A) to the embedded one(say B). But how can I retrieve this variable back in Template A after ...
1
vote
2answers
174 views

Switchee with multiple stash variables only evaluates first variable

I have the following code: {exp:switchee variable="{exp:stash:get name='custom_sidebar_text'}/{exp:stash:get_list name='related_articles'}/{exp:stash:get_list name='related_events'}" ...
0
votes
1answer
65 views

Store Data in Channel Tag Variable

I'm using the EXP:QUERY tag to get the count of a channel. And I am basically trying to use this for page pagination, and its a custom pagination because of the type of template I'm building. And I ...
0
votes
1answer
105 views

get function value in a plugin

i'm trying to write my own plugin and new to php to simplify i want to grab a string from the tempalte then do something with it How do i call getMyString() in another function? EDIT: class test { ...
0
votes
1answer
153 views

Passing preload_replace variables into a plugin

I've been working on my first EE plugin today, and I need to make it dynamic by passing either a PHP variable, or I would have thought I can use a preload_replace variable, from the template that ...
3
votes
1answer
320 views

EE 2.6.1. Combine relationships and related categories for editorial workflow

On our Single entry pages we recommend other articles. Four slots are available. channel: articles. channel fields: Content Elements field for the text and a native EE Relationship field called ...
1
vote
1answer
149 views

Channel Images and Matrix / Increment a variable/count within a matrix field?

Is there a possibility to increment a variable/count (something like "i++") within a matrix field so that the variable is incremented for each row with certain parameters? The background is that I ...
1
vote
1answer
202 views

Passing Variables

I hardly know any OOP PHP so I don't know how to properly pass variables, especially in EE. I am working in a Module, and I have a function that passes my modules results to a .php file that has the ...
0
votes
1answer
516 views

Parsing JSON in EE tag

We have a BrilliantRetail cart and I'm adding JSON data into an attribute named itemJSON. In the cart template, we loop through the items in the cart using the {items}{/items} tag and I need to show ...
4
votes
3answers
94 views

alternative to php var in template?

It's been a solid year since my last ee project. The things you forget over time :) At the top of my template I show the latest featured entry (limit="1" search:featured="yes"). Later in my template ...
0
votes
1answer
183 views

Can I use Stash inside Third Party Module Tags?

in the examples of Stash and every other similar plugin I always see the variables being set inside the channel:entries tag. But what if I need to set a tag inside the tag of another module? Like for ...
0
votes
2answers
157 views

Preload replace not evaluating variable outside of pair

I am trying to get the current entry's category so I can make a comparison inside a menu elsewhere to see if the menu item is for the current page. I have the following code at the top of my template: ...
0
votes
2answers
538 views

How to output variables such as the current page's entry_id in the script tag

One one of our sites, we have ChannelFiles add-on installed and in the control panel (when editing an entry) it outputs a useful set of variables (see attached). But this is only part of add-on and if ...
1
vote
1answer
71 views

Pagination current_page not retaining

I have the following code: {paginate} {pagination_links} <div class="block_pager"> {previous_page} <a href="{pagination_url}" class="prev">Previous</a> ...
0
votes
0answers
57 views

Use variable in content

Is it possible to use a variable in my content? If got my basic pages with a title and body. In the CP I use a WYSIWYG editor for the body. For example. Now I don't want to put my name or ...
0
votes
2answers
414 views

Conditional variable error

I previously asked a question about this, but the question itself has kind of changed, and I don't know if anyone's still following it to begin with. This is the error I'm seeing: [06-May-2013 ...
2
votes
2answers
484 views

Invalid EE conditional variable error - UPDATED

NEW INFO OK, I found that the error was being thrown by a custom exception built into expression engine that will do partial matches on variable names if it doesn't find the original one. From ...
3
votes
3answers
352 views

Why are PHP and Stash variables not set as expected within EE conditionals?

I boiled my problem down to this template code on a template with "Allow PHP" set to "YES" and "PHP Parsing Stage" set to "Output": {if 1 == 1} First block <?php echo '1 == 1 is true'; ?> ...