CMS MADE SIMPLE FORGE

LISE

 

[#11320] Minor tweak to XML results in admin_edititem

avatar
Created By: Robert Campbell (calguy1000)
Date Submitted: 2017-03-12 13:55

Assigned To: Fernando Morgado (JoMorg)
Resolution: Accepted
State: Open
Summary:
Minor tweak to XML results in admin_edititem
Detailed Description:
The patch below (about line 231 of action.admin_edititem.php) will add 2 extra
entries to the XML results of an ajax apply request.

I needed the itemid of a newly generated item after an ajax request so that I
could save some additional data in a different module.

rob@rob-desktop:/nfs/u1404/cms2_svn/modules/LISE/framework$ diff
action.admin_edititem.php.orig
action.admin_edititem.php
231a232,233
>                       $response .= '<ItemID>' . $obj->item_id . '</ItemID>';
>                       $response .= '<ItemAlias>' . $obj->alias .
'</ItemAlias>';
349c351
< ?>
\ No newline at end of file
---
> ?>

History

Comments
avatar
Date: 2017-03-12 14:54
Posted By: Fernando Morgado (JoMorg)

Implemented in SVN, thanks
      
Updates

Updated: 2017-03-12 14:54
resolution_id: => 6
assigned_to_id: 100 => 12532