Search found 38 matches
- 16 Apr 2024, 19:00
- Forum: Laravel package
- Topic: Overriding Status Names
- Replies: 2
- Views: 14851
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...
- 16 Apr 2024, 17:11
- Forum: Laravel package
- Topic: Changing title in jqadm to be dynamic
- Replies: 2
- Views: 13243
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...
- 16 Apr 2024, 13:59
- Forum: Laravel package
- Topic: Custom Links in Subparts
- Replies: 3
- Views: 17361
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...
- 15 Apr 2024, 21:02
- Forum: Laravel package
- Topic: Issues with creating Subparts
- Replies: 3
- Views: 15285
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...
- 15 Apr 2024, 13:35
- Forum: Laravel package
- Topic: Issues with creating Subparts
- Replies: 3
- Views: 15285
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...
- 28 Mar 2024, 22:46
- Forum: Laravel package
- Topic: Performing validation in the admin panels
- Replies: 1
- Views: 14204
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...
- 28 Mar 2024, 14:38
- Forum: Laravel package
- Topic: Implementing an admin panel
- Replies: 2
- Views: 22585
Re: Implementing an admin panel
You are correct, I had not configured my extension properly. Once that was resolved, it is working properly now. (Thanks to Norbert at Aimeos)
- 25 Mar 2024, 03:43
- Forum: Laravel package
- Topic: Implementing an admin panel
- Replies: 2
- Views: 22585
Implementing an admin panel
With the context of my other posts, I've been following the docs to the best of my ability. I was able to successfully implement a menu item. When I click on the menu item it went to: [url]http://localhost:8000/admin/default/jqadm/search/season?locale=en[/url] and then I got an error that ./src/Seas...
- 25 Mar 2024, 01:54
- Forum: Laravel package
- Topic: New model in new context not saving
- Replies: 1
- Views: 17210
New model in new context not saving
I have been able to create a model in my extension. In my project which references my extension, I'm able to get model and query the database successfully. What I'm not understanding is why I'm not able to save a record. There is no exception (it is in a try/catch just to be sure) try { // see if se...
- 25 Mar 2024, 00:14
- Forum: Laravel package
- Topic: Adding Menu Items to Admin Panel
- Replies: 4
- Views: 33123
Re: Adding Menu Items to Admin Panel
You can ignore the shop.php question... I have it working in the project which is good for our solution.