ZnetDK 4 Mobile

Forum

Questions and answers

If you need help about ZnetDK for Mobile, please post your questions on the SOURCEFORGE Discussion page of ZnetDK by clicking the button below.

Topics

Code Snippets: Multilingual Application
Sun, 09 May 2021 21:15:34

Hello,

The ZnetDK 4 Mobile website was updated this week with new code snippets for developping a Multilingual Application

See the step-by-step procedure to add this functionality to the ZnetDK 4 Mobile Starter application.

Hoping you'll enjoy,

Pascal
ZnetDK developer.

Code Snippets: Displaying Dashboard boxes
Wed, 21 Apr 2021 20:03:45

Hello,

The ZnetDK 4 Mobile website was updated this week with new code snippets for displaying statistics boxes.

See the step-by-step procedure to add this functionality to the ZnetDK 4 Mobile Starter application.

Hoping you'll enjoy,

Pascal
ZnetDK developer.

ZnetDK 4 Mobile v2.4 is released
Sat, 17 Apr 2021 19:40:04

Hello,

The new version 2.4 of ZnetDK includes the following minor changes and bug fixes:

  • CHANGE: the \DAO::remove() method now returns the number of rows removed.
  • CHANGE: Phone and Notes fields added to the user form.
    The database schema must also be upgraded for applications deployed in a
    previous version of ZnetDK by executing the following DML statement:
ALTER TABLE zdk_users 
  ADD user_phone VARCHAR(50) NULL COMMENT 'Phone number' AFTER user_email,
  ADD notes VARCHAR(100) NULL COMMENT 'Notes' AFTER user_phone;

For any new applications, just download the znetdk-security-1.5.zip archive
from the ZnetDK download page to install the security SQL tables corresponding
to this version.

  • CHANGE: new znetdkMobile.navigation.clearRowCountFromHorizontalMenuItem()
    method to clear the counter displayed on the right of the menu item (see
    znetdkMobile.navigation.addRowCountToHorizontalMenuItem() method).
  • CHANGE: new \DAO::doesTableExist() method to check if the table specified as
    property of the DAO exists or not.

  • BUG FIXING: when the page header is hidden after calling the
    znetdkMobile.header.events.handleHideHeaderOnScroll() method, no extra space
    is longer added to the page's anchors through the inline #zdk-anchor-adjust
    CSS style.
  • BUG FIXING: the suggestions were not automatically hidden after pressing the
    TAB key from a ZnetDK 4 Mobile autocomplete input field.
  • BUG FIXING: error message PFL-012 when calling \DAO::remove() with a row ID
    passed as a parameter while the 'zdk_profile_rows' ZnetDK security SQL table
    is missing.
  • BUG FIXING: checkbox and radio inputs could be modified after calling the
    znetdkMobile.form.setReadOnly() method.
  • BUG FIXING: a JS error occured calling znetdkMobile.form.setInputValue()
    when the value specified for a radio button contained a space character.
  • BUG FIXING: znetdkMobile.form.getInputValue() called for a checkbox input
    wrongly returned the element's value while the checkbox was not checked.
    Now, an empty string is returned if the checkbox is not checked.
  • BUG FIXING: in the mobile.php page layout, the title attribute is added to
    the #zdk-side-nav-button anchor for a better accessibility.

Pascal,
ZnetDK developer

Code Snippets: Server-side form data validation
Sun, 04 Apr 2021 20:22:32

Hello,

The ZnetDK 4 Mobile website was updated this week with new code snippets for validating input form data on the server-side in PHP.

See the step-by-step procedure to add this functionality to the ZnetDK 4 Mobile Starter application.

Hoping you'll enjoy,

Pascal
ZnetDK developer.

Code Snippets: Editing HTML content with CKEditor
Tue, 09 Mar 2021 21:57:25

Hello,

The ZnetDK 4 Mobile website was updated this week with new code snippets for editing HTML content with CKEditor.

See the step-by-step procedure to add this functionality to the ZnetDK 4 Mobile Starter application.

Hoping you'll enjoy,

Pascal
ZnetDK developer.