Forums

Issue calling edit from external page

maxxoros 09 Aug, 2009
Hi

I am writing a complex display so I write a seperate page for displaying data. However, I borrow ChronoConnectivity for edit existing data with the edit link plus GET variable

However, problem happen when I click on edit link for my data, for example

/index.php?option=com_chronoconnectivity&connectionname=edit_mauhai&task=editrecord&cids=3

I get this error

You are not authorized to view this page, Row Edit Error


however, if I open the original CConn (/index.php?option=com_chronoconnectivity&connectionname=edit_mauhai) before click on edit link, the edit now go normal.

This is really matter because my user can not press original link everytime they want to edit data.

Please help me, this is so urgent
Thanks alot
maxxoros 09 Aug, 2009
I trace the code and see that because you get $MyPermission from current ChronoConn instance so if we do not initialize the Connectivity first, It all goes wrong.

Could you help me in hacking these piece so It works from external link call.

And in the future, I think we should have a way to call edit link without touching code

Thanks alot :o
This topic is locked and no more replies can be posted.