Simple example
-
Hello and thanks for this very fine plugin.
I think I have a simple requirement and have read a lot in the forum and documentation, but the light bulb has not turned on for me. I’m an experienced programmer with old languages, but not with PHP.
I want to have a page containing a shortcode for the frontend upload plugin that allows a non-technical logged-in user to upload PDF files. The shortcode needs to assign a code that can be used to search for files uploaded by this page — i.e. I want to minimize what the user has to know to upload files.
On another page I want an MLA shortcode that displays the thumbnails for the PDF’s assigned the code from the upload page. This page should be accessible by the public.
I have not been able to determine out how to assign a code (attachment category?) to the uploaded files that can be used in MLA. I am completely open frontend uploaders other than FU, and for any coding scheme that allows the selection of files uploaded using a particular page.
There are several categories of PDF’s, and there will be a separate page used to upload each type of PDF. The files uploaded with a particular page need to be selected and displayed by an MLA shortcode that searches on the code specific to the parituclar page.
I hope this is clear enough. Mainly, I need advice on how to assign a code to each PDF uploaded based on the page used to upload it. It can be as simple as assigning a unique assignment category using the shortcode that occurs on a particular page.
- The topic ‘Simple example’ is closed to new replies.