Unlabled Search box on Signup Page.

13 views
Skip to first unread message

Donald R. Ziesig

unread,
Nov 4, 2011, 5:16:40 PM11/4/11
to hobo...@googlegroups.com
Hi All!

I am playing with a new website that is really simple (for now), but am having a strange problem.  The signup page has an un-labled text box which invokes a search function when 3 or more characters are entered and <enter> is pressed.

The setup criteria I used were:

 Test Framework
Do you want to customize the test_framework? [y|n] n
User Resource
Choose a name for the user resource: [<enter>=user|<custom_name>]   
Do you want to send an activation email to activate the user? [y|n] n   
 Invite Only Option
Do you want to add the features for an invite only website? [y|n] n
 Templates Option
Will your application use only hobo/dryml web page templates?
(Choose 'n' only if you also plan to use plain rails/erb web page templates) [y|n] n << May want some rails pages
 Front Controller
Choose a name for the front controller: [<enter>=front|<custom_name>]
 Admin Subsite
Do you want an admin subsite? [y|n] y
Choose a name for the admin subsite: [<enter>=admin|<custom_name>]

Do you want to use a separate front_site.dryml? [y|n] y

Initial Migration: [s]kip, [g]enerate migration file only, generate and [m]igrate: [s|g|m] m

 I18n
The Hobo supported locales are en it de es nb fr pt-PT ru (please, contribute to more translations)
Type the locales (space separated) you want to add to your application or <enter> for 'en': en es

Do you want to set a default locale? Type the locale or <enter> to skip: en

 Git Repository
Do you want to initialize a git repository now? [y|n] y

Do you want git to ignore the auto-generated files?
(Choose 'n' only if you are planning to deploy on a read-only File System like Heroku) [y|n] n

I would really like to get rid of this "feature", but I can't seem to find an appropriate location to override app/views/taglibs/auto/admin/rapid/pages.dryml:

<def tag="signup-page" polymorphic/>
<def tag="signup-page" for="User">

  ***

Actually, the search box is being generated inappropriately so this may be a bug.

rvm ruby 1.9.2, rails 3.0.10, hobo 1.3.0.RC3

Ideas anyone?

Thanks,

Don Z.


kevinpfromnm

unread,
Nov 4, 2011, 5:53:05 PM11/4/11
to hobo...@googlegroups.com
It's odd that it's being generated without a label.  If you don't want the search, try adding this to your application.dryml:

<extend tag="page>
  <old-page without-live-search />
</extend>

Note: It's pretty common to have other page changes so the self-closing tag is optional.

Donald R. Ziesig

unread,
Nov 4, 2011, 7:09:40 PM11/4/11
to hobo...@googlegroups.com
Hi Kevin:


On 11/4/2011 5:53 PM, kevinpfromnm wrote:
It's odd that it's being generated without a label.  If you don't want the search, try adding this to your application.dryml:

OOPS.  The label is there, but its white text on a white background.

<extend tag="page>
  <old-page without-live-search />
</extend>

I just noticed that it is present on the page that is rendered when a user logs out and the Welcome to page before anyone logs in..  In all cases it appears below the App Title with its blue image background in .page-header { ....  }.

I looked at some other test apps and found it there also (since it appears as an outlined box with a white background on a white background, it does not jump out at you, but if you are expecting it, it is there.

What file should I use for this extension so that it only eliminates the search box for the signup, logout and welcome pages (Actually, if it just disappeared, I would use the search associated with <table-plus> and be happy)?
Note: It's pretty common to have other page changes so the self-closing tag is optional.
--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/sBJh6DsKXnIJ.
To post to this group, send email to hobo...@googlegroups.com.
To unsubscribe from this group, send email to hobousers+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.

Thanks,

Don Z.
Reply all
Reply to author
Forward
0 new messages