| Re: Search problem |
| by FadiB on 2008/9/28 20:28:23 Thanks a lot mate. Cheers |
| Re: Search problem |
| by tank1955 on 2008/9/28 20:20:42 Here is a good starting point https://xoops.org/modules/mediawiki/index.php/Basic_content_of_a_module |
| Re: Search problem |
| by FadiB on 2008/9/28 19:22:32 Thank you Tank. I tried to do that before, but still I couldn't get it right. I don't understand how to write codes with XOOPS yet, so it makes it even harder. Also I have to change a lot of things, and maybe I have to add .sql file. Do you know an article showing how to make a module from scratch? with all details? Best Regards, Fadi |
| Re: Search problem |
| by tank1955 on 2008/9/28 16:18:56 There might be a wiki article at the XOOPS development site. Basically you add a few lines in the module's xoops_version.php module that look like this: le="color: #000000"><?php // Search $modversion['hasSearch'] = 1; $modversion['search']['file'] = "include/search.inc.php"; $modversion['search']['func'] = "video_search"; and then you must create the include file that defines what to search. If you go to the module repository and download Video Tube v1.7 you can make a copy of the search.inc.php file found in the include directory and then use that to make your edits for your own module. |
| Re: Search problem |
| by FadiB on 2008/9/28 15:58:30 Any idea guys? |