Re: [Dave] Possible Bug? Single Records field names may not have certain names
Hi Dave
We use a pretty actual PHP Version 5.2.6 and register_globals is off
Strange... anyhow I just renamed the fieldnames to more precise ones like "homepage_title" instead of "title" to avoid conflicts with other field names. Cause "title" is pretty in every section :-)
I guess it only happens with single records, so if you have for example a single record Section named "Homepage" with a field named "title" wich in this example is supposed to display the Title of the Homepage, and on the same page you have a MultiRecord List named "Articles" with a field named "title" aswell and now you do a search query in a form like "title,content_query", which transmits the query by url the returning page does ignore the single record "title" and every other single record from that section (!) and only displays the field "title" from the MultiRecord Section "Articles".
I guess it happnes, because in the search query "title,content_query" do no further precise definition, which one of all the sections should be searched. (I have more than one) so the viewer_functions.php somehow just ignores all single record entries, when building the output variables cause the first field "title" from the singleRecord "Homepage" did conflict with "title" from the multiRecord Section "Articles"
Writing down this I am wondering anyway, why I can not define which section is ment to be searched ina search query, to avoid conflicts. (Or can I ? :-)
Cheers
Guido