Search found 8 matches

by plasticmind
Mon Mar 19, 2007 9:42 pm
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

Wow, great find. I'll try it and let you know if it works with my issues.
by plasticmind
Sun Dec 10, 2006 1:03 am
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

Ok, that's good to know.

Still doesn't quite solve my problem though...
by plasticmind
Sat Dec 09, 2006 9:05 pm
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

Yeah, but even if it did have PHP in it, I assume it would just display like php on an html page would, as plaintext, right? For instance, you'd see:

Code: Select all

<?php echo 'Hello world!'; ?>
In the code while the rest of the HTML would display.
by plasticmind
Sat Dec 09, 2006 4:16 pm
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

This is my current code for index_body.html. I hope you find something I'm missing: <!-- INCLUDE overall_header.html --> <!-- IF U_MCP --> <div id="pageheader"> <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p> </div> <br clear="all" /><br /> <!-- ENDIF --> <!-- INCLUDE forumlist_body.html --...
by plasticmind
Sat Dec 09, 2006 2:00 am
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

Curses. That's what I did, and I'm not getting anything. I know there could be tons of variables here, but it seems so straightforward. My file, smooth.html exists within the /styles/subSilver/template/ directory. I can access it by visiting it manually (http://www.cardboardwhite.com/styles/subSilve...
by plasticmind
Thu Dec 07, 2006 11:45 pm
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

Right, as I said, I thought so, too. So I went in there, turned it on, cleared my cache and it's still not including it. Interestingly enough, I put the html I wanted into another existing template and it worked like a charm. But no go when I try to include a brand new file. I did this with phpbb 2 ...
by plasticmind
Thu Dec 07, 2006 11:17 pm
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Re: Trouble Including Files in Templates

I also just noticed that I can include files that are part of the default template set. Is there something preventing me from including a "non phpbb" html file?
by plasticmind
Thu Dec 07, 2006 11:02 pm
Forum: [3.0/Olympus] Styling
Topic: Trouble Including Files in Templates
Replies: 26
Views: 19009

Trouble Including Files in Templates

I'm trying to use <!-- INCLUDE myfile.html -->, but nothing's coming up. I can add/remove <!-- INCLUDE overall_header.html --> and see the change, but when I call to my own .html file that's living in the template directory, nothing. I read in the coding guidelines that I need to activate PHP in my ...