|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
carl_galloway Smarty n00b
Joined: 17 Feb 2006 Posts: 3
|
Posted: Wed Aug 16, 2006 6:19 am Post subject: Help, need to wrap <span> after x words in variable |
|
|
Hi all,
I'm working on a template for Serendipity and I want to give the blog title a two color look, which means placing a <span> around all words after the second or third word. I have no idea how to do this. I've searched these forums and the documentation for anything to do with splitting a variable, or adding html to a truncate but nothing seems to say I can do this. Smarty is of course endlessly capable, so where do I start?
Many thanks, Carl |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
|
Back to top |
|
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|