G'day folk, I've been having a play with the BeerDB example from the current Maypole from CPAN but I'm having difficulty with the templates. The module specifies that it gets its templates from t/templates
which contains custom/ classdata frontpage list view this seems great until I look inside frontpage which is: This is the frontpage and that's it. I noticed the fancy_example has a templates directory, but it contains: custom/ addnew edit metadata display_inputs header search_form display_search_inputs maypole.css no "frontpage". The documentation says that after I've created my BeerDB code I should be able to see a list of my classes and start editing them: perldoc Maypole::Manual::About And that's it. We should now be able to go to "http://localhost/beerdb/" or "http://localhost/cgi-bin/beer.cgi/" and see a menu of things to browse; "http://localhost/beerdb/beer/list" will give a list of beers. There might not be any yet. There's a box that lets you add them. But of course I just get "This is the frontpage" when I got to http://localhost/beerdb/ and when I go to http://localhost/beerdb/beer/list I get: # Begin object list # End object list (the code in list is: # Begin object list [% FOR obj = objects %] [%obj.id%]: [% obj.name %] [% END %] # End object list ) There's certainly nothing there that would allow me to add items to the database. The FAQ suggests I should check I have Template::Plugin::Class installed, and I do. Is there somewhere else I should be sourcing the default templates from? Thanks, Jacinta -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | [EMAIL PROTECTED] | (il),-'' (li),' ((!.-' | www.perltraining.com.au | ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Maypole-users mailing list Maypole-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maypole-users