Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

RE: bric_id

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


evelina.lurye at cbs

Feb 9, 2010, 10:38 AM

Post #1 of 2 (507 views)
Permalink
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 [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
>


david at kineticode

Feb 9, 2010, 11:54 AM

Post #2 of 2 (441 views)
Permalink
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

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.