problem overriding signup.dryml

2 views
Skip to first unread message

adamski

unread,
Aug 22, 2008, 9:52:34 AM8/22/08
to Hobo Users
Hi,
I'm having problems replacing the content in front/signup.dryml
It seems to completely ignore whatever I put in there; also tried
users/signup.dryml

I just need to add a header and paragraph before the form.
Thanks
Adam

Matt Jones

unread,
Aug 22, 2008, 3:09:26 PM8/22/08
to hobo...@googlegroups.com
Which version are you using? I just tried this with edge Hobo, and
couldn't reproduce.
I put the following in app/views/user/signup.dryml:

<signup-page>
<prepend-content-body:>
Content goes here.
</prepend-content-body:>
</signup-page>

and got the new content just above the form on the signup page.

--Matt

adamski

unread,
Aug 22, 2008, 5:04:13 PM8/22/08
to Hobo Users
I'm using Hobo 0.7.5
Just copied your code into both app/views/users/signup.dryml and app/
views/front/signup.dryml ... no joy i'm afraid. Could there be
something else I might be missing, in the model or controller?

Thanks

Matt Jones

unread,
Aug 22, 2008, 8:34:33 PM8/22/08
to hobo...@googlegroups.com
Just tried in 0.7.5 - still no luck. Can you post the results from
development.log
when going to the signup page?

--Matt

Tom Locke

unread,
Aug 23, 2008, 4:29:15 AM8/23/08
to hobo...@googlegroups.com
I've lost track of what's in 0.7.5 and what isn't, but try calling the
file signup_page.dryml instead of signup.dryml

That was a bad idea that I've since gone back on, so it'll be back to
signup.dryml in 0.8

Tom

adamski

unread,
Aug 23, 2008, 9:20:58 AM8/23/08
to Hobo Users
Thanks - but signup_page throws up an error...

ActionView::TemplateError (undefined method `signup_page' ...

This is whats in the log when calling up the signup page:

Parameters: {"format"=>false, "action"=>"signup_page",
"controller"=>"users"}
User Load (0.000313) SELECT * FROM `users` WHERE (`users`.`id` =
1)
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
core.dryml in 0.01s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_support.dryml in 0.00s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_document_tags.dryml in 0.01s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_pages.dryml in 0.05s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_lifecycle_pages.dryml in 0.01s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_editing.dryml in 0.02s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_forms.dryml in 0.04s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_navigation.dryml in 0.01s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_plus.dryml in 0.01s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_generics.dryml in 0.02s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_lifecycles.dryml in 0.01s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid.dryml in 0.22s
DRYML: Compiled (from cache) app/views/taglibs/themes/clean/
clean.dryml in 0.00s
DRYML: Compiled (from cache) app/views/taglibs/application.dryml in
0.27s
DRYML: Compiled (from cache) vendor/plugins/hobo/lib/../taglibs/
rapid_user_pages.dryml in 0.02s
DRYML: Compiled users/[tag-page] in 0.30s

adamski

unread,
Aug 26, 2008, 3:21:33 PM8/26/08
to Hobo Users
I have had a look through the rapid_user_pages definitions, and can't
find signup-page anywhere. It seems to be using signup_page.dryml
though. For now I'm rolling my own. Would like to have it proper Hobo
style though!

adamski

unread,
Aug 26, 2008, 3:32:25 PM8/26/08
to Hobo Users
I have had a look through the rapid_user_pages definitions, and can't
find signup-page anywhere. It seems to be using signup_page.dryml
though. For now I'm rolling my own. Would like to have it proper Hobo
style though!


On Aug 23, 2:20 pm, adamski <adam.elemen...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages