4
All xoops modules should define and use their own search function because Xoops Core has not any search functionality.
so "news", "newbb", "publisher" and all other modules defined their own functions.
as i said in the last post module developers should introduce their search function to Xoops Core by these lines in MODULE/xoops_version.php
// Search
$modversion['hasSearch'] = 1;
$modversion['search']['file'] = "include/search.inc.php";
$modversion['search']['func'] = "songlist_search";
And the above lines are exist in songlist/xoops_version.php but there is not any songlist/include/search.inc.php in Songlist module.
That is a bug.
Also the standard way is using MODULE/search.php file to create a search form/page and in Songlist it use a non standard way songlist/index.php?op=search
I still cannot understand your issue.
I cannot see any difference between the
search results in start xoops page and module page.
you mean there is "submit=Submit" in the start page URL but a "start=0" in the module page URL?
If you mean the above you should explained it better.
it is not important and it is because songlist module use a global start variable (it is bad coding) that is defined in its header songlist/header.php and because it is not readed by Xoops Core in the start xoops page you dont have any start.
All variables for the search page ( here songlist/index.php ) should be defined in that page only.