Re: button wont display as it should
Hi, No I havent touched the css but where do I do this,in which css file? -- http://itfutures.edu.au?referer=email *P: (03) 9866 7737* *E: i...@itfutures.edu.au i...@itfutures.edu.au* *A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 https://www.google.com.au/url?sa=trct=jq=esrc=ssource=webcd=15cad=rjauact=8ved=0CKQBEPUXMA4url=http%3A%2F%2Fmaps.google.com.au%2Fmaps%3Fgl%3Dau%26hq%3Ditfutures%26daddr%3D1%2F424%2BSt%2BKilda%2BRd%2C%2BMelbourne%2BVIC%2B3004%26panel%3D1%26f%3Dd%26fb%3D1%26geocode%3DFdKovv0dMSWkCCnfp02hHWjWajGLbygrlMPvUw%26cid%3D6048267865728511883ei=hHUYU_abH8-okgXV7oGYDgusg=AFQjCNEBpgXrGRhNzMxOzPLHRVSQkdpXUQbvm=bv.62577051,d.dGI* -- *Connect with us: * http://plus.google.com/+itfutureseduau http://linkedin.com/company/it-futures http://youtube.com/user/itfutureseduau http://twitter.com/itfutures http://facebook.com/itfutures -- Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
Generally speaking you'd create your own CSS file and place it in /app/webroot/css and use that instead of the default Cake CSS. If you want to use both then call both in the head of your layout page. On 3 Jun 2014, at 12:48, jagguy and...@itfutures.edu.au wrote: Hi, No I havent touched the css but where do I do this,in which css file? P: (03) 9866 7737 E: i...@itfutures.edu.au A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 Connect with us: Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
Thats done by CSS: https://github.com/cakephp/cakephp/blob/master/lib/Cake/View/Scaffolds/index.ctp#L47-L56 https://github.com/cakephp/cakephp/blob/master/app/webroot/css/cake.generic.css#L511-L560 - .actions a is applied here.. I use bootstrap css framework and just add ‘class’ = ‘btn btn-primary’ to html-links … https://github.com/andraskende/cakephp-shopping-cart/blob/master/app/View/Users/admin_view.ctp#L41 Andras Kende On Monday, June 2, 2014 3:53:05 PM UTC-7, jagguy wrote: No I button not a image link and with a parameter too I need. If you look at this video it has buttons exactly as I am talking about with a html-link and I cant see how it does it. Also my code came from the docs and it doesnt work. https://www.youtube.com/watch?v=zvwQGZ1BxdM http://itfutures.edu.au?referer=email *P: (03) 9866 7737* *E: in...@itfutures.edu.au javascript:* *A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 https://www.google.com.au/url?sa=trct=jq=esrc=ssource=webcd=15cad=rjauact=8ved=0CKQBEPUXMA4url=http%3A%2F%2Fmaps.google.com.au%2Fmaps%3Fgl%3Dau%26hq%3Ditfutures%26daddr%3D1%2F424%2BSt%2BKilda%2BRd%2C%2BMelbourne%2BVIC%2B3004%26panel%3D1%26f%3Dd%26fb%3D1%26geocode%3DFdKovv0dMSWkCCnfp02hHWjWajGLbygrlMPvUw%26cid%3D6048267865728511883ei=hHUYU_abH8-okgXV7oGYDgusg=AFQjCNEBpgXrGRhNzMxOzPLHRVSQkdpXUQbvm=bv.62577051,d.dGI* *Connect with us: * http://plus.google.com/+itfutureseduau http://linkedin.com/company/it-futures http://youtube.com/user/itfutureseduau http://twitter.com/itfutures http://facebook.com/itfutures Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
Use $this-Form-button... On 2 Jun 2014, at 14:37, jagguy and...@itfutures.edu.au wrote: Hi, I simply want to display a button instead of a link but the button doesnt appear as I cant override the link display with htmlHelper In older versions of cake 2.x this does work. echo td .$this-Html-link('Edit', array('controller' = 'users', 'action' = 'editteacher/'.$item['User']['id']), array('class' = 'button')) .td; http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html P: (03) 9866 7737 E: i...@itfutures.edu.au A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 Connect with us: Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
Form buttons should not be used as simple links, so this cant be the solution http://stackoverflow.com/questions/13491421/cakephp-create-simple-buttons-that-redirects-to-views -- http://itfutures.edu.au?referer=email *P: (03) 9866 7737* *E: i...@itfutures.edu.au i...@itfutures.edu.au* *A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 https://www.google.com.au/url?sa=trct=jq=esrc=ssource=webcd=15cad=rjauact=8ved=0CKQBEPUXMA4url=http%3A%2F%2Fmaps.google.com.au%2Fmaps%3Fgl%3Dau%26hq%3Ditfutures%26daddr%3D1%2F424%2BSt%2BKilda%2BRd%2C%2BMelbourne%2BVIC%2B3004%26panel%3D1%26f%3Dd%26fb%3D1%26geocode%3DFdKovv0dMSWkCCnfp02hHWjWajGLbygrlMPvUw%26cid%3D6048267865728511883ei=hHUYU_abH8-okgXV7oGYDgusg=AFQjCNEBpgXrGRhNzMxOzPLHRVSQkdpXUQbvm=bv.62577051,d.dGI* -- *Connect with us: * http://plus.google.com/+itfutureseduau http://linkedin.com/company/it-futures http://youtube.com/user/itfutureseduau http://twitter.com/itfutures http://facebook.com/itfutures -- Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
Then just use CSS. On 2 Jun 2014, at 15:01, jagguy and...@itfutures.edu.au wrote: Form buttons should not be used as simple links, so this cant be the solution http://stackoverflow.com/questions/13491421/cakephp-create-simple-buttons-that-redirects-to-views P: (03) 9866 7737 E: i...@itfutures.edu.au A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 Connect with us: Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
According to the docs http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html To create an image link specify the link destination using the url option in $htmlAttributes.: echo $this-Html-image(recipes/6.jpg, array( alt = Brownies, 'url' = array('controller' = 'recipes', 'action' = 'view', 6) )); On 2 Jun 2014, at 14:37, jagguy and...@itfutures.edu.au wrote: Hi, I simply want to display a button instead of a link but the button doesnt appear as I cant override the link display with htmlHelper In older versions of cake 2.x this does work. echo td .$this-Html-link('Edit', array('controller' = 'users', 'action' = 'editteacher/'.$item['User']['id']), array('class' = 'button')) .td; http://book.cakephp.org/2.0/en/core-libraries/helpers/html.html -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
No I button not a image link and with a parameter too I need. If you look at this video it has buttons exactly as I am talking about with a html-link and I cant see how it does it. Also my code came from the docs and it doesnt work. https://www.youtube.com/watch?v=zvwQGZ1BxdM -- http://itfutures.edu.au?referer=email *P: (03) 9866 7737* *E: i...@itfutures.edu.au i...@itfutures.edu.au* *A: Suite 5 / Level 1 / 424 St Kilda Rd, Melbourne, 3004 https://www.google.com.au/url?sa=trct=jq=esrc=ssource=webcd=15cad=rjauact=8ved=0CKQBEPUXMA4url=http%3A%2F%2Fmaps.google.com.au%2Fmaps%3Fgl%3Dau%26hq%3Ditfutures%26daddr%3D1%2F424%2BSt%2BKilda%2BRd%2C%2BMelbourne%2BVIC%2B3004%26panel%3D1%26f%3Dd%26fb%3D1%26geocode%3DFdKovv0dMSWkCCnfp02hHWjWajGLbygrlMPvUw%26cid%3D6048267865728511883ei=hHUYU_abH8-okgXV7oGYDgusg=AFQjCNEBpgXrGRhNzMxOzPLHRVSQkdpXUQbvm=bv.62577051,d.dGI* -- *Connect with us: * http://plus.google.com/+itfutureseduau http://linkedin.com/company/it-futures http://youtube.com/user/itfutureseduau http://twitter.com/itfutures http://facebook.com/itfutures -- Please consider the environment before printing this email. This e-mail and any attachments to it (the Communication) is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of National Training and Solutions Provider Pty Ltd ABN 34 123 831 023, or any of its related entities. NTSP does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
Re: button wont display as it should
In order to have a link appear as a button you need to style it correctly. Do you have a button class is your css? The video you posted is using the default cakephp css file which styles links in a .action div to look like a button. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.