34. Working with Frappe Dialog API in Web Portal

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • How to use Frappe Form Dialogs in your web portals e.g frappe.msgprint, frappe.throw, frappe.call,......
    frappeframewor...
    Blog: ghorz.com/blog...

Комментарии • 8

  • @tek_stack
    @tek_stack Год назад +1

    Thank you man I learnt a lot from you. I tried everything but I keep getting an Error: Uncaught TypeError: frappe.boot is undefined

    • @tek_stack
      @tek_stack Год назад +1

      I fixed it😁
      paste this script above the tag
      frappe.boot = {{ boot }}
      // for backward compatibility of some libs
      frappe.sys_defaults = frappe.boot.sysdefaults;

  • @tarunsairam7717
    @tarunsairam7717 2 года назад +1

    Dialog api is working but close button is not visible and not working in this demo video as well, how to fix that issue.

  • @shreekantewelt6413
    @shreekantewelt6413 3 года назад

    Please make some video on how to use publish_progress in server side(py file)

  • @harbixyz
    @harbixyz 2 года назад +2

    To display the close button: copy file symbol-defs.svg from folder sites/assets/frappe/icons/timeless into your app templates folder and then include it in your base html file just below the tag, like this: {% include "public/icons/timeless/symbol-defs.svg" %}, of course use the path where you stored the file in

  • @TheDenisukm
    @TheDenisukm 3 года назад

    Can you pls let us know where is the dialog for webpage builder?

    • @ghorzace8347
      @ghorzace8347  3 года назад

      If you follow the video in order, you'll see how to import the necessary javascript required for calling the dialog

    • @ghorzace8347
      @ghorzace8347  3 года назад

      add to the footer of the page

      or reference github.com/mymi14s/estate_manager