I have a new install of EE2, and have used EE1.x. (Using v3.2.1 Build 20101220)
I am using templates that seem to be working correctly, that is, successfully outputting content and embedding the header/footer/css using EE tags.
I have just set up a couple of channels, and went back to the docs and set up the ‘Example’ channel/status/template group too, just to make sure I wasn’t missing anything but I cannot get the templates to output entries.
Here’s my template:
{embed="includes/header" bodyclass="about layoutB"}
{exp:channel:entries channel="about" orderby="date" limit="1" status="open"}
{if no_results}No results.{/if}
<div id="main" role="main">
<h1>{title}</h1>
<h2>{about_subtitle}</h2>
<p> {about_main}<br />
</div><br />
<div id="sidebar"><br />
{about_widgets}<br />
</div><br />
{exp:channel:entries channel="about" limit="1" status="open"}<br />
{embed="includes/footer"}The result is embeds work for header/footer, etc. but the entries tags are output on the screen so the page displays {title} as the heading, etc.
I have triple-checked the channel name, set & reset the status to open.
The path setting is: http://domain.com/about/. On the ‘example’ channel preference it is http://domain.com/index.php/example and doesn’t even output the EE tags.
Given that my server enviro checked out during install and embeds are working…I have no idea what’s going on. The htaccess rewrite to remove index.php seems to be working fine, although I commented it out, and using index.php in URLs yields same result.
Please let me know if I can provide additional info that would help with diagnosis. The site is not yet public and I can provide domain name and user/pass on request but don’t want to post publicly. Thank you!!!