Toolbar Admin Not Work Button New/Delete/Edit

jointkalt 06 May, 2016
Hi,

There's a bug on the checkboxes on admin page view, for fix this bug I'm follow this post:
- https://www.chronoengine.com/forums/posts/f13/t92202.html

But after fix this bug I found another bug:

1) window.addEvent is not a function (file is toolbar.chronoconnectivity.html.php on line 88)

2) When I click on button NEW, reload the page with right url but see the admin list and when I try to delete 1 row with the button remove the page load the alert javascript but after click on OK return to reload the admin list but the row is not delete.

3) When I click on row title for editing load the form for insert the data but all field are empty is very strange because the url loaded is /administrator/index.php?option=com_chronoconnectivity&chronoconnection=form_view_causali&task=cc_edit_data&cid=xx

How can I fix the problem?

Best Regards,
Daniele
GreyHead 10 May, 2016
Hi Daniele,

I don't see this problem with CCv4.0.1 on Joomla! 3.5.1

I also don't recognise the layout of the Listing Manager here - has this version been altered?

Bob
jointkalt 27 May, 2016
Hi Bob,

I fixed the bug for the creation of a new record and for editing existing records.

However still the delete button does not work.

Selecting one or more elements but the remove button still does not work, when submit the form with this URL: /index.php?option=com_chronoconnectivity&chronoconnection=form_view_importi&task=cc_delete_data

The Query String Parameters:
option:com_chronoconnectivity
chronoconnection:form_view_importi
task:cc_delete_data

The Form Data:
ccfld_predefinito[0]:1
cf_id[0]:3
ccfld_predefinito[1]:1
cf_id[1]:4
ccfld_predefinito[2]:1
cf_id[2]:7
ccfld_predefinito[3]:1
cf_id[3]:8
ccfld_predefinito[4]:1
cf_id[4]:9
ccfld_predefinito[5]:1
cf_id[5]:10
ccfld_predefinito[6]:1
cf_id[6]:11
ccfld_predefinito[7]:1
cf_id[7]:12
ccfld_predefinito[8]:1
cf_id[8]:13
ccfld_predefinito[9]:1
cf_id[9]:19
ccfld_predefinito[10]:1
cf_id[10]:20
ccfld_predefinito[11]:1
cf_id[11]:23
ccfld_predefinito[12]:0
cf_id[12]:24
cid[13]:30
ccfld_predefinito[13]:1
cf_id[13]:30
limitstart:0
boxchecked:NaN
task:cc_list_data
option:com_chronoconnectivity


After clicking the remove button the action of the form is executed, after performing the action of the form is returned to the list of items but they are still present the items that were selected to be removed.

How can I fix the problem?

Best Regards,
Daniele Papperini
GreyHead 27 May, 2016
Hi Daniele,

I'm not very familiar with this part of CCv4 (or v5). Looking at the code it seems to me that is it looks for an array of values of cid and I don't see that in the data you posted
			foreach($_POST['cid'] as $connection_id){

Bob
This topic is locked and no more replies can be posted.