son.of.the.morning Posted January 2, 2012 Share Posted January 2, 2012 I have a view file with a style sheet link inside it but when i view it in the browser it doesn't work. Anyone have any ideas? Quote Link to comment Share on other sites More sharing options...
jcombs_31 Posted January 2, 2012 Share Posted January 2, 2012 Did you read the cookbook? http://book.cakephp.org/view/1437/css. <code> <?php $this->Html->css(array('forms','myplugin/css/forms'),'stylesheet', array('inline' => false ) ); ?> </code> Quote Link to comment Share on other sites More sharing options...
Swati0090 Posted September 14, 2015 Share Posted September 14, 2015 The function of the HtmlHelper in CakePHP is to create HTML-connected alternatives easier, earlier, & additional elastic to modify. Utilizing this helper will facilitate your submission to be lighter on its bottom, & additional supple on where it is positioned in relative to the origin of a domain. Numerous HtmlHelper techniques comprise a $htmlAttributes stricture, that let you to staple on some further characteristics on your tags. http://www.phpandsql.com/how-to-link-css-file-in-cakephp/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.