Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Using PHP includes in templates

 

 


lamberticus
User

Sep 23, 2009, 8:02 AM

Post #1 of 2 (1244 views)
Shortcut
Using PHP includes in templates Can't Post

I tried replacing our main navigation links in our templates with a PHP include (to make things easier to update), but when a page is published, that code seems to be ignored. I read something about changing "Remove Code Blocks" to unchecked, but that seemed to have done nothing. Anything I'm missing?


lamberticus
User

Sep 23, 2009, 9:32 AM

Post #2 of 2 (1241 views)
Shortcut
Re: [lamberticus] Using PHP includes in templates [In reply to] Can't Post

mmm never mind. I figured out the problem was nothing in AM2, rather I was using absolute paths for the php include, which doesn't work. All is fine!