• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 442
  • Last Modified:

tlp code using the |cat:"{ what does this do please its in a smarty tpl file

have the below code and not sure what the |cat:" does is it the equilavent to & or . for php but used in tpl to assemble strings???

{assign var="page_hdr01_text" value='
	<a href="section.php" class="subhead">
	'|cat:"{lang mkey='section_title'}"|cat:'</a> >
	<a href="sectionquestions.php?sectionid='|cat:$smarty.get.sectionid|cat:'" class="subhead">'
	|cat:"{lang mkey='questions_title'}"|cat:'</a> > '|cat:"{lang mkey='options_title'}"}

Open in new window

0
sydneyguy
Asked:
sydneyguy
1 Solution
 
Chris HarteThaumaturgeCommented:
The "cat" modifier appends a literal string, passed as a parameter, to the value. So it is the same as the . in php

0
 
sydneyguyAuthor Commented:
yep thanks for that been playing with it and seem to have it going
thanks for the help
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now