is it a bug or am I misunderstood something:
layout.php:
- Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body>
<?php include_component('menu', 'show'); ?>
<?php echo $sf_content ?>
</body>
</html>
_show.php in menu module:
- Code: Select all
<?php use_javascript('menu.js'); ?>
<div>This is menu.</div>
menu.js is not included. Am I doing something wrong? In sf1.2 it worked for me.
