Ad Space
Cloud Computing and Cloud Hosting by Rackspace
Ad Space
Cloud Computing and Cloud Hosting by Rackspace

Hosting Geared For
your CMSMS needs

CMSMS ready Hosting

Hosting Starting at $15

  • • Hosted Mail
  • • Personal Control Panel
  • • CMSMS 1.8.1 tested
  • • Lightly packed servers
  • • Intrusion Detection
  • • URL monitored
  • • Custom solutions available

Order your hosting Now

CP Blogs

Smarty { { } }

Posted by: Jeremy Bass
on May 24, 2009

Category:

Coding, Basics, CMS Made Simple

Summary:

Thought you couldn't do { { } } ? Think again...


Ad Space

 {capture assign=regex}!^(http:/(?:/[^/]+){ldelim}3{rdelim})/(\d+)(.*)!{/capture} {assign var=newNumber value="234"} {assign var=address value="http://www.digitalbarn.tv/news/6/55/Phil-Shinn-Modie-Park-Conservancy.html"} {$address|regex_replace:$regex:"\$1/$newNumber\$3"} 
Ad Space

Get Social With It

[+]

Add A Comment

[+]

Code in the picture:
Title:
Your Name(*):
Email:
Notify me of any further comments to this thread:
Website:
Comment(*):
 
Previous page: Hosting FAQ Next page: Experimental