Skip to main content

Questions tagged [global-variables]

0 votes
2 answers
268 views

[EDIT - I have posted the answer to my question below] EE 5.2.4 I'm having issues trying to use $_SESSION in EE. What I would like to do is save an Amazon cart ID in the $_SESSION. Working in ...
Shayne's user avatar
  • 317
0 votes
1 answer
92 views

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 ...
user9631's user avatar
1 vote
1 answer
103 views

I am confused about the usage of the mentioned variable. It should be plain and simple... but for some reason, I can't get it to work. Documentation link for EE3: https://docs.expressionengine.com/v3/...
aleksandar perc's user avatar
1 vote
1 answer
79 views

http://recordit.co/R8eImfvLyP EE3 with Low Variables installed. I created a bunch of variables in both EE and Low Variables only to try to remove them. They are showing in the Template Variable area ...
Ian Ryde's user avatar
1 vote
1 answer
113 views

Really need the ability to grab the refering url that URL helper offered. Is this available for EE3 or is there an alternative?
Third_Hyperion's user avatar
0 votes
2 answers
78 views

I have this in my template layout, running EE 3.4: {if logged_in_group_id == "5"} <script>dataLayer = [{'userID': '{logged_in_username}'}];</script> Rest of the script pass data ...
Xiao Ling's user avatar
  • 106
0 votes
1 answer
116 views

I am currently trying to debug some of the page load times on a website we host, and am running into something I find odd. Global Variables parsing seems to be taking up half the page load time... (0....
Drew Major's user avatar
0 votes
1 answer
153 views

I've got a weird one going on here. EE 2.8 site. I wanted to create a conditional based on whether it was ME on the site. I wanted to see some info that was not to be rendered to the normal user. So, ...
Rick Robinson's user avatar
0 votes
1 answer
100 views

how do i edit preferences for global variables in the cms, design > templates > global variables. Iv looked at the following and think it might be what i'm looking to do, wondering if the cms cant ...
Lloyd_07's user avatar
0 votes
1 answer
104 views

I'm wondering if there is a way to dynamically set variables within a template partial from the point at which it is included. This works in Low Variables as the preparse function, but is there ...
Stuart Thornton's user avatar
0 votes
1 answer
402 views

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 working?...
frshjb373's user avatar
  • 273
0 votes
1 answer
284 views

I have tried something along the lines of $email = ee()->.... and with a hope to include/require the page at the top of an external php page and then echo the value of $email. This doesn't ...
Derple's user avatar
  • 129
1 vote
1 answer
424 views

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 ...
Trevor Orr's user avatar
0 votes
2 answers
128 views

I'm trying to pass {ip_address} to a module, which isn't working: {exp:rest url="http://domain.com/{ip_address}" verb="get" format="json"} {/exp:rest} The {ip_address} is getting interpreted as a ...
ExpressionEngineNewbie's user avatar
0 votes
1 answer
147 views

I've got a page behind a login that I have various member groups set up for. Depending on the member group, I want the link in the Downloads section to go to a different page: e.g. Contractors ...
StvCummins's user avatar

15 30 50 per page