26
everything seems to work ok, except the halloffame..
i'm still having problems with the templates though..
after they are generated, they still stay in the list saying they need to be generated..
i looked at xoopsversion.php and the filenames are myreviews_detailfile.html etc
but the filenames on the server are: myReviews_detailfile.html
notice the capital R
so 1st i changed in xoopsversion to make them with a R not r.. this failed and was still doing the same..
then i changed them back to normal so in xoopsversion i have myreviews_detailfile.html
and renamed the files in the templates folder to myreviews_detailfile.html (without the capital R)
this solved the problem of the generated files still saying they need to be generated :)
however, if u click to edit the template, it's empty!!! i've manually pasted the html from the template into the template manager itself in XOOPS admin, clicked submit and get the message that the database has been updated, but the html doesn't appear in the template again when u view the template..
here's what i've found so far, i can't tell any difference as such after the modifications..
for some reason i can't find any reference to myreviews_detailfile.html in detailfile.php ???? neither can i find any other reference to it other than in xoopsversion.php am i missing something?
-----------------
in file modfile.php
line 98: changed this to $xoopsOption['template_main'] = 'myreviews_modfile.html';
line 124:
$xoopsTpl->assign('file', array('id' => $lid, 'title' => $title, 'url' => $url, 'logourl' => $logourl, 'description' => $description, 'plataform' => $platform,'size' => $size,'homepage' => $homepage,'version' => $version));
i think is a typo on the word plataform.
should be??
$xoopsTpl->assign('file', array('id' => $lid, 'title' => $title, 'url' => $url, 'logourl' => $logourl, 'description' => $description, 'platform' => $platform,'size' => $size,'homepage' => $homepage,'version' => $version));
----------------------------------------
file: include/dlformatexcerpt.php
line 214:
$result100=$xoopsDB->query("SELECT excerpt FROM ".$xoopsDB->prefix("myreviews_excerpt")." WHERE lid = $lid");
should be:
$result100=$xoopsDB->query("SELECT excerpt FROM ".$xoopsDB->prefix("myReviews_excerpt")." WHERE lid = $lid");
----------------------------------