This topic is locked

where is the build edit control file?

1/30/2007 7:46:39 PM
PHPRunner General questions
R
run4sbc author

{build_edit_control field="EventCode" mode="add" value=$value_EventCode}
That is what is set to display a dropdown menu of items on my add and edit pages. I have customized all my coding, but I need to adjust the items in this menu. I was just wondering in what file I could edit the options so then I dont have to redo all my customization each time.
Thanks

T
thesofa 1/30/2007

{build_edit_control field="EventCode" mode="add" value=$value_EventCode}

That is what is set to display a dropdown menu of items on my add and edit pages. I have customized all my coding, but I need to adjust the items in this menu. I was just wondering in what file I could edit the options so then I dont have to redo all my customization each time.
Thanks



Am I right in assuming that these dropdowns come from lists you typed in, rather than from lookups to other tables.

They must be or you would just change the values in the tables.

I have just had the same pronblem

using Notepad or Notepad2 preferably, open the phpr file for your project.

search for the lines beginning

<m_arrListValue>



you can alter the text between that tag and this one

</m_arrListValue>



then save the file and rebuild to get the required changes

If you need to change the generated code, open commonfunctions.php in the include folder and search for an unusual value from your pick list, search several more times and make sure the list you find is the one you want, then you can hack the code.

HTH

R
run4sbc author 1/30/2007

THANK YOU SOOO MUCH!!! You just saved me alot of trouble.