Using Java with TablePress
-
Hi,
I really like TablePress and I have a question about the row filtering mod. I am a novice programmer who is new to WordPress and I have limited knowledge of Java.
What I would like to do is have one large generated excel file uploaded to the site. This will contain proprietary information on past jobs. Then based on the user I will filter it for that users past jobs.
As of now I can’t find a good login plugin for wordpress that is not made for the actual wordpress login. I would like an independent one. Therefore I am writing some basic html and java code to check the user and password entered to an uploaded csv.
How can I have a Java variable entered into the shortcode or call a function so that it can filter the wordpress.
I am also concerned with the security of this method. Is there another way someone would recommend doing this.
Here is the code:
<FORM NAME="user" ACTION="" METHOD="GET"> UserID: <BR> <INPUT TYPE="text" NAME="userbox" VALUE=""><P> </FORM> <FORM NAME="pass" ACTION="" METHOD="GET"> Password: <BR> <INPUT TYPE="text" NAME="passbox" VALUE=""><P> <INPUT TYPE="button" NAME="loginbutton" Value="Submit" onClick="loginbuttonclick(this.form)"> </FORM> <script language="javascript"> /*Check for user and password match to csv then pass user to shortcode filter or tablepress function */ </script> [table id=1 filter=User /]
The topic ‘Using Java with TablePress’ is closed to new replies.