Welcome, Guest
Username: Password: Remember me

TOPIC: Suppress View but keep model functionality

Suppress View but keep model functionality 07 Feb 2017 11:05 #14988

  • vlemos
  • vlemos's Avatar
  • Online
  • Elite Member
  • Posts: 296
  • Thank you received: 41
  • Karma: 21
Hello Admin, would like to see a checkbox which prevents a form from being displayed/routed. Currently, to generate filters in the model one must build them on a form. However, it may not be necessary to have this form visible to users. This occurs with pivot tables for me. The ability to tell the builder that I need the functionality in the model/ajax-view but no cpanel icon or viewable form would be nice. It is currently necessary to edit the generated code for every download.

Warm regards
vlemos
The administrator has disabled public write access.

Suppress View but keep model functionality 07 Feb 2017 13:57 #14989

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
I understand...
But I would do differently...

In next version 3.2, the filters will be unified between ALL layouts of the same page. I encounter a compatibility problem with that.
In fact in the new way (native Joomla), the filters are declared such as XML forms.
But it is impossible to declare multiple sets of filters. So the declaration of filters are shared between pages.
It is not a problem for us because then it will be possible to instance individually the filters. I found a workaround for keeping this cook ability.
In definitive, filters will be declared at the level of the table (not the layout)
Then the builder will allow you to choose wich filter to instance in the layout.

So... to return to your problem...
It will be covered in the version 3.2 because you will NOT need any layout for instancing a filter in the model.

The version 3.2 is quite a revolution but a lot of work.
The objective of 3.2 is to fit better to the Joomla native framework

Know more : j-cook.pro/index.php/news/16-news/233-less-is-more

Hope it will fit your needs
Coding is now a piece of cake
Last Edit: 07 Feb 2017 13:59 by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: vlemos
Time to create page: 0.063 seconds

Get Started