Author: Jonathan.Wage
Date: 2010-01-12 20:23:05 +0100 (Tue, 12 Jan 2010)
New Revision: 26546
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/config/sfSympalAdminPluginConfiguration.class.php
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/content/sfSympalContentRenderer.class.php
Log:
[1.4][sfSympalPlugin][1.0] Loading helpers that are required and fixing
mispelled function name
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/config/sfSympalAdminPluginConfiguration.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/config/sfSympalAdminPluginConfiguration.class.php
2010-01-12 18:58:00 UTC (rev 26545)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalAdminPlugin/config/sfSympalAdminPluginConfiguration.class.php
2010-01-12 19:23:05 UTC (rev 26546)
@@ -73,6 +73,8 @@
public function loadEditor(sfEvent $event)
{
+ $this->configuration->loadHelpers(array('Asset', 'Partial'));
+
$menu = $event->getSubject();
$content = $event['content'];
$user = sfContext::getInstance()->getUser();
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/content/sfSympalContentRenderer.class.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/content/sfSympalContentRenderer.class.php
2010-01-12 18:58:00 UTC (rev 26545)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalRenderingPlugin/lib/content/sfSympalContentRenderer.class.php
2010-01-12 19:23:05 UTC (rev 26546)
@@ -62,7 +62,7 @@
$return =
sfSympalToolkit::getSymfonyResource($this->_content->getTemplateToRenderWith(),
$variables);
$return = $this->_dispatcher->filter(new sfEvent($this,
'sympal.content_renderer.filter_content', $variables),
$return)->getReturnValue();
} else {
- $return = $this->renderNonHtmlFormat();
+ $return = $this->renderNonHtmlFormats();
}
return $return;
}
--
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.