Author: tkoomzaaskz
Date: 2010-01-24 01:57:38 +0100 (Sun, 24 Jan 2010)
New Revision: 27106

Modified:
   plugins/tdAudioPlugin/trunk/README
   plugins/tdAudioPlugin/trunk/lib/model/doctrine/PlugintdTrackAlbum.class.php
   plugins/tdAudioPlugin/trunk/modules/td_track_album/config/generator.yml
   plugins/tdAudioPlugin/trunk/package.xml
Log:
[td][audio] track album admin updated, docs updated - preparing for release 
0.1.1

Modified: plugins/tdAudioPlugin/trunk/README
===================================================================
--- plugins/tdAudioPlugin/trunk/README  2010-01-24 00:36:16 UTC (rev 27105)
+++ plugins/tdAudioPlugin/trunk/README  2010-01-24 00:57:38 UTC (rev 27106)
@@ -1,7 +1,7 @@
-tdGuestbookPlugin
+tdAudioPlugin
 ======================
 
-Provides funcionalities for a standard guestbook.
+Provides easy interface for flash mp3 player to embed in symfony projects.
 
 This plugin is a part of __TD CMS__ and is based on __Doctrine ORM__.
 
@@ -11,31 +11,62 @@
 Install the plugin via the subversion repository by executing the following
 command from the project root directory:
 
-    $ svn co http://svn.symfony-project.com/plugins/tdGuestbookPlugin/trunk 
plugins/tdGuestbookPlugin
+    $ svn co http://svn.symfony-project.com/plugins/tdAudioPlugin/trunk 
plugins/tdAudioPlugin
 
 or by using the default symfony plugin install command:
 
-    $ ./symfony plugin:install -s beta tdGuestbookPlugin
+    $ ./symfony plugin:install -s beta tdAudioPlugin
 
-as the actual release is in its beta stage.
+as the actual release is in its beta stage. Run
 
+    $ ./symfony plugin:publish-assets
+
+to enable all needed media files (which in this case are more or less
+everything).
+
 Usage
 =====
 
+  * Enable the __track_td_album__ module in your backend app and enable the
+    __tdSampleAudio__ module in your frontend (or make a copy of it to modify,
+    if the plugin was installed using SVN).
+
+  * Fixtures are provided with the plugin - more than 10 small mp3 files 
(thanks
+    to  [simplythebest.net](http://www.simplythebest.net) site). Run following
+    commands:
+
+        $ ./symfony doctrine:build --all
+
+    and
+
+        $ ./symfony doctrine:data-load
+
+    and run the following URL in your browser:
+
+        http://your-project/audio
+
+    to see a demo of the mp3 flash player. It should look something like this:
+
+    ![Albums_list](http://img651.imageshack.us/img651/9168/tdaudioplugin.png 
"Albums list")
+
+    ![Album_tracks](http://img19.imageshack.us/img19/2228/tdaudioplugin2.png 
"Album tracks")
+
+    (those screenshots have been made from an example website).
+
 Configuration
 =============
 
-You can modify settings of the tdGuestbookPlugin in the
-__config/tdGUestbookPluginConfiguration.class.php__ file:
+You can modify settings of the tdAudioPlugin in the
+__config/tdAudioPluginConfiguration.class.php__ file:
 
-  * _td_guestbook_entries_per_page_ - number of guestbook entries shown on each
-    page.
+  * _td_audio_short_text_sign_count_ - character count of a short track album
+    descrtiption version
 
 Translations
 ============
 
-You may translate tdGuestbook module to your own language by creating
-__td_guestbook.XX.xml__ file under _modules/tdGuestbook/i18n_
+You may translate tdAudio module to your own language by creating
+__td.XX.xml__ file under _modules/tdSampleAudio/i18n_
 directory (where XX is the language code). So far, English language is the
 default one and additionally Polish translationis provided.
 

Modified: 
plugins/tdAudioPlugin/trunk/lib/model/doctrine/PlugintdTrackAlbum.class.php
===================================================================
--- plugins/tdAudioPlugin/trunk/lib/model/doctrine/PlugintdTrackAlbum.class.php 
2010-01-24 00:36:16 UTC (rev 27105)
+++ plugins/tdAudioPlugin/trunk/lib/model/doctrine/PlugintdTrackAlbum.class.php 
2010-01-24 00:57:38 UTC (rev 27106)
@@ -19,7 +19,7 @@
    */
   public function getDescriptionShort()
   {
-    return mb_substr($this->getDescription(), 0, 
sfConfig::get('td_audio_short_text_sign_count')).'...';
+    return tdTools::getMbShortenedString($this->getDescription(), 
sfConfig::get('td_audio_short_text_sign_count'));
   }
 
   /**

Modified: 
plugins/tdAudioPlugin/trunk/modules/td_track_album/config/generator.yml
===================================================================
--- plugins/tdAudioPlugin/trunk/modules/td_track_album/config/generator.yml     
2010-01-24 00:36:16 UTC (rev 27105)
+++ plugins/tdAudioPlugin/trunk/modules/td_track_album/config/generator.yml     
2010-01-24 00:57:38 UTC (rev 27106)
@@ -50,6 +50,21 @@
           deactivate: ~
         display: [ active, name, author, released_at, description_short, 
updated_at ]
         max_per_page: 10
+        layout: stacked
+        params: |
+          <img src="/tdAudioPlugin/images/%%file_cover%%" />
+          <br />
+          <strong>Nazwa</strong>: <i>%%name%%</i> %%active%%
+          <br />
+          <strong>Autor</strong>: <i>%%author%%</i>
+          <br />
+          <strong>Wydano</strong>: <i>%%released_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:

Modified: plugins/tdAudioPlugin/trunk/package.xml
===================================================================
--- plugins/tdAudioPlugin/trunk/package.xml     2010-01-24 00:36:16 UTC (rev 
27105)
+++ plugins/tdAudioPlugin/trunk/package.xml     2010-01-24 00:57:38 UTC (rev 
27106)
@@ -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.0</release>
+   <release>0.1.1</release>
    <api>0.1.0</api>
  </version>
  <stability>
@@ -155,7 +155,7 @@
     <package>
      <name>tdCorePlugin</name>
      <channel>plugins.symfony-project.org</channel>
-     <min>0.1.7</min>
+     <min>0.1.8</min>
     </package>
    </required>
   </dependencies>
@@ -167,6 +167,25 @@
 
    <release>
     <version>
+     <release>0.1.1</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 method
+     * track album admin updated
+     * documentation updated
+    </notes>
+   </release>
+
+   <release>
+    <version>
      <release>0.1.0</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