I tried removing everything except for the code snippet but still no luck. Changing to content: restore gives me another error:
attribute 'restore' is not allowed on parameter tags (<content:>) -- at app/views/taglibs/application.dryml:24 But here is the entire application.dryml below.The funny thing is that the code seems to work in a fresh app so maybe there's something else interfereing with the application.dryml processing? <def tag="app-name">Ppb11</def> <def tag="sites-menu"> <h2>Featured Sites</h2> <collection with="&Site.all"/> </def> <def tag="SiteGenres-menu"> <h2>Site Genres</h2> <collection with="&Site_genre.all"/> </def> <def tag="affiliates-menu"> <h2>Affiliates</h2> <collection with="&Affiliate.all"/> </def> <extend tag="page"> <old-page merge> <content: replace> <section-group> <section><content restore/></section> <aside><sites-menu/></aside> </section-group> </content:> </old-page> </extend> On Wed, Feb 3, 2010 at 11:44 AM, <[email protected]<hobousers%[email protected]> > wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/hobousers/topics > > - hobo_index - turn pagination > OFF<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_group_thread_0>[4 > Updates] > - can see and modify entity only under administrator > account<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_group_thread_1>[1 > Update] > - is pages.dryml supposed to be automatically updated for newly created > > hobo_model_resources?<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_group_thread_2>[1 > Update] > - Error when extending page > tag<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_group_thread_3>[1 > Update] > > Topic: hobo_index - turn pagination > OFF<http://groups.google.com/group/hobousers/t/4c0f790c3fdfb320> > > Mikkel WF <[email protected]> Feb 03 09:20AM -0800 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > Okay, first of all thx, it works..! > > second, i should have mentioned that i was working on the user model, > and there i can't get i to work. The view generation is not affected > by the user.hints.rb file i've created (but i suspect it's because the > user model is not a standard hobo model!?) > > Where in the page dryml is the pagination declared. Can't seem to find > it in the rapid pages.dryml file. > > > > > > > > kevinpfromnm <[email protected]> Feb 03 10:03AM -0800 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > IMHO I'd say yes, either that or a better error. > > I've run into similar things modifying controller code for an index > page and it's not clear at first what just broke other than the magic > hobo index method does something yours doesn't. > > > > > > Bryan Larsen <[email protected]> Feb 03 01:15PM -0500 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > ticket created: > > > https://hobo.lighthouseapp.com/projects/8324-hobo/tickets/621-harden-page-nav-tag-against-missing-total_pages > > kevinpfromnm wrote: > > > > > Mikkel WF <[email protected]> Feb 03 10:23AM -0800 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > Super.. > > I managed to get it working with this code in the index.dryml > > <index-page> > <content-body:> > <table-plus fields="this, administrator?"/> > </content-body:> > </index-page> > > > > > > Topic: can see and modify entity only under administrator > account<http://groups.google.com/group/hobousers/t/2dbec7b086a0ad77> > > kevinpfromnm <[email protected]> Feb 03 09:59AM -0800 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > or migration hasn't been run yet. > > > > > Topic: is pages.dryml supposed to be automatically updated for newly > created > hobo_model_resources?<http://groups.google.com/group/hobousers/t/153e3335723ff750> > > kevinpfromnm <[email protected]> Feb 03 09:58AM -0800 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > sudo makes sense for apache start but not the generation or dev server > > > > > Topic: Error when extending page > tag<http://groups.google.com/group/hobousers/t/6ca39eb32fde86a0> > > Bryan Larsen <[email protected]> Feb 03 12:02PM -0500 > ^<https://mail.google.com/mail/?ui=2&view=js&name=js&ver=es82b9vVaTs.en.&am=!dF1N00onSpO5ZfngsXQ3geCW1s-_s_XjKyNW0Ds8J7HRmEk#126955c64a19aed8_digest_top> > > 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: > > > > -- > 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]<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.
