Module throws error in Accessible Jooma!

16 years 9 months ago #41615 by thelizardreborn
Module throws error in Accessible Jooma! was created by thelizardreborn
I am running accessible Joomla 1.0.11. When I log in, the login module (which says Hi, [NAME] and displays a logout button) also displays an "undefined variable at line 61" error.

It's a simple problem and a simple fix. The code checks if $_VERSION->PRODUCT is "Mambo" or "Joomla!", and then defines $version. My $_VERSION->PRODUCT though, is "Accessible Joomla!". I added a check for that with the joomla test:
[code:1]elseif($_VERSION->PRODUCT == "Joomla!" || $_VERSION->PRODUCT == "Accessible Joomla!"«»){[/code:1]

Just thought you should be aware of this potential "3rd" version in case a similar check is happening elsewhere.

Please Log in to join the conversation.

16 years 9 months ago #41634 by beat
I wasn't aware that the "Accessible Joomla!" project had changed the product name in the versioning.

I added this test to all version tests into upcomming CB 1.1.

Thanks for reporting and suggesting a fix. :)

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

16 years 9 months ago #41701 by thelizardreborn
Replied by thelizardreborn on topic Re:Module throws error in Accessible Jooma!
Glad to help!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.201 seconds

Facebook Twitter LinkedIn