Well, after updating everything it didn't work. So I moved temporarily my
app/Resources/views/base.html.twig to a bundle and now it works like a
charm.

I'll take a look again later if I find the error and I'll let you know guys
what happend.


Thanks.

2011/4/1 Gustavo Adrian <comfortablynum...@gmail.com>

> It should work this way too. I updated my sandbox so it looks almost the
> same as the SE. I'm making all the updates on the code now. I'll try again
> when I finish. It's a big move to update this time :P
>
>
> Thanks!
>
>
> 2011/4/1 oscar balladares <liebegr...@gmail.com>
>
>> Hi.
>>
>> you might want to download the SE PR9 and import your bundle, anyway
>> bundles are meant to be able to hook up very easily.
>>
>> I'm using PR9 and base.html.twig is in app/Resources/views and is working.
>>
>> Saludos.
>>
>> 2011/4/1 Gustavo Adrian <comfortablynum...@gmail.com>
>>
>>> Yes, I cleared the cache and removed the "Bundle" suffix for routes and
>>> templates names for rendering. I still don't know why it doesn't find the
>>> layout. Could it be that saying "TEMPLATE does not exists" really means that
>>> there's an error at some place in the app?
>>>
>>> Anyway, I didn't see the UPDATE file. Thanks for pointing this out! I
>>> don't use the standard edition. I've been using the sandbox for a couple of
>>> months and I just update my vendors and update the code accordingly. But
>>> this time seems to be a little bit harder than before. I see some more
>>> remaining changes to do in the UPDATE file, also they don't seem to have
>>> anything to do with this problem. I'll update my code and try again. I'll
>>> get back when I'm done.
>>>
>>> Thanks for your help!
>>>
>>>
>>> 2011/4/1 Roger Webb <webb.ro...@gmail.com>
>>>
>>>> Looks like you beat me too it.
>>>>
>>>> Did you clear app/cache?  I had problems there.  You also have to
>>>> change everything that has the "Bundle" suffix.  It's a lot of find/
>>>> replace on all of your templates (every template that "extends"
>>>> another).
>>>>
>>>> Roger
>>>>
>>>> On Apr 1, 11:09 am, Roger Webb <webb.ro...@gmail.com> wrote:
>>>> > If you just upgraded to PR9, the base template is now in
>>>> app/Resources/
>>>> > base.html.twig
>>>> >
>>>> > https://github.com/symfony/symfony/blob/master/UPDATE.md
>>>> >
>>>> > The upgrade from PR8 to PR9 was a bit more painful that previous
>>>> > ones.  Read the update document thoroughly.
>>>> >
>>>> > Roger
>>>> >
>>>> > On Apr 1, 9:45 am, Gustavo Adrian <comfortablynum...@gmail.com>
>>>> wrote:
>>>> >
>>>> > > Hi,
>>>> >
>>>> > > I have in one of my bundle's templates:
>>>> >
>>>> > > {% extends "::layout.html.twig" %}
>>>> >
>>>> > > This extended from app/views/layout.html.twig. After updating
>>>> Symfony it
>>>> > > throws an exception:
>>>> >
>>>> > > "Unable to find template ""::layout.html.twig"". at line 0"
>>>> >
>>>> > > How should I extend now from application specific templates?
>>>> >
>>>> > > NOTE: I already moved app/views/layout.html.twig to
>>>> > > app/Resources/views/layout.html.twig , but it still doesn't work.
>>>> >
>>>> > > Thanks!
>>>> >
>>>> >
>>>>
>>>> --
>>>> If you want to report a vulnerability issue on symfony, please send it
>>>> to security at symfony-project.com
>>>>
>>>> You received this message because you are subscribed to the Google
>>>> Groups "symfony users" group.
>>>> To post to this group, send email to symfony-users@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> symfony-users+unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/symfony-users?hl=en
>>>>
>>>
>>>  --
>>> If you want to report a vulnerability issue on symfony, please send it to
>>> security at symfony-project.com
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "symfony users" group.
>>> To post to this group, send email to symfony-users@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> symfony-users+unsubscr...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/symfony-users?hl=en
>>>
>>
>>  --
>> If you want to report a vulnerability issue on symfony, please send it to
>> security at symfony-project.com
>>
>> You received this message because you are subscribed to the Google
>> Groups "symfony users" group.
>> To post to this group, send email to symfony-users@googlegroups.com
>> To unsubscribe from this group, send email to
>> symfony-users+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en
>>
>
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to