[Catalyst] Catalyst & Bricolage Integration

Simon Wilcox simonw at digitalcraftsmen.net
Tue Nov 21 15:13:09 GMT 2006


Sorry, I obviously wasn't clear.

On Tue, 21 Nov 2006, Tobias Kremer wrote:

> > I don't think we even did that. We include root in the include path for
> > View::TT and it seems to do the right thing, even on subdirectories. We
> > also use Static::Simple but I don't think that affects what's going on
> > here.
>
> Hmm ... That's all fine and it enables View::TT to find the
> burned stories (when referring to them with $c->stash->template) but
> without a controller the stories are unreachable to the outside because
> Catalyst was not told to dispatch to them. Or am I mistaking something
> here? Using Static::Simple to serve stories generated by Bricolage would
> take away the possibility to insert dynamic Catalyst stuff.

Nope, I just created a directory called test, created a test.html in it
and called it:

http://www.monday9am.tv/test/test.html

That file consists of precisely:

<h2>... Hello Catalyst hackers :-)</h2>

And catalyst wraps the rest. You can do subrequests within the TT
templates to fill in bits dynamically.

Quite why that works is perhaps a mystery that reveals I don't understand
my own code but there you go :-)

I'm in the middle of some other hacking at the moment but I'll try and
figure out why it works later if it doesn't work for you.

Simon Wilcox

-- 
Digital Craftsmen Ltd
Exmouth House, 3 Pine Street, London. EC1R 0JH
t 020 7183 1410 f 020 7099 5140 m 07951 758698
w http://www.digitalcraftsmen.net/



More information about the Catalyst mailing list