Hi,
On Aug 19, 2009, at 6:33 AM, Bogdan M. Maryniuk wrote:
On Wed, Aug 19, 2009 at 1:11 PM, Bogdan M. Maryniuk wrote:
Mea culpa, I suspect, something little bit interesting happens with a
Flash content:
1. Add sub-sub-sub page to the "Home" template and choose "Article"
(wondering why I can not put a flash on a "Home" or "Section", but
anyway).
2. Click "New Content" button and add "Flash Animation".
3. See that nothing actually happened, just a little whitespace with
"Edit" buttons.
Just for a record, movies works fine (got some of these:
http://www.apple.com/getamac/ads/), but I can not get why templates
are so different for getting paths: in Flash case it is
"${model.link}", while in case of video it is
this is a bug for the flash as it should behave the same way as for
the videos and
any other assets. Should be fix in next version.
But as a workaround you can edit
stkFlash dialog: remove flashDmsUUID and flashBinary and create
another content
node flash with two node datas controlType=dam, label=some text (you
can see how it's done
for stkVideo) and then modify the template replacing "${model.link}"
for "${stk.getAssetLink(content, 'flash')!}"
"${stk.getAssetLink(content, 'video')!}". Does that mean that there
are no standardized API for all life events just to be same? I thought
it could be just a standard method to take an URL of an asset that is
uploaded to storage...
--
Kind regards, BM
Things, that are stupid at the beginning, rarely ends up wisely.
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
Best regards,
Teresa Miyar
Magnolia International Ltd.
Magnolia® - Simple Open Source Content Management
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------