Skip to content

Commit

Permalink
added basic dmMedia integration
Browse files Browse the repository at this point in the history
  • Loading branch information
pulse00 committed Mar 6, 2010
1 parent 3b91b36 commit ac83995
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/dm/services.yml
Expand Up @@ -4,4 +4,13 @@ parameters:

media_tag_video.class: dmMediaTagFlowPlayerVideo # Responsible for rendering video

media_tag_audio.class: dmMediaTagFlowPlayerAudio # Responsible for rendering audio
media_tag_audio.class: dmMediaTagFlowPlayerAudio # Responsible for rendering audio

ckeditor.class: dmCkEditor

services:

ckeditor:
class: %ckeditor.class%
shared: true
arguments: [@helper]
1 change: 1 addition & 0 deletions lib/widget/sfWidgetFormTextareaDmCkEditor.php
Expand Up @@ -49,6 +49,7 @@ public function render($name, $value = null, $attributes = array(), $errors = ar
json_encode($this->getOption('config'))
));

$value = sfContext::getInstance()->get('ckeditor')->render($value);
return parent::render($name, $value, $attributes, $errors);
}

Expand Down

0 comments on commit ac83995

Please sign in to comment.