List Info

Thread: theme admin generator templates not loading




theme admin generator templates not loading
user name
2006-10-01 15:52:48
Hi

I just updated the alpha, and i have my own theme for the
admin  
generator with additional templates.

since the upgrade, symfony doesn't detect these templates,
and it  
seems to be looking for them in the default theme, as oppose
to my  
custom theme, any idea why?


Unable to load "templates/_edit_body.php"
generator template in: / 
Applications/MAMP/bin/php5/lib/php/data/symfony/generator/ 
sfPropelAdmin/default/template
stack trace

     * at ()
       in SF_SYMFONY_LIB_DIR/config/sfLoader.class.php line
90 ...
               87.       }
               88.     }
               89.
               90.     throw new sfException(sprintf('Unable
to load  
"%s" generator template in: %s', $path, implode(',
', $dirs)));
               91.   }
               92.
               93.   static public function
getConfigDirs($configPath)
     * at sfLoader::getGeneratorTemplate('sfPropelAdmin',
'doobree',  
'templates/_edit_body.php')
       in SF_SYMFONY_LIB_DIR/generator/sfGenerator.class.php
line 56 ...
               53.
               54.   protected function
evalTemplate($templateFile)
               55.   {
               56.     $templateFile =
sfLoader::getGeneratorTemplate 
($this->getGeneratorClass(), $this->getTheme(),
$templateFile);
               57.
               58.     // eval template file
               59.     ob_start();
     * at
sfGenerator->evalTemplate('templates/_edit_body.php')
       in SF_SYMFONY_LIB_DIR/generator/sfGenerator.class.php
line 47 ...

This must be a bug as it was working fine, it would seem the
admin  
generator now uses sfLoader, the bug must have crept in
here??

Thanks

Joe

--
To unsubscribe, e-mail: dev-unsubscribesymfony-project.com
For additional commands, e-mail: dev-helpsymfony-project.com

theme admin generator templates not loading
user name
2006-10-02 07:05:27
Hmm, your commit in r2282 fixes the problem?

Joe Simms wrote:
> Hi
> 
> I just updated the alpha, and i have my own theme for
the admin 
> generator with additional templates.
> 
> since the upgrade, symfony doesn't detect these
templates, and it seems 
> to be looking for them in the default theme, as oppose
to my custom 
> theme, any idea why?
> 
> 
> Unable to load "templates/_edit_body.php"
generator template in: 
>
/Applications/MAMP/bin/php5/lib/php/data/symfony/generator/s
fPropelAdmin/default/template 
> 
> stack trace
> 
>     * at ()
>       in SF_SYMFONY_LIB_DIR/config/sfLoader.class.php
line 90 ...
>               87.       }
>               88.     }
>               89.
>               90.     throw new
sfException(sprintf('Unable to load "%s" 
> generator template in: %s', $path, implode(', ',
$dirs)));
>               91.   }
>               92.
>               93.   static public function
getConfigDirs($configPath)
>     * at
sfLoader::getGeneratorTemplate('sfPropelAdmin', 'doobree', 
> 'templates/_edit_body.php')
>       in
SF_SYMFONY_LIB_DIR/generator/sfGenerator.class.php line 56
...
>               53.
>               54.   protected function
evalTemplate($templateFile)
>               55.   {
>               56.     $templateFile = 
>
sfLoader::getGeneratorTemplate($this->getGeneratorClass()
, 
> $this->getTheme(), $templateFile);
>               57.
>               58.     // eval template file
>               59.     ob_start();
>     * at
sfGenerator->evalTemplate('templates/_edit_body.php')
>       in
SF_SYMFONY_LIB_DIR/generator/sfGenerator.class.php line 47
...
> 
> This must be a bug as it was working fine, it would
seem the admin 
> generator now uses sfLoader, the bug must have crept in
here??
> 
> Thanks
> 
> Joe
> 
> -- 
> To unsubscribe, e-mail: dev-unsubscribesymfony-project.com
> For additional commands, e-mail: dev-helpsymfony-project.com
> 
> 
> 

--
To unsubscribe, e-mail: dev-unsubscribesymfony-project.com
For additional commands, e-mail: dev-helpsymfony-project.com

theme admin generator templates not loading
user name
2006-10-02 08:14:56
yep, fixed in r2282.

On 2 Oct 2006, at 08:05, Fabien POTENCIER wrote:

> Hmm, your commit in r2282 fixes the problem?
>
> Joe Simms wrote:
>> Hi
>> I just updated the alpha, and i have my own theme
for the admin  
>> generator with additional templates.
>> since the upgrade, symfony doesn't detect these
templates, and it  
>> seems to be looking for them in the default theme,
as oppose to my  
>> custom theme, any idea why?
>> Unable to load "templates/_edit_body.php"
generator template in: / 
>>
Applications/MAMP/bin/php5/lib/php/data/symfony/generator/ 
>> sfPropelAdmin/default/template stack trace
>>     * at ()
>>       in
SF_SYMFONY_LIB_DIR/config/sfLoader.class.php line 90 ...
>>               87.       }
>>               88.     }
>>               89.
>>               90.     throw new
sfException(sprintf('Unable to  
>> load "%s" generator template in: %s',
$path, implode(', ', $dirs)));
>>               91.   }
>>               92.
>>               93.   static public function
getConfigDirs($configPath)
>>     * at
sfLoader::getGeneratorTemplate('sfPropelAdmin',  
>> 'doobree', 'templates/_edit_body.php')
>>       in
SF_SYMFONY_LIB_DIR/generator/sfGenerator.class.php line  
>> 56 ...
>>               53.
>>               54.   protected function
evalTemplate($templateFile)
>>               55.   {
>>               56.     $templateFile =  
>>
sfLoader::getGeneratorTemplate($this->getGeneratorClass()
, $this- 
>> >getTheme(), $templateFile);
>>               57.
>>               58.     // eval template file
>>               59.     ob_start();
>>     * at
sfGenerator->evalTemplate('templates/_edit_body.php')
>>       in
SF_SYMFONY_LIB_DIR/generator/sfGenerator.class.php line  
>> 47 ...
>> This must be a bug as it was working fine, it would
seem the admin  
>> generator now uses sfLoader, the bug must have
crept in here??
>> Thanks
>> Joe
>> -- 
>> To unsubscribe, e-mail: dev-unsubscribesymfony-project.com
>> For additional commands, e-mail: dev-helpsymfony-project.com
>
> --
> To unsubscribe, e-mail: dev-unsubscribesymfony-project.com
> For additional commands, e-mail: dev-helpsymfony-project.com
>


--
To unsubscribe, e-mail: dev-unsubscribesymfony-project.com
For additional commands, e-mail: dev-helpsymfony-project.com

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )