@TAMAN
As you might have read, @Adriano Faria's development of the LMS (Learning Management System) is in full swing. However, I seem to have found a critical error when trying to use the LMS with your custom theme. When I try to create a new School for example I get the following error:
ParseError: syntax error, unexpected 'endforeach' (T_ENDFOREACH), expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) (0)
#0 /home/xxxx/public_html/system/Theme/Theme.php(741): IPS\Theme\Cache\_Template->exists()
#1 [internal function]: IPS\_Theme->getTemplate('school', 'lms', 'front')
#2 /home/xxxx/public_html/init.php(460) : eval()'d code(20): call_user_func('parent::getTemp...', 'school', NULL, NULL)
#3 /home/xxxx/public_html/applications/lms/modules/front/school/school.php(62): IPS\collab_hook_ipsTheme->getTemplate('school')
#4 /home/xxxx/public_html/system/Dispatcher/Controller.php(96): IPS\lms\modules\front\school\_school->manage()
#5 /home/xxxx/public_html/applications/lms/modules/front/school/school.php(43): IPS\Dispatcher\_Controller->execute()
#6 /home/xxxx/public_html/system/Dispatcher/Dispatcher.php(146): IPS\lms\modules\front\school\_school->execute()
#7 /home/xxxx/public_html/index.php(13): IPS\_Dispatcher->run()
#8 {main}
Originally I thought the conflict was with Collabs, but disabling it didn't get rid of the error. However, when I switch from your theme to the default theme everything works fine.
When I use the default theme to get into a course view, then switch back to Magnum, I get this:
[[Template lms/front/course/viewCourses is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
So it's definitely something to do with the theme. I know it's not "out of date" or anything, but I was wondeirng if you might be able to take a look?
Thanks! ?