Buy Now
Sign in

Events Problem

cyber81 , April 11 2016
C
cyber81 39
April 11 2016 #358430
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
Attachments
event.jpg
event.jpg
(73.21 KiB)
709 Downloads/Views
GreyHead 63.2
April 12 2016 #358457
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
J
joelions2 1
April 19 2016 #358651
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....
GreyHead 63.2
April 19 2016 #358657
1
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
C
cyber81 39
April 21 2016 #358718
1
Is there any news????
O
omidhz 242
April 24 2016 #358803
1
I have the exact problem too. Any help will be much appreciated.
C
coughlin 68
April 27 2016 #358929
1
Same problem here.
C
coughlin 68
April 27 2016 #358930
1
This is a huge problem; a very important form is currently somewhat crippled until I can add necessary events.
GreyHead 63.2
April 29 2016 #359011
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
    $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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
C
cyber81 39
May 01 2016 #359091
It doesn't Work for me
C
cyber81 39
May 01 2016 #359094
1
"cyber81":
It doesn't Work for me


Ooops I'm Sorry, It's OK! It works!!!
S
sgosset 1
July 05 2016 #360501
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
GreyHead 63.2
July 05 2016 #360502
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



ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
D
drnusi76 1
June 19 2018 #378410
Hi how can I download CEGCore framework
GreyHead 63.2
June 20 2018 #378441
Hi drnusi76,
I'm not sure that it is available for separate download but if you download and install the latest release of ChronoForms v5 or v6 - whichever you are using - then the framework will be updated too,
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much