Solved

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

Posted on 2011-02-15
2
414 Views
Last Modified: 2012-05-11
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
Comment
Question by:sydneyguy
2 Comments
 
LVL 16

Accepted Solution

by:
Chris Harte earned 500 total points
ID: 34905970
The "cat" modifier appends a literal string, passed as a parameter, to the value. So it is the same as the . in php

0
 

Author Closing Comment

by:sydneyguy
ID: 34906276
yep thanks for that been playing with it and seem to have it going
thanks for the help
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now