From 7f39a747a1444141d1c9e8656bdb2cc51e301db6 Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 21 Jun 2026 07:16:36 +0900 Subject: [PATCH] [!] set web space, content and control panel to fix another web space content to be rendered instead of the show apps. The bug was when the web content and web space was set to another i.e. "DASHBOARD". The dashboard content was rendered instead of the "show apps" of hayamiki. [!] set the right version (1.19) instead of (1.19.1) of the library --- src/web_controller/hayamiki.anubis | 12 ++++++++++++ src/web_controller/hayamiki_plugin.anubis | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/web_controller/hayamiki.anubis b/src/web_controller/hayamiki.anubis index 891490a..0a0a4b8 100644 --- a/src/web_controller/hayamiki.anubis +++ b/src/web_controller/hayamiki.anubis @@ -757,6 +757,18 @@ define (WEB_Session) -> WEB_Controller_Result with _T = make_translate_function(_session), lwa = _session.web_request.lwa, web_site_directory = get_web_site_directory(_session), + + //set the web space + set_web_space(_session, "HK"); + + //Set content + set_web_content(_session, "HK_SHOW_APPS"); + + //Set control panel to nothing + replace_String(_session.fields, "AWS_CP.APP", get_web_app(_session)); + replace_String(_session.fields, "AWS_CP.SPACE", "HK"); + replace_String(_session.fields, "AWS_CP.NAME", "NO_PANEL"); + if show_apps_content( db, hk_db, _T, _session.language, web_site_directory) is { failure then diff --git a/src/web_controller/hayamiki_plugin.anubis b/src/web_controller/hayamiki_plugin.anubis index edc7e6b..141fddf 100644 --- a/src/web_controller/hayamiki_plugin.anubis +++ b/src/web_controller/hayamiki_plugin.anubis @@ -37,7 +37,7 @@ global define WEB_Plugin web_plugin( "HAYAMIKI", "BASE", - "1.19.1", + "1.19", _Int_to_ISO_8601_datetime(to_Int(__TIME__)), plugin_get_controller, plugin_get_typed_content -- libgit2 0.21.4