I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-02-17 16:48:37-08 by mreece
overriding factory templates
if i mkdir /Public/apache/beerdb/beer/ and cp /Public/apache/maypole/factory/view_related there, and do the same for /Public/apache/beerdb/brewery, and make a slight change to each (such as adding THIS IS BEER VIEW_RELATED and THIS IS BREWERY VIEW_RELATED), then the first one that gets requested gets compiled and saved as {mason_dir}/obj/table/view_related, and is then used for both tables. if i rm {mason_dir}/obj/table/view_related, then view the other type first, that one gets stored in obj/table/ and is used for both.

shouldn't i be able to override the view_related template for each table? why are they stored in and retrieved from "obj/table/" instead of "obj/beer/" and "obj/brewery/"?
Direct Responses: 135 | Write a response