I think the subsite recipe is a little old at this point.  I'm pretty
sure you don't get separate auto taglibs for each subsite (makes
sense, as generic pages/cards are really same for each subsite).

On Aug 5, 11:43 am, Alex <[email protected]> wrote:
> Hello,
>
> I have followed the 'Adding an Administration subsite to an existing
> Rails application' tutorial from the Hobo Cookbook site, trying to add
> an admin only interface to my Hobo app.
>
> From the whole tutorial, I used the following commands:
>
> $ ruby script/generate hobo_admin_site --make-front-site admin <----
> note here: 'hobo_admin_site'
> $ ruby script/generate hobo_front_controller admin::front --add-routes
>
> I did not mess with my Users model as the tutorial indicates, because
> it has been generated by Hobo, including the administrator:boolean
> field, signup lifecycle and related permissions.
>
> The front_page part of the site loads with no problems (as before),
> but when i goto /admin, I get the following error:
>
> _____________________________________________________________________
> Hobo::Dryml::DrymlException in Admin/front#index
>
> Showing app/views/admin/front/index.dryml where line # raised:
>
> No such taglib: C:/Users/Bladewalker/Documents/rails/orderith/app/
> views {:type=>:include, :template_dir=>"app/views/
> taglibs", :src=>"taglibs/auto/admin/rapid/cards"} C:/Users/Bladewalker/
> Documents/rails/orderith/app/views/taglibs/auto/admin/rapid/
> cards.dryml
>
> _____________________________________________________________________
>
> Note that the views/taglibs/admin_site.dryml file includes the
> following taglibs:
> <include src="taglibs/auto/admin/rapid/cards"/>
> <include src="taglibs/auto/admin/rapid/pages"/>
> <include src="taglibs/auto/admin/rapid/forms"/>
>
> but in my application, I only have them in the taglibs/auto/rapid/
> directory. Actually, there *isn't* a taglibs/auto/admin/rapid/
> directory at all. I understand that these taglibs are automatically
> generated, but I don't know how.
>
> Could you please point me to the right direction, I know that I'm
> missing something, but I'm not that experienced with Hobo/Rails to
> find it.
>
> Thank you!

-- 
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.

Reply via email to