Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: sorind - helmikuu 24, 2005, 04:55:30 IP

Otsikko: How to show last messages in the index website page?
Kirjoitti: sorind - helmikuu 24, 2005, 04:55:30 IP
Hello,
I just want the last messages to apear in my home page index files, in a table or so....
Is possible without php in index page ? Maybe a script works.
Please help.
Thanks, Sorin
www.pescarul.com for index page
forum page is  www.pescarul.com/forum_pescuit

Otsikko: Re: How to show last messages in the index website page?
Kirjoitti: Owdy - helmikuu 25, 2005, 01:35:43 AP
Using SSI: http://pescarul.com/forum_pescuit/ssi_examples.php
Otsikko: Re: How to show last messages in the index website page?
Kirjoitti: sorind - helmikuu 25, 2005, 03:15:49 IP
thanks Owdy, I tried but it works only when my index page is named index.php
I want to keep the name index.htm, but in this case don't show up messages in the pages.
If you have time, take a look to the following test page, one with php extension, second with htm extension.
1). www.pescarul.com/test.php
2). www.pescarul.com/test.htm

You have any idea how to make the code works for htm?
Thanks very much,
Sorin
Otsikko: Re: How to show last messages in the index website page?
Kirjoitti: Owdy - helmikuu 25, 2005, 03:46:38 IP
You can use shtml if you dont want php pages. http://pescarul.com/forum_pescuit/ssi_examples.shtml
It wont work with htm i'm afraid.