Include in footer of the RC1 [message #31715] |
Sun, 14 May 2006 17:58 |
kenjb
Messages: 67 Registered: September 2004
Karma: 0
|
Member |
|
|
Seems I can't use an php includes in the footer of this last v2.7.5RC1 release. Is this intended?
and of course I normally use an include that even has two more includes inside that for the footer, so that's not working for me now at all.
Good thing I tried it on a test server first.
I can either figure it out and let you know or you can tell me what you expect to happen in there.
This is what I normall have in the footer.tmpl.
<!--footer-->
<!--footer include-->
<?php
include $_SERVER['DOCUMENT_ROOT']."/include/2ndnav.php";
?>
<!-- footer include-->
<!--end footer-->
kenjb
|
|
|
Re: Include in footer of the RC1 [message #31739 is a reply to message #31715] |
Tue, 16 May 2006 02:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There was certainly no intent to cause this change. I've tried adding your code
<?php
include $_SERVER['DOCUMENT_ROOT']."/include/2ndnav.php";
?>
into the footer.tmpl right above the span tag and it worked fine, no parser errors.
FUDforum Core Developer
|
|
|
Re: Include in footer of the RC1 [message #31743 is a reply to message #31739] |
Tue, 16 May 2006 03:08 |
kenjb
Messages: 67 Registered: September 2004
Karma: 0
|
Member |
|
|
I'll try to place the include above the span tag to see what happens.
I played with it quite a bit but I didn't check any logs to see what might be happening. I'll take another look then and let you know what happens.
I do know that with the exact same footer I'm using now, the RC1 release doesn't work the same code in the footer, although the header works fine.
Thanks
kenjb
|
|
|