Feature request: empty views #599

Closed
opened 2020-09-14 11:56:31 +00:00 by studio16 · 1 comment
studio16 commented 2020-09-14 11:56:31 +00:00 (Migrated from github.com)

The site view "Main get"selection box should have a "none" option to create views which are not related to anything.
Now u get a "Not found or access denied!" because of nothing returning from the model.
I'm bypassing that now by clearing the getitem function to:
public function getItem($pk = null)
{}

Would be nice however, especially considering upgrades/updates, if it can be done via the JCB.
Perhaps it would be possible during compiling if the Main get is set to "none" to leave the getItem function empty.

Just a thought

The site view "Main get"selection box should have a "none" option to create views which are not related to anything. Now u get a "Not found or access denied!" because of nothing returning from the model. I'm bypassing that now by clearing the getitem function to: public function getItem($pk = null) {} Would be nice however, especially considering upgrades/updates, if it can be done via the JCB. Perhaps it would be possible during compiling if the Main get is set to "none" to leave the getItem function empty. Just a thought

Currently this is not that easy to achieve, this was looked at before, and the compiler would need to much attention to achieve this. Better to just create one "blank" type of dynamic get and use it wherever you need an "empty site view".

Currently this is not that easy to achieve, this was looked at before, and the compiler would need to much attention to achieve this. Better to just create one "blank" type of dynamic get and use it wherever you need an "empty site view".
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#599
No description provided.