BFI-WP
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fields2. custom:File Size=
– I installed the latest Development version and enabled the Delete NULL values option for both my custom fields. With that option enabled the records appear as they should in the search results even after being updated using the Quick Edit.Thanks for this fix. All issues are resolved
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fields1. custom:File Size
– I removed “Source” out of the third occurrence and all of the tests worked great!2. custom:File Size=
– This search works as expected. The only related issues is the one I mentioned in my previous post regarding the updating of all custom fields in the Quick Edit. Here is a recap again from my previous post:“I uploaded a new image and from the table went to Quick Edit. I entered in a value for External ID but nothing for Source and then updated. This new record will not show in the search results. If you go to edit the record, there is a Source field that is blank. So it looks that the Quick Edit adds all additional custom fields but with blank values if nothing is entered”
I also tested the custom: search prefix in the Media Manager Modal (popup) Window and it works great
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsHere are my responses to your questions
1. custom:File Size
– I changed all three places in the source code that had “File Size” to “Source”
– “custom:*” brings up all records that have any value in a custom field
– “custom:Source=istock” brings back no results
– “custom:*istock*” brings back the expected result2. custom:File Size=
– I don’t believe I have a IPTC/EXIF mapping rule setup for Source. In the custom fields mapping, the Data Source is set to None
– However, what I did notice when looking further is that the records that only have a value for External ID and not Source in the listing do have a Source field listed when you go to edit although it is blank. If I remove that field then the record appears in the results of this search, as it should. I uploaded a new image and from the table went to Quick Edit. I entered in a value for External ID but nothing for Source and then updated. This new record will not show in the search results. If you go to edit the record, there is a Source field that is blank. So it looks that the Quick Edit adds all additional custom fields but with blank values if nothing is enteredI also filled out the form on the link you sent in order to get an address to send an error log for issue #1
Thank you again for your assistance
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsI installed the latest version (1.02) and also updated to the latest Development Version
Here are my results
1. custom:File Size
– Thanks for your explanation as I wasn’t clear on how this worked previously. I did replace “File Size” in the source code with one of my custom fields “Source” for testing. “istock” is a value for one record in the “Source” field but when I entered “custom:istock” I did not get any results2. custom:File Size=
-An example will best explain this:
* In addition to the “Source” field mentioned above, I also have a custom field called “External ID”. If I enter in “custom:Source=”, the results will not show any of the records that have a value in “Source” which is expected. However, the results also will not show any of the records where there is a value in “External ID” but no value in “Source”. Perhaps when a record is edited and updated the NULL value in “Source” becomes “” ?3. custom:[any valid wildcard]
– Works great now!If you need error log just let me know how to access that and I can send it to you
Thanks you so much again for your work. I’m fell bad that this continues to have issues
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsFurther update
1. I had not installed the latest version of the “MLA Custom Field Search Example” custom plugin. Previously I put this in the mu-plugins folder and so I replaced the previous file there with the new one
2. I did not modify this yet but in all my testing I am always referencing a specific custom field after “custom:”
After uploading the latest version of the “MLA Custom Field Search Example” custom plugin there is definitely more success although still a few issues. I have put the remaining issues in bold below. Again, in my testing I am using the names of my custom fields but have put File Size below to keep consistency
custom:File Size still returns no results
custom:File Size=* now returns the expected results
custom:File Size= returns all records including those without a Null value
custom:Color=red returns the expected results
custom:Color=red,green,blue now returns the expected results
custom:[any valid wildcard] still returns no results
I can definitely install the custom debug plugin and send the results or get on a Skype session with you.
Thanks so much for all of your work and willingness to help
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsThanks for working on this. I installed the latest developer version, however, I did not see the results that you described. Here are my findings. I, obviously, did not use the example fields below in my testing; I just included them to match up with your examples
custom:File Size returns no results
custom:File Size=* returns no results
custom:File Size= returns all of the records without a Null value and always one additional record that does not match
custom:Color=red returns the expected results
custom:Color=red,green,blue returns no results
custom:[any valid wildcard] returns no results
If you need any further information, please let me know. Thanks
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsIf you would like any assistance with your investigation, we have a developer in our organization that has done work with plugins and would be happy to help out. Just let me know.
Forum: Plugins
In reply to: [Media Library Assistant] How to select categories when uploading?Thanks for pointing me to that earlier topic. I noticed that I had not clicked the Buik Edit checkbox for my custom fields and now they appear under Media >> Add New. Great!
One last question on this. I went to add Media to a New Post and noticed when viewing the attachment details for a selected image that the Att. Categories and Att. Tags could be defined there. That is fantastic. Is there any setting to have the custom fields also appear there? It would make our editor’s job much easier if they could define those fields when adding them to a post.
Again, thank you so much for all of your help and assistance with your great plugin
Forum: Plugins
In reply to: [Media Library Assistant] How to select categories when uploading?Is there a way to show custom fields so they can be entered when uploading an image as well.
It is great that the categories and tags are there!
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsI have successfully installed and tried the Development Version with the new plugin.
It is working quite well when doing exact searches on the custom field. I tried to put in a partial match of a value that is in the custom field and nothing came up, however.
Does the mla-custom-field-search-example allow for partial matches and, if so, is there a character I need to add to enable that?
Thanks for your responsiveness and great work (again) on this plugin
Forum: Plugins
In reply to: [Media Library Assistant] Searching on custom fieldsThanks for getting back to me.
1. Actually, I am looking to have this function in the “back end” admin screen
2. It would work for us to add custom fields to the existing keyword search in the back end
A solution that requires some PHP coding is definitely manageable
Thanks so much