From: <Chr...@he...> - 2002-11-18 17:12:54
|
After some working and modifying the first web page to show custom fields... From: ju...@be... [mailto:ju...@be...] > > So, ok, I got something committed on custom fields here. I already found a couple of bugs (actually syntax errors...) and also increased the functionality of custom_field_get_ids(). If I pass a project ID of 0 to custom_field_get_ids now, I'll get a list of all existing custom field IDs. This is important to be able to show the user a list of all existing fields so he can choose one to add it to a project. The file is attached. > Some notes: > > - I don't think this will end up in 0.18 so I don't want to commit > changes to the actual view pages to support it (dont want to get part > way through it). We could branch if necessary or just hold off. I just came up with a different idea: in the page manage_proj_edit_pager.php (that's where I started...) I've added <?php if( true == config_get( 'use_experimental_custom_fields' ) ) { ?> <?php } // true = config_get( 'use_experimental_custom_fields' ) ?> around the modified code. So if that page would be checked it, everybody would be able to test it, but by default wouldn't even notice that this code is there. > - this code obviously hasn't been run yet so there could easily be > typos, etc though I caught a lot of them Yes, I already fixed another few in the attached file CU, Christian |