Hi D,

If you want to get only the file name what you need to create is a
placeholder (element) of type "attribute". That element lets you
choose what media or image to get attributes from, and it will display
a list of possible attributes to extract. For further information
please refer to the Product Manual "Content Classes" page 195.

Pablo Bustamante
[email protected]
Oshyn – The OpenText Content Management Experts www.oshyn.com

On Apr 16, 7:53 am, D <[email protected]> wrote:
> Hi guys.
>
> I created a media content element in a master page template. How could
> I possibly test and disply its filename? I tried this and it doesn't
> work.
>
> <if>
>   <query .... if the filename is empty....>
>   <%med_flash%>
>   </query>
> </if>
>
> The problem is it doesn't do anything. I tried just displaying <
> %med_flash%> and it gave this:
> ImageCache/764BAE36C3D6485C884E556678A1A4EC/
> FBA9AB13796A4122B58522F31DA9D2F8/IN/index.swf
>
> I want to extract the filename only (index.swf). Do I need to transfer
> the value of media content element to a standard field or something?
> Is there a way I could just test the string property of the element?
>
> Thanks in advance.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to