chnovo7 / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

Documentation for Search Parameters #518

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
BEFORE YOU FILE: Are you using the latest version of the CCTM?  Please
check http://wordpress.org/extend/plugins/custom-content-type-manager/

What functionality do you want to see?
I would like to  see some improved interface concerning setting up search 
parameters for an image,media or relation field. Sadly, documentation on what 
kinds of columns can be part of the search is a bit weak. 

Please provide any additional information below.

So far, I have been tearing my hair out trying to figure this out for myself 
with the documentation but it does not appear complete. For now, I have posted 
in the Wordpress.org support forums

Original issue reported on code.google.com by Kat.Leop...@gmail.com on 30 Aug 2013 at 2:58

GoogleCodeExporter commented 8 years ago
Please clarify where you're doing your searching and where you're providing 
parameters.  The GetPostsQuery class and its principle function is documented 
here:

https://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts
https://code.google.com/p/wordpress-custom-content-type-manager/wiki/get_posts_e
xamples
https://code.google.com/p/wordpress-custom-content-type-manager/wiki/GetPostsQue
ry

There are a lot of places throughout the plugin where you could be specifying 
search parameters, so I don't know where to point you without more info.  Every 
column can be filtered on.  Where exactly are you trying to set up filters?

Original comment by ever...@fireproofsocks.com on 2 Sep 2013 at 9:31

GoogleCodeExporter commented 8 years ago
Yes. These I have looked over. However, I did find one not listed here, found 
while I was exploring available options to get the results/filtering I want. I 
see that some of the sections listed for relation and image were also 
incomplete. So, yeah...just figured I would add a "me too" into the 
documentation improvements that you are doing as you go. 

Probably jumping the gun :)

Original comment by Kat.Leop...@gmail.com on 2 Sep 2013 at 9:36

GoogleCodeExporter commented 8 years ago
I do need to write more docs for sure.  I added some info here: 
http://wordpress.org/support/topic/image-field-having-problems-with-search-param
eters?replies=2

Is that what you're after?

Original comment by ever...@fireproofsocks.com on 2 Sep 2013 at 10:09

GoogleCodeExporter commented 8 years ago
Essentially, yes. that was what I was trying to do. So far, I ahve done it and 
figured out a system for my other administrators to search by a keyword that 
will be placed in every relevant iamge's caption, alt tag ( 
_wp_attachment_image_alt--thats the one that isnt documented), image 
description(post_content) or the title(post_title). It took a bit of sorting to 
figure it out, based on the entry you have here for search parameters when 
concerning media (instead of image, which is a similar field). 

Original comment by Kat.Leop...@gmail.com on 2 Sep 2013 at 10:40

GoogleCodeExporter commented 8 years ago
Refactor in Github

Original comment by ever...@fireproofsocks.com on 11 May 2015 at 4:55