On Tue, 2006-10-10 at 13:17 -0500, Peter Speltz wrote:
> could u use template plugin class like so:
> 
> [% USE myclass = Class("MyClass");
>      myrows = myclass.retrieve_all();
>      FOR r in myrows;
>        ...# display
>      END;
> %]
> 
> On 10/5/06, Kim Ryan <[EMAIL PROTECTED]> wrote:
> > Is there a simple way to list the contents of a table
> > from the frontpage template? Not sure how to invoke
> > the 'list' action from within a template.

Kim,

Are you asking how to include the list template in the frontpage
template?

I think the general answer to that involves 'components' or
'redirection' that I'm not familiar with. But I think in the specific
case of the frontpage and a list of a specific table, you could just
mash the two templates together.

Cheers, Dave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to