Author: tkoomzaaskz
Date: 2010-01-24 02:09:47 +0100 (Sun, 24 Jan 2010)
New Revision: 27108

Modified:
   plugins/tdVideoPlugin/trunk/README
   plugins/tdVideoPlugin/trunk/lib/model/doctrine/PlugintdVideo.class.php
   plugins/tdVideoPlugin/trunk/modules/td_video/config/generator.yml
   plugins/tdVideoPlugin/trunk/package.xml
Log:
[td][video] docs updated, admin updated - for release 0.1.3

Modified: plugins/tdVideoPlugin/trunk/README
===================================================================
--- plugins/tdVideoPlugin/trunk/README  2010-01-24 01:03:41 UTC (rev 27107)
+++ plugins/tdVideoPlugin/trunk/README  2010-01-24 01:09:47 UTC (rev 27108)
@@ -1,4 +1,4 @@
-sfVideoPlugin
+tdVideoPlugin
 =============
 
 The `tdVideoPlugin` is a symfony plugin providing easy interface for flash
@@ -28,23 +28,46 @@
 Usage
 =====
 
-Go to the _config_ directory of the plugin and uncomment all lines in the
-_routing.yml_ file.
+  * Enable the tdSampleVideo module in your frontend application's
+    _config/settings.yml_ enabled_modules section:
 
-Enable the sfVideo module in your application's config/settings.yml
-enabled_modules section:
+        [php]
+        enabled_modules: [ ..., tdSampleVideo ]
 
-    [php]
-    enabled_modules: [ ..., tdSampleVideo ]
+  * Fixtures are provided with the plugin - 3 flv files (thanks to
+    
[media_college](http://www.mediacollege.com/adobe/flash/video/tutorial/example-flv.html).
+    Run following commands:
 
-Run the following URL in your browser:
+        $ ./symfony doctrine:build --all
 
-    http://your-site/video
+    and
 
-You may choose from 3 example flv files to display. They can be loaded with the
-fixture file provided. Example flv files are displayed in
-tdSampleVideo/templates/indexSuccess.php file.
+        $ ./symfony doctrine:data-load
 
+    and run the following URL in your browser:
+
+        http://your-project/video
+
+    You may choose from 3 example flv files to display. Example flv files are
+    displayed in _tdSampleVideo/templates/indexSuccess.php_ file.
+
+  * Enable the td_video admin generator in your backend application's
+    _config/settings.yml_ enabled_modules section:
+
+        [php]
+        enabled_modules: [ ..., td_video ]
+
+Configuration
+=============
+
+You can modify settings of the tdVideoPlugin in the
+__config/tdVideoPluginConfiguration.class.php__ file:
+
+  * _td_video_image_dir_ - upload dir of all video files
+
+  * _td_video_short_text_sign_count_ - character count of a short video
+    descrtiption version
+
 Documentation
 =============
 

Modified: plugins/tdVideoPlugin/trunk/lib/model/doctrine/PlugintdVideo.class.php
===================================================================
--- plugins/tdVideoPlugin/trunk/lib/model/doctrine/PlugintdVideo.class.php      
2010-01-24 01:03:41 UTC (rev 27107)
+++ plugins/tdVideoPlugin/trunk/lib/model/doctrine/PlugintdVideo.class.php      
2010-01-24 01:09:47 UTC (rev 27108)
@@ -19,7 +19,7 @@
    */
   public function getDescriptionShort()
   {
-    return mb_substr($this->getDescription(), 0, 
sfConfig::get('td_video_short_text_sign_count')).'...';
+    return tdTools::getMbShortenedString($this->getDescription(), 
sfConfig::get('td_video_short_text_sign_count'));
   }
 
   /**

Modified: plugins/tdVideoPlugin/trunk/modules/td_video/config/generator.yml
===================================================================
--- plugins/tdVideoPlugin/trunk/modules/td_video/config/generator.yml   
2010-01-24 01:03:41 UTC (rev 27107)
+++ plugins/tdVideoPlugin/trunk/modules/td_video/config/generator.yml   
2010-01-24 01:09:47 UTC (rev 27108)
@@ -50,6 +50,19 @@
           deactivate: ~
         display: [ active, name, author, recorded_at, description_short, 
updated_at ]
         max_per_page: 10
+        layout: stacked
+        params: |
+          <strong>Nazwa</strong>: <i>%%name%%</i> %%active%%
+          <br />
+          <strong>Autor</strong>: <i>%%author%%</i>
+          <br />
+          <strong>Nagrano</strong>: <i>%%recorded_at%%</i>
+          <br />
+          <strong>Opis</strong>: <div 
class="text_box">%%description_short%%</div>
+          <br />
+          <strong>utworzono</strong>: <i>%%created_at%%</i>
+          <br />
+          <strong>zmieniono</strong>: <i>%%updated_at%%</i>
       filter:  ~
       form:
         fields:
@@ -58,7 +71,7 @@
           author:
             attributes: { size: 80 }
           description:
-            attributes: { cols: 80, rows: 10 }
+            attributes: { cols: 80, rows: 16 }
       edit:
         title: Edit video file
         display: [ name, author, description, _file_show, file, recorded_at, 
active ]

Modified: plugins/tdVideoPlugin/trunk/package.xml
===================================================================
--- plugins/tdVideoPlugin/trunk/package.xml     2010-01-24 01:03:41 UTC (rev 
27107)
+++ plugins/tdVideoPlugin/trunk/package.xml     2010-01-24 01:09:47 UTC (rev 
27108)
@@ -10,10 +10,10 @@
   <email>[email protected]</email>
   <active>yes</active>
  </lead>
- <date>2010-01-22</date>
+ <date>2010-01-24</date>
  <time>11:00:00</time>
  <version>
-   <release>0.1.2</release>
+   <release>0.1.3</release>
    <api>0.1.0</api>
  </version>
  <stability>
@@ -140,7 +140,7 @@
     <package>
      <name>tdCorePlugin</name>
      <channel>plugins.symfony-project.org</channel>
-     <min>0.1.7</min>
+     <min>0.1.8</min>
     </package>
    </required>
   </dependencies>
@@ -152,6 +152,25 @@
 
    <release>
     <version>
+     <release>0.1.3</release>
+     <api>0.1.0</api>
+    </version>
+    <stability>
+     <release>beta</release>
+     <api>beta</api>
+    </stability>
+    <license uri="http://www.symfony-project.org/license";>MIT license</license>
+    <date>2010-01-24</date>
+    <license>MIT</license>
+    <notes>
+     * fixed short description
+     * video admin updated
+     * documentation updated
+    </notes>
+   </release>
+
+   <release>
+    <version>
      <release>0.1.2</release>
      <api>0.1.0</api>
     </version>

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" 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/symfony-svn?hl=en.

Reply via email to