Search found 8 matches

by wretch
Sun Jul 02, 2006 5:14 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

No problem, I'm just glad to have found a resolution. If after some time this weekend I still cannot get the css working together, I'll make another post here for your excellent help.

Thanks again! :)
by wretch
Sat Jul 01, 2006 8:57 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

Well I kept at it, and finally noticed something I may have missed. Basically, I think I have resolved my cookie issue.

I enabled output_buffering in my php.ini and the cookies from phpmyfaq are now passed. Since I'm going to be running this FAQ as a superuser, by myself, and I'm going to disable ...
by wretch
Fri Jun 30, 2006 12:55 am
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

Hi Thorsten / matteo -

Thank you for the replies. No one has attempted to integrate this into an existing php template system? I have seen a few sites using iframes, but I would rather not go down that archaic path.

As you can see:

http://www.newtrier66.com/faq

...things are not too bad ...
by wretch
Wed Jun 28, 2006 9:42 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

Hi again Thorsten -

First of all, thank you for your replies.

I tried your advice by placing the include for the header after init.php inside the index.php and it made no difference. The errors were still there.

I then enabled php parsing in the template system and moved things around so that the ...
by wretch
Wed Jun 28, 2006 8:34 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

Well, I moved the include code to the index.tpl. It didn't seem to recognize the php inside the .tpl file. It was ignored. I moved it back to index.php, and it worked. I just have to sort out the two errors I listed above and I should be good to go.

Any idea?
by wretch
Wed Jun 28, 2006 6:49 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

Everything is working fine in Firefox, but IE returns this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/nt66/public_html/php_users/include/fragments/header.php:20) in /home/nt66/public_html/faq/inc/init.php on line 205

Warning: Cannot modify ...
by wretch
Wed Jun 28, 2006 6:17 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

OK, I entered the include code into index.php and it works, as long as I edit the styles.css appropriately to remove any conflicting css.
by wretch
Wed Jun 28, 2006 4:23 pm
Forum: General discussions
Topic: include PHP header/footer for wrapping
Replies: 13
Views: 39073

include PHP header/footer for wrapping

Hello -

My site currently uses a header/footer/index.php to create the layout and keep design somewhat separate from the functions. I basically have a content area that is wrapped by this header/footer.php. I also have a few css files that control the fonts, positioning, and colors.

I would like ...