• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [Smarty Basics] Strings verbinden (CAT Modifier)
PostPosted: Fri May 29, 2009 10:49 pm 
Hallo zusammen,

bin gerade über ein Smarty Basic gestolpert, welches ich bisher nie genutzt habe, hier gut reinpasst und in zukunft bestimmt öfters von mir genutzt werden wird :)

Möchte man einen String erweitern, kann man mit >> |cat: << den String sehr bequem verlängern (concatenate).

Z.B.
Code:

{cms_selflink page=$id title="Mehr über "|cat:$title|cat:" lesen"}

dies ergibt dann den Aufruf:

{cms_selflink page=$id title="Mehr über TITEL lesen"}



Beste Grüße
Nils


Last edited by nhaack on Sat Jun 13, 2009 5:29 pm, edited 1 time in total.

Top
   
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Hosting Nation - Managed CMSMS Hosting