General Community > Scripting Help

SSI Functions

(1/2) > >>

karlh1:
I am using the ssi function recent topics and I don't know what to put in the (exlude board=null) and (include board=null)
If I leave them as null recent topics of all boards come up. What do I need to put in place of null.

Suki:
Depends on what you want, do you want to exclude some boards or you just want to include some boards?

karlh1:
Thanks Suki,
that turned out to be pretty obvious. I got that to work, but after validating my website I had to declare a doctype to get my layout to work on all browsers.
After doing that, my recent topics don't post on my website anymore. I've tried a lot of different doctypes but none of them work unless I take it out completely.
Any ideas? This is the code I have at the beginning.

<?php require("../forum/SSI.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd [nofollow]">
 <html>

Suki:
What is the error you're getting?

SSI functions should provide valid xhtml

karlh1:
I'm not getting any errors. when i validate my only errors are in the code for the facebook like button which i copied directly  from facebook so i left it.
but the recent posts still doesn't post.

Navigation

[0] Message Index

[#] Next page

Go to full version