Jump to content

User interface modify on child nodes


jedistev

Recommended Posts

Hi

 

i have create some kind for allow user can change text on website but not working at the moment

 

i need something like that;

like allow have drop down menu and pick one ext of drop down menu then it will replace text

 

like example

 

load XML file to show using simpleXML function

 

show output

<title = "internal"> sample </title>

<msgNumber>|<msgNumber outputclass="external">

<msgText>|<msgText outputclass="internal">

 

today....we might want to have XML tag like this

 

<msgNumber>|<msgNumber outputclass="external">

 

but next month....the one of the user might say.....that he wants <msgNumber> to be

<msgNumber>|<msgNumber outputclass="internal">

 

and i don't want put any hardcode

and let user log into and review the current set of values for these tags

 

my suggest is create drop down menu on every each tag...

 

just create three line on drop down menu like

 

$convert= array ('internal','external','internal external')

function createDropdown($arr, $frm)

 

might use if else replace script on this for allow three 'internal','external' & 'internal external'  to choice and change whatever user want on multi tag

 

 

any idea would be great or suggest another sample link site or code script

Link to comment
https://forums.phpfreaks.com/topic/151208-user-interface-modify-on-child-nodes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.