Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Any UI from any apps can be used as the default UI . 
The default UI here serves as the landing page when someone navigates to Joget.

Thai

Userview ใด ๆ จากแอปใด ๆ สามารถใช้ Userview เริ่มต้นได้ Userview เริ่มต้นที่นี่ทำหน้าที่เป็นหน้า Landing Page เมื่อมีคนเยี่ยมชม Joget

Image Added

Figure 1: Default UI SelectionImage Removed


In the default installation, an app called "App Center" with the UI named "LandscapeApp Center" is preloaded.

Thai

ในการติดตั้งเริ่มต้นแอปที่เรียกว่า "App Center" พร้อม Userview ชื่อ "Joget DX" ถูกโหลดไว้ใน

...

  1. In order to edit it, as a Joget administrator, simply navigate to "All Apps" in the admin bar, then click on the "App Center" app.

    Thai

    ในการแก้ไขให้ไปที่ "แอพทั้งหมด" ในฐานะผู้ดูแลระบบ คลิกที่แอพ "App Center"


    Figure 2: Select App Center in All Apps
  2. Then, click on the "LandscapeApp Center" UI to edit this UI.

    Thai

    จากนั้นคลิกที่ "Joget DX"

    Image Removed


    Image Added

    Figure 3: Click on App Center UI in App Composer
  3. In the UI Builder, edit the only UI menu called "App CenterHome".

    Thai

    ในตัวสร้าง UI แก้ไขเฉพาะเมนูที่คุณเห็น

    Image Removed


    Image Added

    Figure 4: UI menu Home
  4. It is a List UI Menu that points to the form a JSON API named "Published AppsUserviews".

    Thai

    เป็นเมนูแบบฟอร์มที่ชี้ไปยังแบบฟอร์มที่ชื่อว่า "แอพที่เผยแพร่แล้ว"


    Image Added

    Figure 5: It points to a JSON API 

    Image RemovedBy defining the content of the form, we can alter the content of the current app center. Simply click on the navigation icon beside the selected form to edit the form.JSON URL. 

    Thai

    โดยการกำหนดเนื้อหาของแบบฟอร์มเราจะสามารถแก้ไขเนื้อหาของศูนย์แอปเริ่มต้น เพียงกลับไปที่ขั้นตอนที่ 2 ด้านบนและเปิดแบบฟอร์ม

    In the form's design, there are 2 custom HTML elements.

    Thai

    ในการออกแบบฟอร์มมีองค์ประกอบ HTML ที่กำหนดเอง 2 รายการ

    Image Removed
    The first one (highlighted in red) is meant to be shown when a Joget administrator logs in.
    The second one (highlighted in blue) is shown at all times.
    Thai

    อันแรก (เน้นด้วยสีแดง) หมายถึงการแสดงเมื่อผู้ใช้ของบทบาทผู้ดูแลระบบเข้าสู่ระบบคนที่สอง (เน้นด้วยสีฟ้า) จะแสดงตลอดเวลา

    Edit the second Custom HTML to reveal its code.

    Thai

    แก้ไข HTML ที่กำหนดเองที่สองเพื่อเปิดเผยรหัส

    true
    Code Block
    languagexml
    linenumbers

    <div id="main-action-help"><i class="fa fa-info-circle"></i></div>
    <div id="search"></div>
    <ul id="apps"></ul>
    <p>
    <script src="/jw/js/appCenter7.js"></script>
    <script>
    AppCenter.searchFilter($("#search"), $("#apps")); 
    AppCenter.loadPublishedApps("#apps");
    </script>
    </p>

Customizing the App Center's UI 

...

  1. The logo that is displayed in the App Center can be changed under Settings > Theme > Advanced > Home Banner.

    Just upload a logo of your preference to the app's Resources, then copy the new resource's generated hash variable and replace the image source.



    Figure 6: Custome Logo URL
  2. The "Home Banner" and "Custom CSS" can be customized.

    Thai

    "Home Banner" และ "Custom CSS" สามารถ customized


    Figure 7: Home Banner and Custom CSS fields
  3. The help guide feature can be disabled, by scrolling to the bottom of the same page.

    Thai

    คุณลักษณะคู่มือช่วยเหลือสามารถปิดการใช้งานในหน้าเดียวกันได้เช่นกัน


Customizing the App Center's Form

Thai

การปรับแต่งแบบฟอร์มของ App Center

Code Block
languagexml
linenumberstrue
<div id="main-action-help"><i class="fa fa-info-circle"></i></div>
<div id="search"></div>
<ul id="apps"></ul>
<p>
<script src="/jw/js/appCenter7.js"></script>
<script>
AppCenter.searchFilter($("#search"), $("#apps")); 
AppCenter.loadPublishedApps("#apps");
</script>
</p>
  1. Line number 1 can be removed to remove the "help" icon.

    Thai

    สามารถลบหมายเลขบรรทัด 2 เพื่อลบไอคอน "ความช่วยเหลือ"

    Image Removed

    The list of published apps is loaded by AppCenter.loadPublishedApps method. This method has extra 2 arguments to customize the published app list.

    Thai

    รายการแอปที่เผยแพร่ถูกโหลดโดยวิธี AppCenter.loadPublishedApps วิธีนี้มีข้อโต้แย้งเพิ่มเติม 2 ข้อเพื่อปรับแต่งรายการแอพที่เผยแพร่

    Code BlockAppCenter.loadPublishedApps(container, customUrl, excludes); container : This is the container to populate the app list customUrl : This can change to a custom url to load the app list instead of the default url (e.g: /web/json/apps/published/userviews?appCenter=true ) excludes : This is used to exclude any unwanted userview(s) from the app center list. It is an array of string in syntax of "appId:userviewId"   Example: AppCenter.loadPublishedApps(container, null, ["isr:isr", "crm:view"]); Figure 8: Disable Help Guide Feature Checkbox

Disabling the "help" (Hint/Guide) 

...

  1. To disable the Hint pop-up, edit the App Center UI.

    Thai

    หากต้องการปิดใช้งานป๊อปอัปคำแนะนำให้แก้ไข App Center

  2. Navigate to Settings.

    Thai

    นำทางไปยังการตั้งค่า

  3. Under Settings, navigate to "Configure Layout > Configure Theme > Advanced".

    Thai

    ภายใต้การตั้งค่านำทางไปที่ "Configure Layout > Configure Theme > Advanced"

  4. Scroll down to the bottom of the page, and check the "Disable help guide feature?" option.


    Thai

    เลื่อนลงไปที่ด้านล่างของหน้าและทำเครื่องหมายในช่อง "ปิดการใช้งานคุณลักษณะคำแนะนำช่วยเหลือหรือไม่"

    Figure 9: Disable Help Guide Feature Checkbox
  5. Then click on "SAVE" to save the UI.

    Thai

    จากนั้นคลิกที่ "บันทึก" เพื่อบันทึกมุมมองทั้งภาพ

...