41
Quote:
irmtfan wrote:
Huum why not use this in xoops_version.php ?
$modversion['dirmoduleadmin'] = XOOPS_ROOT_PATH . '/' . 'Frameworks/moduleclasses';
$modversion['icons16'] = XOOPS_URL . '/' . 'Frameworks/moduleclasses/icons/16';
$modversion['icons32'] = XOOPS_URL . '/' . 'Frameworks/moduleclasses/icons/32';
+1
And about my experience with Objects. For me the best topic was
https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=68782&forum=28
Trabis explanation was excellent and helped me a lot in understanding how the xoopsobject works. Thus after that I had more easy in analise rest of classes like:
https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=69368&forum=4
And also analysis of Catzwolf work helped in understanding how to use objects into xoops module - his modules code was very simple (too very simplified so sometimes multiplicate sql query though). But those codes are very old so should consider other examples.