Okay
  Public Ticket #1688786
modal css not loading correctly for admin use
Closed

Comments

  •  1
    PCCLibrary_DST started the conversation

    Hello,

    I'm using wpDataTables to generate an editable table in a custom plugin page. The table loads and looks styled correctly, but the modal for editing is loading below the table, and doesn't close when you hit the 'cancel' button. The modal is working in the table editor however. I'm attaching 2 screenshots - my plugin, and the table editor. I'm guessing some CSS isn't loading in the admin.


  •  471
    Isidora replied

    Hi PCCLibrary_DST,
    Thank you for your purchase.

    Sorry for late response. 

    We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.

    You can use function wdtOutputTable which is Helper func that prints out the table in backend. Also you have to include all modals(delete, close and edit modal template)

        <!-- Helper func that prints out the table where 1 is id of the table-->
        <?php wdtOutputTable('1'); ?>
        <!-- Close modal -->
        <?php include WDT_TEMPLATE_PATH . 'admin/common/close_modal.inc.php'; ?-->
        <!-- Close modal -->
        <!-- Delete modal -->
        <!--?php include WDT_TEMPLATE_PATH . 'common/delete_modal.inc.php'; ?-->
        <!-- /Delete modal -->
        <!-- Edit modal -->
        <!--?php include WDT_TEMPLATE_PATH . 'frontend/modal.inc.php'; ?-->
    

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  •  1
    PCCLibrary_DST replied

    Thank you - this worked perfectly! I wrapped it up in a shortcode in my own plugin, and its being rendered in a twig template in the wordpress admin now. 

    Great support - I appreciate the fast and helpful response!

  •  471
    Isidora replied

    Hi PCCLibrary_DST,

    You are welcome.  Glad that we help you to solve the issue.

    If you have any more issues or questions feel free to open a new ticket, we will gladly help.

    If you are satisfied with our plugin and support, we'd greatly appreciate it if you could take a minute and leave a Review on CodeCanyon on this link. It means to us.Thanks!

    Best regards. 

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables