Customizing SMF > SMF Coding Discussion

SSI help

<< < (5/5)

caal0403:
Mr Phil you are a star. I moved the latestpost.php to the same directory as th ssi.php as you said and it worked.
Thank you all for your help and if like me you will have all got a few more grey hairs lol ;D

MrPhil:
Well, I would have thought that you could have latestpost.php in any directory and it should work. I'm worried that it should have worked as you had it originally. Maybe someone more familiar with SSI usage can speak to this? Perhaps you have another mod installed which has "hard wired" some function to a specific directory?

caal0403:
Hi all,
Just an update. I hadnt solved the issue so i went back to basics and I moved my forum folder to the root directory put in the ssi and hey presto its working. I guess i had my folder burried to far into my site. Just one question. How can I align the posts to the left as it looks a little untidy at the moment. I think they may be aligned to the centre. Once again thanks for all the help :)

Kays:
I thoughtthat it was buried a bit too deep. But that still is weird behaivour.

To change the display. You can either modify it in SSI.php. Not recommended if you intend to use that function elsewhere.

Or output it as an array. The second FAQ covers that. ssi_boardNews is used for the example but the principle is the same.

[README] SSI FAQ's

Navigation

[0] Message Index

[*] Previous page

Go to full version