Moderator: Spunkmeyer
Alexv wrote:For those that like to tinker: http://www.85m.com/junk/iSayLite.rar
I wrote that this morning due to the non-stop nagging (:p) from a fellow forum member. The end result can be seen here: http://www.85m.com/coranto/news.html
It's just two files. Make sure the path to perl is correct at the top of iSayLite.pl. Upload them to the same directory as coranto.cgi. CHMOD iSayLite.pl to 0755 and iSayLite_data.dat to 666.
There is no administration panel, and very little configuration options (and they can be found at the top of iSayLite.pl).
My news-style is as follows:<h1><Field: Subject></h1><br />
Posted by <Field: User> on <Field: Date><br /><br />
<Field: Text>
<br /><br /><h1>Comments</h1><br />
<script language="javascript" src="iSayLite.pl?id=<Field: newsid>&js=1"></script>
The important bit there is the javascript call... make sure you place the correct URL to iSayLite.pl there.
The script is actually completely independent of Coranto, so feel free to use it with whatever id's you like (if you don't know what I mean, don't worry about it).
You will probably want to extract the CSS from the source code of the generated pages (look for anything that starts with "comment").
Return to Addon Development and Requests
Users browsing this forum: No registered users and 1 guest