Mailing List Archive

RE: bric_id
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@kineticode.com]
Sent: Monday, February 08, 2010 5:19 PM
To: Bricolage Users
Subject: Fwd: bric_id

Begin forwarded message:

> From: "Lurye, Evelina" <evelina.lurye@cbs.com>
> Date: February 8, 2010 5:03:00 PM PST
> To: "David E. Wheeler" <david@kineticode.com>
> 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@cbsparamount.com
>
Re: bric_id [ In reply to ]
On Feb 9, 2010, at 10:38 AM, Lurye, Evelina wrote:

> I figured out how to set up custom uri elements in Business.pm my setting up a new $fmt substitution for bric_id.

What? Can you show us some code? That doesn't sound right.

Best,

David