Asset list filter : how to go above the 500 items limit and how to add the filter at the top

15 views
Skip to first unread message

Steve BOURNE

unread,
Feb 5, 2019, 3:29:32 PM2/5/19
to Simple Groupware
Hi the community,

could someone give me some clues about the filter section which is displayed in some default views for filtering assets ?
I have two problematics :

1. How to go above the limits of 500 items displayed ? When I try to set the textbox field with a value more than 500 it is reset to the value 500 ...

2. How to add the filter section with its conditional and limit fields at the top of the asset list, in addition to the default location at the bottom of the asset list ? Does it require to tinker at the smarty templates level ? If so how, cause it seems to be relatively complex to figure the call stack of the functions/method code that call the templates and then perharps the sub-templates ?

Thanks by advance.

Steve

Patrick Pliessnig

unread,
Feb 6, 2019, 2:25:53 AM2/6/19
to Simple Groupware
Hi Steve

1. try to set the "maximum number of assets displayed" in the settings page to 1000, say, then you should be able to go as high as 1000. currently this setting seems to be set to 500 in your case.

2. there is a helper/filters.tpl whis is responsible for displaying filters. in the main.tpl the helper/filters.tpl is simply included with a include file="helper/pages.tpl" statement. I guess it's easy to just insert this statement at the place in main.tpl where you need it. in your case. I would try to insert the following below at the place you need:
{if !$iframe && $t.schema_mode neq "static"}
        {include file="helper/filters.tpl"}
{/if}

I hope this helps
Patrick

Steve BOURNE

unread,
Feb 6, 2019, 1:01:23 PM2/6/19
to Simple Groupware
Hi Patrick,

thanks for your reactivity, as usual (happy to e-meet you again :-)).

I wil try these tips.

By the way, I know it's off-topic, but do you know if SGS can serve as a WebDAV/GroupDAV/CalDAV/CardDAV server ? I will post another topic for this, hoping it will reach more user (but you are so reactive !).

Regards.

Steve.


Patrick Pliessnig

unread,
Feb 7, 2019, 7:05:28 AM2/7/19
to Simple Groupware
As you say Steve, e-meetings :-)

SGS can serve as a WebDAV server but it is deprecated or maybe even deactivated because it is slow.
You can also save calendar data in ics format - I believe - and it used to be able to synchronize with.

There was also an independent sync server that could be used together with SGS. But this is probably outdated.

I archived the SGS website years ago. There you could find all this information. Go to:

in the folder documentation you should find additional information

Cheers
Patrick
Reply all
Reply to author
Forward
0 new messages