Not sure how to explain this in a non programmer way.
I have two choronoconnectivity connections to the same DB data. One is for listing all records with one data field having a link to the other connection for a specific record.
Lets call them connection 1 and connection 2.
Connection 1 Body
The second listing (connection 2) is for editing or deleting a record.
The where clause is conditioned so that it always only return one record. (the one who's link was clicked in the previous example {action_1})
Connection 2 where statement.
In connection 2 I have included {edit_record}.
Anyhow, the problem is that if I press edit and then reconsider and press cancel, I get redirected back to the original connection but the array is empty so list is unpopulated.
I would like to be able to redirect back to the same stage I was before pressing edit alternatively link back to connection 1.
Max, is this possible?
Best regards
Anders
I have two choronoconnectivity connections to the same DB data. One is for listing all records with one data field having a link to the other connection for a specific record.
Lets call them connection 1 and connection 2.
Connection 1 Body
<table style="text-align: left; width: 100%;" border="0"
cellpadding="2" cellspacing="0">
<tbody>
<tr<?php if ($i % 2) echo ' style="background-color:
#EBEBEB;"';?>>
<td style="font-weight: bold; width: 3%;">{cf_id}</td>
<td style="font-weight: bold; width: 7%;">{date_0}</td>
<td style="font-weight: bold; width: 4%;">{time_1}</td>
<td style="font-weight: bold; width: 21%;">{system_1}</td>
<td style="font-weight: bold; width: 15%;">{customer_1}</td>
<td style="font-weight: bold; width: 40%;"><a href="index.php?option=com_chronoconnectivity&connectionname=action_log_db_edit_action + &entry={cf_id}">{action_1}</a></td>
<td style="font-weight: bold; width: 10%;">{name_1}</td>
</tr>
</tbody>
</table>
<?php $i++ ?>
The second listing (connection 2) is for editing or deleting a record.
The where clause is conditioned so that it always only return one record. (the one who's link was clicked in the previous example {action_1})
Connection 2 where statement.
WHERE cf_id = "<?php echo JRequest::getVar('entry') ; ?>"
In connection 2 I have included {edit_record}.
Anyhow, the problem is that if I press edit and then reconsider and press cancel, I get redirected back to the original connection but the array is empty so list is unpopulated.
I would like to be able to redirect back to the same stage I was before pressing edit alternatively link back to connection 1.
Max, is this possible?
Best regards
Anders