Re: i have three queries
1) Use the $form->input with type = submit to create the submit button
and add your div = false to ensure the div is not created. Then use
$form->end() without the submit parameter, just to close the form.
2) If you don't want to use form or html helpers, just write the HTML
yourself :)
3) Look at the global function env() at:
http://book.cakephp.org/view/121/Global-Functions#env-701
Probably there you can find the answer.
Enjoy,
John
On Dec 26, 7:14 am, engine <radicalet...@gmail.com> wrote:
> please help me with the following problems i often come across them
>
> 1. $form->end("submit") doesnt have "div" = false attribute that div is
> making my form look ugly in IE, how to get rid of that div
>
> 2. is there any way to create links and form without using those helpers
> that always points to the right controller and action.
>
> 3. What is cakephp global variable for current web root url for example if
> my cake is running in subfolder called cake inside htdocs of XAMPP and i
> use to access the site withhttp://localhost/cake/
>
> what variable can return "http://localhost/cake/"
>
> I am grateful to any helping words...
> thanks
>
> -----http://www.libmaker.com/sell books online | http://www.milestree.com/
> Web/tech news | http://www.hiclicks.com/seo and usability service
> --
> View this message in context:http://old.nabble.com/i-have-three-queries-tp26925398p26925398.html
> Sent from the CakePHP mailing list archive at Nabble.com.
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home