.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt .. role:: underline ================= EXT: rgmedialinks ================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed: 2007-11-16T13:39:41 :Author: Georg Ringer :Email: http://www.just2b.com :Info 3: :Info 4: .. _EXT-rgmedialinks: EXT: rgmedialinks ================= Extension Key: **rgmedialinks** Copyright 2000-2002, Georg Ringer, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.com .. _Table-of-Contents: Table of Contents ----------------- **EXT: rgmedialinks 1** **Introduction 1** What does it do? 1 Screenshots 2 Demonstration 2 **Users manual 2** Installation 2 Installation with another Mootools EXT installed 3 Usage of the extensions 3 **Configuration 3** Reference 3 **rgmedialinks in your own extension or with TS 3** **Known problems 3** **You like the extension? 3** **To-Do list 3** **Changelog 3** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ Display videos from the most popular video websites in a Lightbox in your own website. This has been testet with youtube, video.google, metacafe, dailymotion, clipfish, sevenload. You can also display videos from your own webspace. The really cool thing is that you just need to link the video inside your content element. You don't need any plugin or anything else! It also works in your extension or in current extensions like tt\_news Thanks to `John Einselen `_ for the very nice script! .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-1| **Image 1: A video from sevenload.com** .. _Demonstration: Demonstration ^^^^^^^^^^^^^ Take a look at how it works at my website. - In English: `http://www.rggooglemap.com/en/dev/rgmedialinks.html `_ - in German: `http://www.rggooglemap.com/dev/rgmedialinks.html `_ - rgmedialinks in tt\_news: `http://www.rggooglemap.com/dev/rgmedialinks /medialinks-in-tt-news.html `_ .. _Users-manual: Users manual ------------ .. _Installation: Installation ^^^^^^^^^^^^ Import/Download the extension and install it like every other extension. Include the static TS (from extension) in the template record (your root TS or make an ext. template just for the page where you want the extension be displayed). :underline:`**The steps for the real beginners are**` : Select your root/first page. Click in the menu on the left side “Template” and choose “Edit whole record”. Scroll down until you see the the same thing as in the screenshot shown. |img-2| Search for the “Media links (rgmedialinks)” entry on the right side, click on it to get it on the left side. Press “Save” and you are done. .. _Installation-with-another-Mootools-EXT-installed: Installation with another Mootools EXT installed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If there is another extension installed which uses Mootools (like pmkslimbox, rgsmoothgallery, rgsmoothscroll, ...) you need to use the extension t3mootools! Please take a look at the manual there – it is very simple to do! .. _Usage-of-the-extensions: Usage of the extensions ^^^^^^^^^^^^^^^^^^^^^^^ After the installation every link inside a content element, no matter if you link a normal text or an image, it will be shown in the Lightbox. .. _Configuration: Configuration ------------- There is not much to configure and everything can be done through the Constant Editor. Take a look at the Reference for a short explanation. **Note: All settings through the constant!** .. _Reference: Reference ^^^^^^^^^ .. ### BEGIN~OF~TABLE ### .. _searchString: searchString """""""""""" .. container:: table-row Property searchString Data type string Description If the linked url contains one of the urls, the link will be opened in a Lightbox. Default youtube.com,video.google.com,metacafe.com,dailymotion.com,clipfish.com ,clipfish.de,sevenload.com .. _fileTypes: fileTypes """"""""" .. container:: table-row Property fileTypes Data type string Description If the linked file has got one one of these file endings, the video will be shown in the Lightbox. Default .swf,.flv,.mov,.wmv .. _size: size """" .. container:: table-row Property size Data type string Description The size of the Lightbox. Syntax is width height Default 400 300 .. _jsFile: jsFile """""" .. container:: table-row Property jsFile Data type string Description The source file of rgmedialinks Default EXT:rgmedialinks/res/mediabox.js .. _cssFile: cssFile """"""" .. container:: table-row Property cssFile Data type string Description The CSS file of rgmedialinks Default EXT:rgmedialinks/res/mediabox.css .. _mootools: mootools """""""" .. container:: table-row Property mootools Data type string Description Mootools Library, Better way is to use EXT:t3mootools but this is the standalone library for rgmedialinks Default EXT:rgmedialinks/res/mootools.js .. ###### END~OF~TABLE ###### [tsref:plugin.rgmedialinks] .. _rgmedialinks-in-your-extension-or-with-TS: rgmedialinks in your extension or with TS ----------------------------------------- To use rgmedialinks in your own extension you need to follow these steps: **1.) Include the Mootools Library and the source file of rgmedialinks** :: # TS Code page.includeJS.file1 = EXT:rgmedialinks/res/mootools.js page.includeJS.file2 = EXT:rgmedialinks/res/mediabox.js page.includeCSS.file1 = EXT:rgmedialinks/res/mediabox.css **2.) Enable rgmedialinks** a) Either you can use the parseFunction of TYPO3 to enable rgmedialinks with TS :: # TS Code plugin.tx_yourext.text.parseFunc.tags.link.typolink.userFunc { searchString = {$plugin.rgmedialinks.searchString} fileTypes = {$plugin.rgmedialinks.fileTypes} size= {$plugin.rgmedialinks.size} jsFile = {$plugin.rgmedialinks.jsFile} cssFile = {$plugin.rgmedialinks.cssFile} mootools = {$plugin.rgmedialinks.mootools} } To get this working you need to use the cObj stdWrap to enable the parseFunc for your field b) Fastest way Just add the attribute “rel=”mediabox” to your link .. _FAQ: FAQ ^^^ **Q:** My link doesn't get modified **A:** Try to change to order in your TS: 1 :sup:`st` css\_styled\_content, then rgmedialinks and afterwards tt\_news .. _Known-problems: Known problems -------------- As usual: There are conflicts with other ajax libraries. Consider the “Known Issues” from the author of the script `http://iaian7.com/webcode/Mediabox `_ Currently problems with audio files, will be fixed in one of the next versions .. _You-like-the-extension: **You like the extension?** --------------------------- If you like this extension, you can do one or more of the following things: - Write me a mail or create a posting at `http://www.rggooglemap.com/dev/rgmedialinks.html `_ - Please rate the extension in the Repository: `http://typo3.org/extensions/ `_ search for rgmedialinks, click on the title and then at “Ratings” (You need to be registered and logged in at typo3.org) - Donate something, so that I can write those kind of extensions for you. More information is here: German: `http://www.rggooglemap.com/menu/spende.html `_ and English: `http://www.rggooglemap.com/en/2/donate.html `_ . Thanks! .. _To-Do-list: To-Do list ---------- \- Show audio files .. _Changelog: Changelog --------- 1.0.0 Initial release |img-3| EXT: rgmedialinks - 4 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 297 .. :id: Grafik1 .. :name: Grafik1 .. :width: 467 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 193 .. :id: Grafik2 .. :name: Grafik2 .. :width: 552 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102