- Posts: 295
COMMUNITY FORUM
Delete items from SQL
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
14 years 3 months ago #92315
by stavroch
Delete items from SQL was created by stavroch
Can I delete items from MySql?
If I delete items from MySql is the same procedure with the deleting items from the admin page?
If I delete items from MySql is the same procedure with the deleting items from the admin page?
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
14 years 3 months ago #92316
by Jiliko.net
Replied by Jiliko.net on topic Delete items from SQL
Stavros,
By deleting items in backend, you also delete images, galleries, videos, attachments, & tags reference.
Olivier
By deleting items in backend, you also delete images, galleries, videos, attachments, & tags reference.
Olivier
Please Log in or Create an account to join the conversation.
- stavroch
-
Topic Author
- Offline
- Elite Member
Less
More
- Posts: 295
14 years 3 months ago #92317
by stavroch
Replied by stavroch on topic Delete items from SQL
So itsn't clear job ;)
How can I delete the expired items?
Where the finish date <= current date?
How can I delete the expired items?
Where the finish date <= current date?
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
14 years 3 months ago #92318
by Jiliko.net
Replied by Jiliko.net on topic Delete items from SQL
Stavors,
This could be done by adding a custom button in K2 backend that retrieves expired items and calls the K2 delete function for each.
You have to take a look to the K2 MVC structure and try to add a button on the K2 panel, add a new controller, model, view to achieve the delete operation.
I'm taking care not to tell you i can do that as a paying service, this could disappoint some people on the forum. :-)
Regards,
Olivier
Stavros said:
So itsn't clear job ;)
How can I delete the expired items?
Where the finish date <= current date?
This could be done by adding a custom button in K2 backend that retrieves expired items and calls the K2 delete function for each.
You have to take a look to the K2 MVC structure and try to add a button on the K2 panel, add a new controller, model, view to achieve the delete operation.
I'm taking care not to tell you i can do that as a paying service, this could disappoint some people on the forum. :-)
Regards,
Olivier
Stavros said:
So itsn't clear job ;)
How can I delete the expired items?
Where the finish date <= current date?
Please Log in or Create an account to join the conversation.
- Jiliko.net
-
- Offline
- Platinum Member
Less
More
- Posts: 567
14 years 3 months ago #92319
by Jiliko.net
Replied by Jiliko.net on topic Delete items from SQL
Stavros,
I've added a discussion here: community.getk2.org/forum/topics/backend-k2-admin-extension?xg_source=activity
I'll implement your request as the first feature of the extension.
Olivier
I've added a discussion here: community.getk2.org/forum/topics/backend-k2-admin-extension?xg_source=activity
I'll implement your request as the first feature of the extension.
Olivier
Please Log in or Create an account to join the conversation.