PDA

View Full Version : Problem w/ New Templates Not Inserting


hhillegas
09-25-2007, 01:45 AM
Howdy,

I have a new style that I'm working on for the blog.

Inside that style, I created several new templates inside the blog template area. I also modified the main BLOG template.

So, I have something like this in BLOG:

<html>
<body>
This is the main jive.
$blog_wucaco_header
</body>
</html>

Where blog_wucaco_header is one of my new templates. The problem is that nothing renders for that line of code - it doesn't include the evaluated contents of $blog_wucaco_header, it just inserts empty space for that line.

What am I missing? What am I doing wrong?

Thanks.

WhaLberg
09-25-2007, 01:47 AM
Did you use


eval('$blog_wucaco_header .= "' . fetch_template('templatename') . '";');


in your php file which will print this page?

hhillegas
09-25-2007, 02:11 AM
No sir, I did not. That looks like it's my problem.

Thanks - I'm going to dig in and get this fixed.