
evelina.lurye at cbs
Feb 9, 2010, 10:38 AM
Post #1 of 2
(507 views)
Permalink
|
I figured out how to set up custom uri elements in Business.pm my setting up a new $fmt substitution for bric_id. -----Original Message----- From: David E. Wheeler [mailto:david [at] kineticode] Sent: Monday, February 08, 2010 5:19 PM To: Bricolage Users Subject: Fwd: bric_id Begin forwarded message: > From: "Lurye, Evelina" <evelina.lurye [at] cbs> > Date: February 8, 2010 5:03:00 PM PST > To: "David E. Wheeler" <david [at] kineticode> > Subject: bric_id > > We have installed the newest version of bricolage (1.10.9) and we're having trouble accessing the bric_id in the uri of an output channel. In our current version we use /%{bric_id}/ to call it in but that doesn't print anything. The %{hex_uuid} works but it's too long and complicated for our purposes.When I look in the bricolage api under Bric::Biz::OutputChannel in the $oc = $oc->set_uri_format($uri_format) section, the bric_id isn't part of the list. The bric_id would return the same value as $story->get_id, I don't knw if I need to set this element somewhere but it would be very helpful if we could continue to use the story id in the uri. > Thanks, > > Evelina > > Evelina Lurye > Web Programmer > CBS Entertainment Tonight/ Insider > evelina.lurye [at] cbsparamount >
|