Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • vlemos
  • vlemos's Avatar Topic Author
  • Online
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
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

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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
The following user(s) said Thank You: vlemos

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.055 seconds

Hi first of all I'd like to say that J-Cook is a great tool - the best component builder I tried so far...
Rymedia - Jonas 

Get Started