Sorry just found a problem with the source that will affect people who are not using the standard mos_ as the table prefix.
If you are not using the default mos_ as the table prefix then please replace lines 58 -62 of the mod_swmenufree.php file in the modules folder.
Code:
if ($mosConfig_shownoauth) {
$result2 = mysql_query("SELECT * FROM ".$mosConfig_dbprefix."menu WHERE mos_menu.menutype = '".$menu."' AND published = '1' ORDER BY parent, ordering;");
} else {
$result2 = mysql_query("SELECT * FROM ".$mosConfig_dbprefix."menu WHERE mos_menu.menutype = '".$menu."' AND published = '1' AND access <= '$my->gid' ORDER BY parent, ordering;");
} with these lines:
Code:
if ($mosConfig_shownoauth) {
$result2 = mysql_query("SELECT * FROM ".$mosConfig_dbprefix."menu WHERE ".$mosConfig_dbprefix."menu.menutype = '".$menu."' AND published = '1' ORDER BY parent, ordering;");
} else {
$result2 = mysql_query("SELECT * FROM ".$mosConfig_dbprefix."menu WHERE ".$mosConfig_dbprefix."menu.menutype = '".$menu."' AND published = '1' AND access <= '$my->gid' ORDER BY parent, ordering;");
} Also:
you must specify which menu you want to use for the module. To do this go to modules->manage modules in the mambo administration.
Click on the swmenufree module to edit
under parameters type:
menutype=mainmenu
or a different menu name if not using the mainmenu:
eg. menutype=topmenu
This should fix the problem described above and also a call to fatal function get() that some people are experiencing.
I will release an update soon to permanently fix these errors.