This topic is locked

Add another inline edit page?

5/12/2009 2:56:53 PM
PHPRunner General questions
N
nitro23456 author

What bits do I need to replicate by hand to add another inline edit page?
My current inline edit deliberatley doesnt edit all fields (I have edited the template code to achieve this)........ I would then like to create another inline page to edit the remaining fields. I am happy with the template page to edit but what else needs to be done?

J
Jane 5/13/2009

Hi,
I suppose you need to create custom view on the Datasource tables tab and uncheck some fields for Inline Edit on the Choose fieldstab.

N
nitro23456 author 5/18/2009

Hi
I have setup the custom view.... I now wish to use the EDIT page rather than the INLINE EDIT page. Is there anyway to link from the original LIST page to the new EDIT page and still carry forward the record ID to the new EDIT page so that the correct record is editted?
SO for example at the top of each record there is currently EDIT, INLINE EDIT......... I would like EDIT, INLINE EDIT, NEW EDIT so that the correct record can be selected and passed to the NEW EDIT page.

J
Jane 5/18/2009

Hi,
here is a sample link:

<A class=tablelinks {$neweditlink_attrs}>


Then assign correct URL in the List page: After record processed event:

$editlink="editid1=".htmlspecialchars(rawurlencode($data["FieldName"]));

$record["neweditlink_attrs"]="href=\"customview_edit.php?".$editlink."\" ";