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

Mailing List Archive: Bricolage: users

Related Story

 

 

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


han_p at denison

Oct 21, 2009, 12:32 PM

Post #1 of 2 (473 views)
Permalink
Related Story

I'm trying to write a code for an element. I've already set up the element
as being related to a story, which is forcefully. So after I published the
story without a link, it threw out an error, saying "Can't call method
"get_site_id" on an undefined value". Sometimes I want to relate to a story
and sometimes I don't, so I'm wondering in what code I can make it
published. Anyone can shows his/her generosity?

Thanks,
Pai


david at kineticode

Oct 21, 2009, 1:31 PM

Post #2 of 2 (442 views)
Permalink
Re: Related Story [In reply to]

On Oct 21, 2009, at 12:32 PM, Pai Han wrote:

> I'm trying to write a code for an element. I've already set up the
> element
> as being related to a story, which is forcefully. So after I
> published the
> story without a link, it threw out an error, saying "Can't call method
> "get_site_id" on an undefined value". Sometimes I want to relate to
> a story
> and sometimes I don't, so I'm wondering in what code I can make it
> published. Anyone can shows his/her generosity?

Hi Pai,

Can you post examples of your template code?

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.