Forums

Resolved
0 votes
Hi,
I was wondering why there are some many single apps in one heading in the menu tree structure ?
See attached picture as an example.
Of course not every app is installed, but don't think anyone has ;-)

https://i.ibb.co/6wSNdTQ/4.png
Wednesday, April 24 2019, 07:56 AM
Share this post:
Responses (15)
  • Accepted Answer

    Wednesday, April 24 2019, 08:27 AM - #Permalink
    Resolved
    0 votes
    Agreed!

    I'd also put ClearGLASS under Applications. Kopano should go under Messaging or Applications, Openfire is the same. If they don't go under Messaging, Messaging should be renamed E-Mail. Database and Directory only ever seem to have one entry, but I think the MSSQL also went under Database (but it is now broken). There are issues with the IDS which appears in different places if you talk about the free or subscribed updates. Under Gateway, the Content Filter and Proxy and Filtering options need to be sorted because Content Filtering is Filtering. The list goes on.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 24 2019, 08:32 AM - #Permalink
    Resolved
    0 votes
    Hi Patrick,

    If you see my screenshot I think it's very clear how the menu is displayed. In my opinion it's clearest way!
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 24 2019, 08:49 AM - #Permalink
    Resolved
    0 votes
    I don't have the issues you guys mentioned because I don't have these apps installed, but I guess you have a point if a sub category only has on entry..
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 24 2019, 08:52 AM - #Permalink
    Resolved
    0 votes
    Marcel van van Leeuwen wrote:

    Hi Patrick,

    If you see my screenshot I think it's very clear how the menu is displayed. In my opinion it's clearest way!

    How do you get it like this ?
    Did you have changed something in the structure ? If so... how ?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 24 2019, 12:26 PM - #Permalink
    Resolved
    0 votes
    I suppose it depends on the genre of the app. It would seem, Patrick, that you only have one of each of those kinds you're showing. Should you install more, more would show up. Mine looks like a mix of yours and Marcel's.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 25 2019, 05:40 AM - #Permalink
    Resolved
    0 votes
    @Patrick it's indeed like Dirk saying. I have just more apps installed from the same genre.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 25 2019, 03:00 PM - #Permalink
    Resolved
    0 votes
    Marcel van van Leeuwen wrote:

    @Patrick it's indeed like Dirk saying. I have just more apps installed from the same genre.

    Thanks !

    Still simplifying doesn't hurt.....
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 27 2019, 08:02 PM - #Permalink
    Resolved
    0 votes
    I hate this menu too. Truth be told.

    I typically modify the theme to use Category Headers. It still has the same submenu problem but it isn't as painful (ie. less clicks).

    https://ibb.co/p0F7G3h
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 27 2019, 09:33 PM - #Permalink
    Resolved
    0 votes
    Dave Loper wrote:

    I hate this menu too. Truth be told.

    I typically modify the theme to use Category Headers. It still has the same submenu problem but it isn't as painful (ie. less clicks).


    I think you are in the position to change it ?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 28 2019, 12:21 AM - #Permalink
    Resolved
    0 votes
    I also used the Category Headers before then indeed less clicks are needed. Personally I'll find it hard to say what is the alternative?

    Maybe @Patrick it's idea to make a suggestion how you do like to see the menu. Make an example what for you is logical! If you have time on Saturday the community can discuss this on the meeting. @Dave did you said (I'm not sure) that Kimberly Fawn was a expert on gui stuff? Maybe she also has a ideas to make the menu more intuitive., and I think this has to be moved to ClearOS 8.x. @Dave are you considering another framework for ClearOS 8 (PHP based)?
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 28 2019, 04:08 AM - #Permalink
    Resolved
    0 votes
    I am indeed in a position to make changes. Everyone is. The question is, what are the priorities? For me personally, working on the new framework (which will be available as a beta in 7 side by side with the current Webconfig, BTW) is a priority because we can fix it there once instead of fixing it in 7, and 8 (ie. twice). Podman is also a high priority since it both replaces docker and is available on 7.6.

    The theme mechanism in ClearOS 7 actually allows for additional themes. In fact, you can simply fork the theme, call it something else and then change it out to how you want. From there, you can push it back as a contrib. You can also make a commit to the existing theme, if it will work (and it could.)

    If you ever see any element in ClearOS and want to dig into what it is, you can use the Developer Tools in Chrome (Three dots ... More Tools >> Developer Tools). Then click on the tool at the top that has a square and an arrow (Select an element in the page to select it...). From there you can identify what is the element in the form. For the current issue, the element is called 'theme-menu-1' (if you are using the default Menu, ie. Expanding Sidebar) or 'theme-menu-2' (ie. Category Headers). Each app has a category (ie. Cloud, Gateway, Server, Network, System, or Reports) and a sub-category. That is how apps are ordered currently and if there is a better way, let's do it together.

    If you clone the code locally, you can use tools like 'grep -R theme-menu-2 *' to find all the files that have that reference. From there, you can follow the spaghetti to the bits.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 28 2019, 04:14 AM - #Permalink
    Resolved
    0 votes
    I've added this issue to the project, that will help with any code checkins that people want to make.

    https://gitlab.com/clearos/clearfoundation/theme-clearos-admin/issues/3
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 28 2019, 07:37 AM - #Permalink
    Resolved
    0 votes
    Hi Dave,

    Thanks for the head up. I'm not a programmer or experienced with scripting, but i'll look in this and try.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 28 2019, 07:48 AM - #Permalink
    Resolved
    0 votes
    If you want to move the app meny to a different place have a look in the apps info.php (e.g /home/devel/apps/miniupnpd/deploy/info.php) for a section like:
    /////////////////////////////////////////////////////////////////////////////
    // App name and categories
    /////////////////////////////////////////////////////////////////////////////

    $app['name'] = lang('miniupnpd_app_name');
    $app['category'] = lang('base_category_network');
    $app['subcategory'] = lang('base_subcategory_firewall');

    This controls where it ends up. The only isue is that any change you make could get overwritten by a yum update.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 28 2019, 05:51 PM - #Permalink
    Resolved
    0 votes
    You can use "chattr" to make the file immutable.

    chattr +i filename.ext


    chattr -i filename.ext


    A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file and no data can be written to the
    file. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.
    The reply is currently minimized Show
Your Reply