Re: How to add variable to $html-css();

2011-08-23 Thread WebbedIT
It should work as I can confirm by the following test:

$themeName = admin;
echo $this-Html-css(array(
'style',
'//ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/themes/le-frog/
jquery-ui.css',
$themeName
));

Which produces:

link rel=stylesheet type=text/css href=/css/style.css /
link rel=stylesheet type=text/css href=//ajax.googleapis.com/
ajax/libs/jqueryui/1.8.13/themes/le-frog/jquery-ui.css /
link rel=stylesheet type=text/css href=/css/admin.css /

Are you sure you have a value in $theme[0]['Theme']['name']?

HTH, Paul.

On Aug 22, 5:22 am, taqman filler taqman...@gmail.com wrote:
 first I try this
  echo $this-Html-css(array('jquery.ui.theme','reset','text','grid','votes',
       $theme[0]['Theme']['name']));
 doesn't work
 how to make the right way

 thank
 taqman

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


How to add variable to $html-css();

2011-08-21 Thread taqman filler
first I try this
 echo $this-Html-css(array('jquery.ui.theme','reset','text','grid','votes',
  $theme[0]['Theme']['name']));
doesn't work
how to make the right way

thank
taqman

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php