I think the user interface would be a little nicer if you supported the SQL LIKE operator and output the results as a table. Would you like me to submit a patch, or do you have any interest in doing this yourself? If you want me to offer a patch, do you want to keep the drupal_set_message functionality?

CommentFileSizeAuthor
#3 find_path_table.patch4.43 KBdouggreen

Comments

starbow’s picture

Status: Active » Fixed

Great idea! I have added in support in v1.1 for the % wildcard, and returning multiple hits. I am still using the set_message approach, basically b/c I am lazy. If you want to submit a patch with a nicer layout for the results I will roll it in.

Also, I don't think I am going to pitch this at D6. After talking to chx it looks like the whole url alias interface is going to be radically changed.

douggreen’s picture

Status: Fixed » Needs review

Patch attached for outputting results as a table. I don't like the hack to get the variables from the submit handler to the form function, because it uses $_POST variables. But I'm not sure of the right way to do this. (I did something similar in coder.) But other than that, this is a reasonable approach. Comments (and credit) appreciated :)

douggreen’s picture

StatusFileSize
new4.43 KB

Doh - patch wasn't attached

starbow’s picture

Assigned: Unassigned » starbow
Status: Needs review » Fixed

Hi Doug,

This is a really interesting patch. It lead to me spending way too much time thinking through the best way to show the results. I ended up writing it all up as a blog entry over at: http://starbowconsulting.com/blog/tao/best-way-show-results
I finally went a slightly different route for v1.2, but you still get credit for getting the ball rolling.

thanks,
-t

Anonymous’s picture

Status: Fixed » Closed (fixed)