Search found 32 matches

by jafo66
23 Apr 2024, 21:48
Forum: Laravel package
Topic: Admin Vue Components
Replies: 2
Views: 21151

Admin Vue Components

I'm looking to copy and implement a similar Vue component like the property-table.js component used in the Customer/property subpanel within the admin screens. I copied the .js file from within the admin/jqadm/js/components directory and placed it inside of the following trying to see what would wor...
by jafo66
18 Apr 2024, 14:35
Forum: Laravel package
Topic: Overriding Status Names
Replies: 2
Views: 13143

Re: Overriding Status Names

Thanks!
by jafo66
17 Apr 2024, 20:50
Forum: Laravel package
Topic: Custom Links in Subparts
Replies: 3
Views: 15753

Re: Custom Links in Subparts

That worked for what I needed, but how would you link to a subpart using that method? The link that got generated had the subpart ID at the end which didn't seem to work, but I might have missed something in the routing. Example link created: http://localhost:8000/admin/jqadm/<panel name>/get/<id> W...
by jafo66
17 Apr 2024, 12:40
Forum: Laravel package
Topic: Changing title in jqadm to be dynamic
Replies: 2
Views: 11883

Re: Changing title in jqadm to be dynamic

Yep, that worked great. I missed the get(false) when I was trying to do it myself.
by jafo66
16 Apr 2024, 19:00
Forum: Laravel package
Topic: Overriding Status Names
Replies: 2
Views: 13143

Overriding Status Names

I would like to change the name of the statuses used in the admin panels. This code seems pretty standard: 'status' => ['op' => '==', 'type' => 'select', 'val' => [ '1' => $this->translate( 'mshop/code', 'status:1' ), '0' => $this->translate( 'mshop/code', 'status:0' ), '-1' => $this->translate( 'ms...
by jafo66
16 Apr 2024, 17:11
Forum: Laravel package
Topic: Changing title in jqadm to be dynamic
Replies: 2
Views: 11883

Changing title in jqadm to be dynamic

I was able to get my own version of the index.blade.php for the admin screen working based on another post. I was hoping to have the title generated based on the site label. How would I get that in the index.blade.php? I tried using the app() and app('aimeos-context') but neither seemed to return th...
by jafo66
16 Apr 2024, 13:59
Forum: Laravel package
Topic: Custom Links in Subparts
Replies: 3
Views: 15753

Custom Links in Subparts

I have a created a subpart that lists related values. I would like to redirect the user when they click on the list to the item panel I created in a different location. Using the template code there is a link creation function: $enc->attr( $this->link( 'admin/jqadm/url/get', ['id' => $itemId] + $par...
by jafo66
15 Apr 2024, 21:02
Forum: Laravel package
Topic: Issues with creating Subparts
Replies: 3
Views: 14129

Re: Issues with creating Subparts

Thanks for the updates. Where the "vue" class needs to be is a tad confusing. I now have it working without the vue class included anywhere in the subpart code. It is in the parent code, so I'm not sure I follow when / where that should get included. On the data() method, I implemented the...
by jafo66
15 Apr 2024, 13:35
Forum: Laravel package
Topic: Issues with creating Subparts
Replies: 3
Views: 14129

Issues with creating Subparts

In building out item subparts , I found a few issues in the docs that should be fixed: In the template code snippet example for the subpart, it is missing the "vue" class in the div Also in the template code, the divs at the end should be closing divs, they are missing the slashes In order...
by jafo66
28 Mar 2024, 22:46
Forum: Laravel package
Topic: Performing validation in the admin panels
Replies: 1
Views: 14139

Performing validation in the admin panels

I'm looking to validate fields in the new admin panels I've made. There is already the ability from the admin.js to check if a required field is empty. How do I expand that to validate that a field has numbers, etc.? I'm not too picky as to whether that validation happens on the server side or in th...