Re: Smarty news/article admin?

From: Date: Fri, 08 Mar 2002 15:47:38 +0000
Subject: Re: Smarty news/article admin?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2980@lists.php.net to get a copy of this message
At 01:39 AM 3/9/02 +1000, Jimmy Harlindong wrote:
Is there something that can maintain news / articles (with embedded images - not just text), and can be easily integrated with smarty (and the rest of my site) ? Perhaps the admin area can be stand alone but the news / article index / content itself would ideally be integrated with smarty...
I'm working on something like this right now. Unfortunately it isn't finished yet (got to sleep sometime...) but I'm willing to share the code if you think it may be useful. Related, does anyone know where the regex in Smarty to parse {foo key1='val1' key2=val2} and return the array key1 => 'val1' key2 => 'val2' ??? I want to find this as it seems silly to use Smarty to parse my news/article text for things like [img id=56 align=left] as I'm having to parse it outside of smarty anyhow (when we can write custom Smarty functions like [url]http://foo.bar[/url] (eg with closing tags) I'll be _extremely_ happy) so I thought one function to do all the parsing would be better. Of course, as Smarty's already initialised I guess it wouldn't be much overhead - and I can now use the eval function :-) Regards, Peter. -- Maple Design - http://www.mapledesign.co.uk

« previous php.smarty.general (#2980) next »