Scriptcase dynamic menu3/9/2024 But it defeats the purpose of the parameters option if it doesn’t work. It looks like this could be as simple as a period missing from the space between “scin” and “*scout”Ĭan someone fix this bug and push it out in an update, please?įor any who search and find this post, the fix for this is generally simple… exclude the parameters option from your sc_appmenu_add_item() statement. Helpful Scriptcase has the option to customize the application menu, changing its layout for better viewing. If I log in to my server via SSH, open the above referenced PHP script with VIM, and go to line 882, I see the following (bad) code: scriptcase']] = $id_params. Our documentation is continuously updated, according to the release of new features. When Generated and Run, this code generates the following syntax error in the browser: Parse error: syntax error, unexpected '"*scout"' (T_CONSTANT_ENCAPSED_STRING) in /opt/NetMake/v8/wwwroot/scriptcase/app/ServiceUnity/menu/index.php on line 882 Access Scriptcases complete documentation online to check out all the available features, or download the documentation in PDF. $a_3menu, $a_4menu, $a_4menu, $id_params, $a_4menu, '', $a_4menu) Scriptcase has two menu applications available: Horizontal or Vertical Menu and Tree Menu. Sc_lookup(menulevel1, "SELECT menu_id, menu_description, application, parameters, icon, target FROM ss_menu WHERE activeflag_id='1' AND parent_id='0' ORDER BY sequence ASC ") This example shows how to dynamically build the items and sub menu of an application, recovering values from the database. I have some nifty onLoad code in a Menu application that generates the menu from a MySQL Query, namely:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |