Page 1 of 1

Idea: Remove need for ?view= part of Home View

Posted: Mon Mar 13, 2023 3:37 pm
by wayneoutthere
Good day

As a re-newed user to Zone Minder I was testing a lot in the Options / User section of Zone Minder for the "Home View' field.

It strikes me that very few administrators would be able to figure out quickly to add

Code: Select all

?view=
before their desired view. I assumed (as did another nice video creator for Zone Minder on youtube) that you would enter the simple name as it appears in the top menu such as simply 'montage' or "Montage' perhaps.

Finally I figured out that in fact you do need the

Code: Select all

?view=
part

Is it possible to have the back end coding force that part for the user?

Further you could force (I remember doing this once in some programming language...) that whatever the user enters in terms of upper or lower case, the field data payload is forced into lowercase.

That way, the user needs to only enter the name as it appears in the Menu such as:

* Console / console
* Options / options
* Log / log
* Groups / groups
* Filters / filters
* Cycle / cycle
* Montage / montage
* Montage Review / montage review
* Audit Events Report / audit events report

and then automatically redirects the user to

Code: Select all

?view=<whatever they entered>
I hope that idea makes sense and the way I explained it was clear

Thanks again for a great project!

Re: Idea: Remove need for ?view= part of Home View

Posted: Mon Mar 27, 2023 5:01 pm
by iconnor
Already done in master.

More work to do... should offer a dropdown of available options and restrict it to that.

Re: Idea: Remove need for ?view= part of Home View

Posted: Thu Sep 07, 2023 2:10 pm
by pat2
the as is functionality is very useful.
in my case I put Home View = ?view=montage

after I discovered the functionality I remember i worked a little bit to find the right syntax... :D

Isaac, only for curiosity, current version is ok for me, when the new .34 version?

Re: Idea: Remove need for ?view= part of Home View

Posted: Fri Sep 08, 2023 6:43 am
by dougmccrary
current version is ok for me, when the new .34 version?
Same here.
It's sorta out 2023-06-29, but for some reason it's not seen as a viable upgrade by my focal install, and apparently your jammy.
If you don't look for it, you don't know it's there. I was hoping isaac would fix soon, but gave up.

Re: Idea: Remove need for ?view= part of Home View

Posted: Fri Sep 08, 2023 7:21 am
by Magic919
It's not released. You could switch to the proposed PPA to get .34.

Re: Idea: Remove need for ?view= part of Home View

Posted: Fri Sep 08, 2023 8:09 am
by pat2
Hi Magic,
as stated by Doug, I added the proposed repo and tried (in August and recently today). But it seems not available for Jammy / ARM64 in "proposed" repo too...there is a red cross for jammy/arm64 on the build report and if I ask for an upgrade/dist-upgrade the result is null for zoneminder.