Closed GoogleCodeExporter closed 8 years ago
The way you are supposed to embed the header is through <?php header('static');
?>
In other words, the embed example code is
<?php include 'path/to/php-calendar/includes/embed_setup.php'; ?>
<html>
<head>
<title>Example Embedded Page</title>
<?php embed_header("static"); ?>
</head>
<body>
<h1>Example Page Header</h1>
<?php include 'path/to/php-calendar/includes/embed.php'; ?>
</body>
</html>
EXCHANGE embed_header("static"); FOR header('static'); and the errors will be
gone.
The calendar won't be styled b/c the intention of the embed is to style the
calendar according to your theme.
Original comment by ad...@iberoamericamedia.com
on 7 Feb 2013 at 6:42
Original comment by sproctor@gmail.com
on 2 Oct 2014 at 6:20
Original issue reported on code.google.com by
Joedel...@gmail.com
on 22 Jan 2013 at 4:10