[Catalyst] Squatting::On::Catalyst

Matt S Trout dbix-class at trout.me.uk
Wed Jul 30 11:34:04 BST 2008


On Tue, Jul 29, 2008 at 02:08:21PM +0100, Chisel Wright wrote:
> On Tue, Jul 29, 2008 at 02:21:10PM +0200, Daniel McBrearty wrote:
> > 1. letting users keep existing member and login creds
> > 2. being able to cross ref to other parts of the site eg. for a
> > certain node, easily have a "discussion" link, and the reverse link
> > from the forum
> 
> If you ever think of a good way of doing this, please let me know!

Starter for 10.

<Controller Page>
  discussion_controller MyForum::Thread
  discussion_action     view
  discussion_field      thread_id
</Controller>

$c->uri_for(
  $c->controller($self->discussion_controller)
    ->action_for($self->discussion_action),
  [ $current_page->id ]
);

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list