Hi, I am the current developer of the sfSmartyPlugin,
the problem is the new 1.2 PartialHelper.php wants the partial view
setup per module.. which is wrong.. it should be
Line 214 of the PartialHelper.php should be
$class = sfConfig::get('mod_partial_view_class', 'sf').'PartialView';
and NOT
$class = sfConfig::get('mod_'.$moduleName.'_partial_view_class',
'sf').'PartialView';
this will resolve the problem
On Nov 26, 12:26 pm, "Kiril Angov" <[EMAIL PROTECTED]> wrote:
> I also want to know why this is the case. I had the same problem for
> sfHamlViewPlugin. The documentation states that now sfPartialView can
> be changed the same way sfPHPView can be changed, but that is
> obviously not true. I think Fabian Lange was the committer who
> implemented the configurability of sfPartialView. In the
> codehttp://trac.symfony-project.org/changeset/11482
>
> Thanks
>
> On Fri, Nov 21, 2008 at 8:09 PM, kennedy <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I posted a topic for the same point on the forums and didn't got any
> > answers. I hope I will received some feedback.
>
> > I noticed that I cannot use a differentpartialview class than
> > sfPartialView for globalpartial. (i.e.: include_partial('global/
> > mypartialtemplate'))
>
> > This issue is due to the fact that the PartialHelper checks for a
> > module configuration. But the template is in the application directly.
>
> > I am using the sfSmartyPlugin (sfSmartyView, sfSmartyPartialView) for
> > my frontend application.
>
> > PartialHelper get_partial method
>
> > $class = sfConfig::get('mod_'.$moduleName.'_partial_view_class',
> > 'sf').'PartialView';
>
> > This line always returns sfPartialView when the module name is global.
>
> > Should I open a ticket for that issue??
>
> > thanks,
> > kennedy
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---