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

Mailing List Archive: Bricolage: users
Thumbnails and find_or_create_alternate()
 

Index | Next | Previous | View Flat


bret at pectopah

Jun 14, 2011, 7:24 AM


Views: 1634
Permalink
Thumbnails and find_or_create_alternate()

Hi everybody,

I'm about to launch a site upgraded to 2.0.1 from the 1.10 series, and
I'm adjusting a bunch of templates to use the new
find_or_create_alternate() method.

Making the images works great; they land on the publish desk in the
media workflow and show up fine on web pages.

What I'm curious about is getting those images published. In my
template, immediately after the call to find_or_create_another(), I do
this ($back is the returned thumbnail, and $pic is the large image):

$burner->publish_another($back, $pic->get_cover_date, 1) unless
$back->get_publish_status;

I have the third true argument in the call to publish_another() because
I want the thumbnail to be published when the main story is previewed.
This sort of thing worked in 1.10, but it doesn't seem to work in 2.0.1.
Am I missing something?

The thumbnail does get published when the story does, but it doesn't get
returned to the library. Instead it stays on the publish desk in the
media workflow, with a nice green "P" marking it published. Is anybody
else seeing this?


Thanks so much,

Bret



--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret [at] pectopah
www.pectopah.com

Subject User Time
Thumbnails and find_or_create_alternate() bret at pectopah Jun 14, 2011, 7:24 AM
    Re: Thumbnails and find_or_create_alternate() david at kineticode Jun 14, 2011, 8:17 PM
    Re: Thumbnails and find_or_create_alternate() david at kineticode Jun 14, 2011, 8:17 PM
    Re: Thumbnails and find_or_create_alternate() zdravko.balorda at siix Jun 21, 2011, 2:59 AM
        Re: Thumbnails and find_or_create_alternate() david at kineticode Jun 21, 2011, 9:47 AM
    Re: Thumbnails and find_or_create_alternate() bret at pectopah Jun 21, 2011, 10:06 AM
        Re: Thumbnails and find_or_create_alternate() david at kineticode Jun 21, 2011, 10:19 AM
    Re: Thumbnails and find_or_create_alternate() bret at pectopah Jun 21, 2011, 10:24 AM
        Re: Thumbnails and find_or_create_alternate() david at kineticode Jun 21, 2011, 1:16 PM
        Re: Thumbnails and find_or_create_alternate() dawn at dawnthots Jun 27, 2011, 10:57 AM
            Re: Thumbnails and find_or_create_alternate() bret at pectopah Jun 27, 2011, 1:19 PM
                Re: Thumbnails and find_or_create_alternate() zdravko.balorda at siix Feb 3, 2012, 12:25 AM

  Index | Next | Previous | View Flat
 
 


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