21475 Posts in 5781 Topics by 2620 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 377 Views |
-
Using array data in a cms html text area?

30 August 2011 at 12:03pm
Hello
I've got a function in my page controller that returns an array of details of a user out of 3rd party marketing system - firstname, lastname, email etc.
I can use this info in the SS template, but I would like to I would like to be able to input something like "hello $firstname $lastname, how are you " into a text field the CMS.
Any ideas how I can make the cms text field merge the details from the array?
thanks
-
Re: Using array data in a cms html text area?

30 August 2011 at 2:57pm
Perhaps try using short codes. SSBits has a good tutorial - http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/
-
Re: Using array data in a cms html text area?

5 September 2011 at 12:45pm
Thanks Will,
got something working based on that.
Cheers
| 377 Views | ||
|
Page:
1
|
Go to Top |


