6 years ago
3
Topic

Hi,

I would like to add a free button in the frontend to delete all selected articles or users in a list.

Exactly the same as it works on a list in the joomla backend.

it's possible?

Thanks.

Get a VIP membership
6 years ago
0
Level 1

Hi Wagner.nardin, 

I think its possible to select every articles you want and then delete them, but I don't know how. 

In the manual I've linked, it's explain how you can build a front end interface with a delete button for every articles.

1283 Posts
Bucklash
6 years ago
0
Level 1

I don't think Seblod does batch stuff really, does it?

My thought would be in an afterstore field to loop through each item where $fields['delete_me']->form = 1 (a checkbox field) and delete 

35 Posts
julien
6 years ago
0
Level 1

Yes you can,

see this post:

https://www.seblod.com/community/forums/general-discussions/delete-content-from-a-list-template-with-jgrid-checkbox-selected#post53035

use this code in a before render code in a search view and jgrid checkbox and a button submit.

Just test with article object. Should works with user object.

Julien

Get a VIP membership