Page 1 of 1
Including mboard.php
Posted: Thu Oct 25, 2007 7:28 pm
by sly_tex
im trying to include mboard.php in a file rather than use the index.htm to refresh to it. This is so i can put the forum in the content area of a site that is laid out in css with a header, side navi, and a content area. So im getting the "Cannot modify header information" error, i guess because i am not using the whole meta tag refresh thing and mboard.php constructs it own header. So yea, my question is how do i include the mboard.php file in a file that lays out my page using div tags/css with out getting that error. help would be very much appreciated as i am sort of on a deadline, thanks!
Posted: Thu Oct 25, 2007 11:11 pm
by Klemen
Unless you know how it works and what the error you are getting means I strongly advise NOT to include it in a file as it won't work (at least not without a lot of editing).
Posted: Sun Oct 28, 2007 5:35 pm
by sly_tex
thanks for the heads up...solved it with a quick redesign and a small addition to mboard.php
Posted: Sat Jan 05, 2008 2:23 am
by perthmetro
Can you share with us how you integrated the mboard into a website? Thanks
Posted: Sat Jan 05, 2008 10:08 am
by Klemen
perth, try using header and footer.txt files. There are numerous examples and threads about it here and also in the GBook forum.
Posted: Fri Jan 18, 2008 7:32 am
by jasperguy
I have set the headers with the html, and it is good on firefox, but IE is not co-operating.
please take a look at example:
http://jollyworks.ab.ca/board/mboard.php
I used the header.txt and Footer.txt
Posted: Fri Jan 18, 2008 7:56 am
by jasperguy
Never mind, I fixed the problem in IE.
I modified the mboard.php table width to pixel width and not percentage.