Smarty directives inside LCMS pages?

A place to discuss and receive support for LCMS (Little Content Management System)

Smarty directives inside LCMS pages?

Postby ccrvic » Wed Aug 26, 2009 3:14 pm

Hi All.

Hope this forum is still alive - seems a bit quiet lately...

I've got a cunning idea for a web site based on LCMS - but I need a few pages to be built from some SQL queries.

I was rather hoping to be able to do loops & suchlike in a standard Smarty stylee - but from within the LCMS page.

It doesn't work if I just put the code into the page content (It's not rendered, just printed).

Am I on a hiding to nothing here?

Vic,
ccrvic
 
Posts: 11
Joined: Sat Feb 14, 2009 4:56 am

Postby shannah » Fri Aug 28, 2009 6:55 pm

Sorry.. In the existing release of LCMS there is no support for smarty tags in the pages. I have made derived works from LCMS that allowed you to specify the name of a template optionally for a page that would be used instead of the page content. But I don't think the existing version has that feature. I'll see if I can dig out a snippet to show you how to make this mod.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Smarty directives inside LCMS pages?

Postby tomhousley » Fri Feb 19, 2010 5:08 pm

Hi Steve,

Did you ever get round to showing how to specify a template on a per page basis?

I too would like to include smartys tags within certain pages.

Also, is there a more recent release than 0.1 ?

Many thanks, Tom
tomhousley
 
Posts: 52
Joined: Thu Feb 26, 2009 1:02 am
Location: United Kingdom


Return to LCMS Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved