Lesson 02: Print Variable Content

Variables may be assigned a name and a value such as first_name and Joe.

Create a node and paste this following code into it’s landing page editor. Goto the node’s address and test with browser.

[[INITIALIZE:first_name|"Joe"]]
[[INITIALIZE:last_name|"Lee"]]
Hello, [[PRINT:first_name]] [[PRINT:last_name]].[[cr]]

Will output:

Hello, Joe Lee.

Leave a Reply