[email protected]
[Top] [All Lists]

Croogo - search form in new theme fail

Subject: Croogo - search form in new theme fail
From: Daniel
Date: Mon, 10 Jan 2011 02:49:20 -0800 PST

I'm creating a new template for Croog. When I realized that the search
form does not work. The code is:
<form action="javascript: document.location.href=''+Croogo.basePath
+'search/q:'+encodeURI($('#searchform #q').val());" method="post"
       <div class="input text">
                       <input type="text" id="q" value="ad" name="q">
               <div class="submit">
                       <input type="submit" value="Search">

I think the problem is because they do not know to run the javascript:
javascript: document.location.href=''+Croogo.basePath+'search/
q:'+encodeURI($('#searchform #q').val());

Forgive my bad English (Google Translate,;)),

A greeting and thanks in advance,

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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 

<Prev in Thread] Current Thread [Next in Thread>
  • Croogo - search form in new theme fail, Daniel <=