• hellow, im trying to place the shortcode by 2 ways
    1) with the dropdown setting that allows to insert code into pages (Vendor Dashboard and subpage “Import”, it doesnt insert anything (it works on any other page)

    2) placing the shortcode in the phpfile of the import page of the vendor dashboard like this

    <script type="text/javascript" src="/wp-content/plugins/wp-file-upload/js/wordpress_file_upload_functions.js">
                  
      <?php echo do_shortcode( '[wordpress_file_upload uploadpath="uploads/%username%" fitmode="responsive" createpath="true" adminmessages="true" forceclassic="true" debugmode="true" placements="title/filename+selectbutton+progressbar/uploadbutton/subfolders/userdata/message" uploadtitle="Upload files (CSV or xls)" notify="true" notifyrecipients="%useremail%, [email protected], [email protected]" notifysubject="Inventory File Upload Notification" notifymessage="Dear Vendor %username% ( %useremail% ) %n%This is an automatic delivery message to notify your inventory file has been received and will be processed   in as soon is possible manner.%n%%n%Login Aviation Services%n%Fort Lauderdale International Airport - KFLL%n%1100 Lee Wagener Blvd, 113%n%Fort Lauderdale, FL 33315%n%Phone Number: 954 282 1901" widths="selectbutton:100, uploadbutton:100" heights="selectbutton:100, uploadbutton:100"]' ); ?>
        </script>

    i see the form, but when selecting a file it doesnt happen anything…

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, are you trying to add the plugin in a Dashboard page, or a normal front-end page?

    Regards

    Nickolas

    Thread Starter cloud4365

    (@cloud4365)

    In the vendor dashboard menu there’s an option called import, that’s where I’m trying to inserted, first I’ve tried via the instance placement drop-down with no luck and also trying to inserted via placing the code I’ve told byou in the first post also with no luck, I’m actually see the form but nothing happens

    Thread Starter cloud4365

    (@cloud4365)

    hellow?

    Thread Starter cloud4365

    (@cloud4365)

    When I select vendor dashboard the upload form appears on top of the menu https://snipboard.io/aJ8YNS.jpg

    But when I select “import” that is supposed a sub page of vendor dashboard it doesn’t appear anywhere…https://snipboard.io/RsAeuv.jpg

    And when Inserting the shortcode in the phpfile of the import page I can see the form but when selecting the file it doesn’t happen anything

    Plugin Author nickboss

    (@nickboss)

    Good morning, I apologise for the delay, I am preparing a new update of the plugin.

    If I understand well, Vendor Dashboard page is a front-end page right? How is it edited? Using the normal page editor? or is it custom?

    You did well by using do_shortcode function. It should work well. I opened the page but I did not see the upload form. Did you remove it?

    By the way, I see this is an aircraft parts site. I am aeronautical engineer myself. So, I am glad to help you.

    Regards

    Nickolas

    Thread Starter cloud4365

    (@cloud4365)

    hehe cool, good morning, vendor dashboard is a non editable template (just the colors can be edited in the backend admin) that dokan plugin uses, inside that template there are multiple options for the vendor (inventory, orders, reports, etc..) supposedly in the WFU thers an option in the dropdown select that im using (vendor dashboard and a subpage called import) for the instance, but using that option doesent do anything, it just works when selecting the option “vendor dashboard” BUT i need to inserted in the option “import”, so i try to inserted putting that code in the php file that render that import subpage and i see the upload form i also i can browse to select the files but when i select a file it doesnt work.i was wondering it is possible to schedule a skype call in order to be more fluent plz

    Thread Starter cloud4365

    (@cloud4365)

    it is not possible for you, without registering to see that vendor dashboard, thats why u cant see it.

    Plugin Author nickboss

    (@nickboss)

    I registered but I cannot find the upload form in Dashboard. If I see the form maybe I can understand what is the problem.

    Regarding Skype call, you are in USA right? I am in Greece. Maybe we can arrange it when I get back from work late at night (it will be afternoon for you). Please send me an email at [email protected] so that we can contact better.

    Nickolas

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘inserting shortcode in php file’ is closed to new replies.