We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Is it possible to assign a value to a variable in a template?

How Do I?

jay_turley's avatar
jay_turley
46 posts
10 years ago
jay_turley's avatar jay_turley

I’ve scoured the documentation, and I may just be stupid, but I can’t find the answer to this question.

Can I do something like this in my templates (ignore the pseudo code syntax, which is a result of not being able to find anything about this)?

{set foo = 7}

Foo = {foo}
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.