custom linked view in admin #151
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#151
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hi, i want to customize linked view in my component because some field like date need to be changed. but changing that in model (Add PHP (getItems Method - after all)) does not affect in linked view!
how we can customize linked view like this picture ?
Please watch this tutorial as it explains how to prevent list view items from being escaped.
Here is a little code snipped I used to achieve the same
O yes and I added this to Add PHP (getItems Method - before translation fix & decryption) since I wanted to be sure I use the raw untouched values.
The linked view is really a mirror of the actual admin view. So making any changes to the admin view should reflect where that admin view is linked.
I have not tested this extensively, but here is the result of the above code in a linked view with FooTable V3
that is work in list view but not working in linked view !
i dont know why.
even if i delete
administrator/components/com_mycomponent/models/someview_list.php
the linked view in tab still working! just admin view broke !It does not call the same model, it builds that same functions (class methods) into the model where it is linked. So can you look in the Sale model and share the method you find there?
I also notice that these are not the same linked views... the one has description and the other does not, so please check that you are linking to the correct view.
System Name is what helps to identify views that have the same names, but are used in different components. Well that is what I use system name for 👍
yes ! the model for linked view is inside parent model! the model for
crm
tab is inside thesale
model ! the problem solved!i have another question how can i change linked view design? like sermondistributor (dark blue) .
i haven't any site view or dynamics get.
thank you
Hey JCB is not yet that smart... but hey with guys like you around I am sure we will get there. For now you can only add css to the page and target the table classes. But we could in the future look at this.
If you have a plan on how and what... then open an issue as a feature request and we will bump it into the feature request project here on github.