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@pectopah.com
www.pectopah.com
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@pectopah.com
www.pectopah.com