Braumiller Posted May 21, 2011 Share Posted May 21, 2011 Hey All, I am looking to modify a single screen for my own use, but not sure what file needs editing and hoping someone could point in the right direction. When you enter something into the search box (pictured below) And hit enter, you are taken to the search result screen (pictured below) What file do I need to edit to add / remove columns from this search result screen? TIA --Ben-- Link to post Share on other sites More sharing options...
Mufckingud7 Posted May 21, 2011 Share Posted May 21, 2011 You need to get the Search.xml file from the panels.fmf file in the install directory and then you look this section for players:` <widget class="client_object_list_table" id="pers" database_table_type="1"> <record id="vpid"> <record id="Pnam"/> <record id="Page"/> <record id="Pccj"> <flags id="expj" value="false"/> </record> <record id="Pclb"/> </record> </widget> as you can see above this is what each part means pers = Person Pnam = Person Name Page = Person Age Pccj = Person Current Job (Player/Manager etc) Pclb = Club Team some others are listed here: Pcsj = short job text Pcif = full time or part-time contract Pnat = nationality Pcrp = reputation Pcty = contact type Pcww = weekly wage Pced = end date many more of the codes can be found in the person search list.xml This is all i can find for you Link to post Share on other sites More sharing options...
Braumiller Posted May 22, 2011 Author Share Posted May 22, 2011 Excellent, thank you Going to have a fiddle with this tonight! Link to post Share on other sites More sharing options...
Braumiller Posted May 22, 2011 Author Share Posted May 22, 2011 You need to get the Search.xml file from the panels.fmf file in the install directory and then you look this section for players: :o I just searched for the answer, but failed to find it. How to I extract the xml files from the panels.fmf ? :o Link to post Share on other sites More sharing options...
Braumiller Posted May 22, 2011 Author Share Posted May 22, 2011 Of course, I find the answer just after posting. Got it, please ignore my temporary stupidity Link to post Share on other sites More sharing options...
Mufckingud7 Posted May 22, 2011 Share Posted May 22, 2011 I hope can make something that i may want to use Link to post Share on other sites More sharing options...
Braumiller Posted May 22, 2011 Author Share Posted May 22, 2011 I'll happily post my finished code change here once done. Trying to find the correct code for adding in a couple of pieces and hoping someone may know them and help out * Player reputation (i.e. National, Regional, Continental etc...) * Player Squad (I have player club, but is there a way to show which squad they are currently in? (reserves, u18s etc...) Link to post Share on other sites More sharing options...
Mufckingud7 Posted May 23, 2011 Share Posted May 23, 2011 all i can say is find the section in fm that displays that info then from that section try search for it, or post in here if i get time i will check Link to post Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.