I've been following the tutorial step by step and in the two instances of using the Embed call I can get neither working.
I've even created the simplest test possible and still cannot get anything to occur.
The show call does work but I cannot get the hello.inc file to get pulled in.
code within a page named: test.php
code within a file named hello.inc - I've placed this file in both the "snippet" folder and in the root.
Any assistance in what to try or test for is greatly appreciated.
I've even created the simplest test possible and still cannot get anything to occur.
The show call does work but I cannot get the hello.inc file to get pulled in.
code within a page named: test.php
- Code: Select all
?php require_once( 'couch/cms.php' ); ?>
<!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">
<head>
<title>Test File</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<cms:show 'text above embed' />
<cms:embed 'hello.inc' />
</body>
</html>
code within a file named hello.inc - I've placed this file in both the "snippet" folder and in the root.
- Code: Select all
<b class="title"><cms:show 'Hello World' /></b>
Any assistance in what to try or test for is greatly appreciated.