-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
If I try to add script after calling $asset->scripts_for_layout()
the script won't be added.
ie.
in my layout I echo the css file inside head tag and I add scripts later in body page.
<html>
<head>
<?php echo $asset->scripts_for_layout('css');?>
</head>
<body>
this element add scriptblocks to view
<?php $this->element('banner');?>
<?php echo $asset->scripts_for_layout('codeblock');?>
</body>
</html>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels