← Back to team overview

catsync-devs team mailing list archive

Added functionality for column name drop down

 

Hi,

I have replaced the existing text box for column name to a column name drop down. This drop down populates depending on the value selected by the user in table name drop down. An ajax call is set up to perform the operation. I will soon add the post_content functionality. Please find the code attached with the mail. Please review it once. I have added the following new file:

1. getColumns.php in includes/ajaxFiles.
2. selectColumns.js in scripts

I had a terrible time while including external javascript into Wordpress engine. I browsed the net but found some unsatisfactory solutions. So, I have included the whole script in syncForm.php. I will continue looking for ways to include external resources into wordpress. In the meantime if anyone knows how to perform this action please share your views. Also, the code might not be the latest. So, if anyone decides to include this code into the main source please look for merge issues. 

Regards, 
Vaibhav





      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

Attachment: CatSync.zip
Description: Zip archive


Follow ups