Hi to all, on the tab Designer - > Event there's a problem; the system do not show any option...
I attach an image to describe the problem.. naturally there is this problem after Joomla upgrade. NOW the version is Joomla 3.5.1
Some idea?
antonio
I attach an image to describe the problem.. naturally there is this problem after Joomla upgrade. NOW the version is Joomla 3.5.1
Some idea?
antonio
Hi Antonio,
There is a Bug. I'm travelling this week and can't do anything to find a fix. please ask Max, the developer, to take a look by sending him a message through the Contact Us menu above.
Bob
There is a Bug. I'm travelling this week and can't do anything to find a fix. please ask Max, the developer, to take a look by sending him a message through the Contact Us menu above.
Bob
Any update? The software is unusable at the moment in sites I already have it in and I am having to look elsewhere for a form plugin for new sites....
Hi joelions2,
I don't know if Max replied to Antonio - I'm back at my desk now and will see if I can work out where the bug is.
Bob
I don't know if Max replied to Antonio - I'm back at my desk now and will see if I can work out where the bug is.
Bob
This is a huge problem; a very important form is currently somewhat crippled until I can add necessary events.
Hi,
I think I have found the problem.
In the file /administrator/components/com_chronoforms5/chronoforms/chronoforms.php around line 87 is this code that sets the events
This version appears to work correctly, the change is just in the one line:
Bob
I think I have found the problem.
In the file /administrator/components/com_chronoforms5/chronoforms/chronoforms.php around line 87 is this code that sets the events
$jsevents = \GCore\Libs\Folder::getFiles(dirname(__FILE__).DS.'events'.DS);
foreach($jsevents as $k => $jsevent){
$jsevents[$k] = str_replace(dirname(__FILE__).DS.'events'.DS, '', $jsevent);
if( strpos($jsevent, '.') !== false ) { // this line is the problem
unset($jsevents[$k]);
}
}
$this->set('jsevents_types', $jsevents);
The marked line is checking for a . in the file path to eliminate the index.html and event.php files in the folder - but it also trips if there is a . elsewhere in the path e.g. in a domain name.
This version appears to work correctly, the change is just in the one line:
$jsevents = \GCore\Libs\Folder::getFiles(dirname(__FILE__).DS.'events'.DS);
foreach($jsevents as $k => $jsevent){
$jsevents[$k] = str_replace(dirname(__FILE__).DS.'events'.DS, '', $jsevent);
if( strpos($jsevents[$k], '.') !== false ) { // change this line
unset($jsevents[$k]);
}
}
$this->set('jsevents_types', $jsevents);
Bob
Thanks for this fix attempt.
I am using Joomla3,5,1 with PHP 7,0,0. I changed from the Isis template (configured to avoid infinite "loading loop") to hathor and reverted to PHP 5,6. I changed the code line as per your suggestion.
Nothing works : I still have a big light brown bar instead of the events in the designer's tab.
I suppose I am not the ony person to have this problem.
Any clue ?
Thanks in advance,
Serge
I am using Joomla3,5,1 with PHP 7,0,0. I changed from the Isis template (configured to avoid infinite "loading loop") to hathor and reverted to PHP 5,6. I changed the code line as per your suggestion.
Nothing works : I still have a big light brown bar instead of the events in the designer's tab.
I suppose I am not the ony person to have this problem.
Any clue ?
Thanks in advance,
Serge
Hi Serge,
I just checked with Joomla! 3.5.1 + PHP 7 + Hathor template and I can see and use the Events tab with no problem. Same with the Isis template to my surprise, and with Isis 3.
Also checked on Joomla! 3.5.1 + PHP 5.6 + Isis, Isis3 and Hathor template with no problems.
Please post the code snippet that you edited so I can chaeck.
Bob
I just checked with Joomla! 3.5.1 + PHP 7 + Hathor template and I can see and use the Events tab with no problem. Same with the Isis template to my surprise, and with Isis 3.
Also checked on Joomla! 3.5.1 + PHP 5.6 + Isis, Isis3 and Hathor template with no problems.
Please post the code snippet that you edited so I can chaeck.
Bob
This topic is locked and no more replies can be posted.