Re: add link to file in html page

"Stephen Moretti" <[email protected]> Fri, 14 Dec 2007 09:34:42 +0000
Newsgroups gmane.comp.cms.farcry.user
Message-ID <[email protected]>
On 14/12/2007, AJ Mercer <[email protected]> wrote:
>
> I have been away from farcry for way too long, and have come back in at
> version 4 and it is all different.
>
> So I have found how to get an image onto the page from the media library -
> very nice
> But I would now like to know how I can put in a link on the page to a
> document in the library.
>
> I am not after the related documents that can have a template that
> displays all the documents (with teaser) at the bottom of the page,
> but links within the page itself.
>
> Thank you.
>

Andrew,

It works the same way as images.


   - Add your file as a related media item to your html page.
   - Click on the Farcry "trumpet" logo in the body content editor
   - Select File from the tab in the pop-up
   - Select the related file from the drop down list
   - Click on "preview"
   - Click on "insert"

This uses the insertHTML_ webskin functionality.  You can find the file
download insertHTML_ in core/webskin/dmFile/  You can, of course, override
this on a plugin or a project basis, by creating your own insertHTML_ files
in the webskin/dmFile folder in your plugin or project.

Regards

Stephen

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