Regards,
FedeX
On Mon, Dec 1, 2008 at 7:07 AM, Milmar <milmarqtan@gmail.com> wrote:
Currently I'm using the following method:
<head>
<?php echo $html->charset(); ?>
<title>
<?php echo $title_for_layout; ?>
</title>
<?php
echo $html->css('cake.generic');
echo $javascript->link('prototype-1.6.0.2');
echo $scripts_for_layout;
echo $html->meta('icon','/myapp/img/favicon.ico', array
('type' =>'icon'));
?>
</head>
Is there any way that cake could automatically identify where the
"img" folder is located so that I would no longer need to input the
full address of my favicon in the url?
I'm looking for something similar to $html->css() or $javascript->link
() where the full path to the css or js file no longer needs to be
specified.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment