In the admin/settings/nrembrowser configuration page, I (the admin) state what content type I want to display as well as a field to reference a thumbnail from. We created a content type Video which is a CCK FileField type. This field type creates its own thumbnails as well as a reference to the video. When the user inserts the value from the nrem browser interface into the rich text field, the value is saved as [[nid]]. The issue we're having: video type doesn't give us a link to launch a url or even a video within the rich text field. We need an active link to the video. How do we accomplish this?
Comment | File | Size | Author |
---|---|---|---|
#1 | custom_style_nrembrowser.tar_.gz | 4.14 KB | grndlvl |
Comments
Comment #1
grndlvl CreditAttribution: grndlvl commentedBill,
Here is an example of adding a custom style for a filefield and linking to its content directly with a link. This will still give you blank thumbnails in the browser window but there is a snippet #849472: Integrate w/ views comment #4 for using views to make it list something different.
http://img.skitch.com/20101014-msi8dpubd9fycx2mwcdx2ji65e.jpg
http://img.skitch.com/20101014-g7shw7tawgqhgqgksg99f6mada.jpg
http://img.skitch.com/20101014-nk5p8i9ygexk1386ra91dqne1b.jpg
custom_nrembrowser.info
custom_nrembrowser.module
includes/custom_nrembrowser.styles.inc
Enjoy!
Comment #2
grndlvl CreditAttribution: grndlvl commentedStill have questions just re-open this issue.
Comment #4
WoozyDuck CreditAttribution: WoozyDuck commentedI was wondering how I can extend this function for the images and audio also?
Comment #5
WoozyDuck CreditAttribution: WoozyDuck commented