I was hoping that the "other funny stuff" was also in the
application.dryml, which is why I asked for the whole file rather than
just the snippet.
You seem to be missing the
<old-page merge>
portion in your snippet. Could that be what's causing your problem?
I would write <content: restore> rather than <content restore>, but it
appears that both work, and I'm not sure which was Tom's intended syntax
-- both are mentioned in the DRYML manual.
Bryan
Greg Lindberg wrote:
Here is my application.dryml file:
<def tag="app-name">Ppb11</def>
<extend tag="page">
<content: replace>
<section-group>
<section><content restore/></section>
<aside><sites-menu/></aside>
</section-group>
</content:>
</extend>
The <content:...> section works fine when it's in the show.dryml file
but not in the application.dryml. I also tried just a simple <extend
tag="page"></extend> but that also blows up. I started a fresh app and
the extend tag works fine so I'm not sure how this one is acting funny.
I suppose I'll trying running through the tutorial from scratch and keep
testing along the way unless someone can think of anything else to check.
Greg
On Wed, Feb 3, 2010 at 5:32 AM, Bryan Larsen <[email protected]
<mailto:[email protected]>> wrote:
Perhaps every single one of my Hobo apps does this. Can you post
your application.dryml file so we can see what's different about yours?
thanks,
Bryan
Greg wrote:
Whenever I try and use the <extend tag="page"> in the (apps/views/
taglibs/application.dryml) I get this error:
NameError in Front#index
Showing app/views/front/index.dryml where line # raised:
undefined method `page' for class `#<Class:0x879cbe4>'
I've tried this on 2 computers using Instant Rails (2.3.5) and Hobo:
0.9.10 and have been going through the tutorial fine until I ran in
this problem.
Any help would be much appreciated!
--
You received this message because you are subscribed to the Google
Groups "Hobo Users" group.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To unsubscribe from this group, send email to
[email protected]
<mailto:hobousers%[email protected]>.
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.
--
You received this message because you are subscribed to the Google
Groups "Hobo Users" 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/hobousers?hl=en.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.