To Do List plugin

Topics related to AppGini plugins/add-ons go here.
User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

To Do List plugin

Post by landinialejandro » 2021-02-03 23:24

To Do List

Hello! I leave you, this time, a plugin for the users of your applications.
I hope it is useful and you enjoy it.
Please leave your comments and feedbacks.
Image


To Do List plugin

A simple list for managing tasks, you can add as many as you need, fulfill them, delete them and edit them.
You can view the total of tasks and those that still need to be completed.
A progress bar and the amount of tasks in the trash can are displayed.

Soon

- The recycle bin will be accessible.
- It will be possible to view the mutations of each of the tasks (modification history).
- Tasks can be transferred to other users.
- Expiration date may be added.

Install

got to plugin folder.
dowload todos ZIP pack into plugins folder in your project, and unzip it into todos folder.

Donload link

or use git into your plugin folder:

if you already use git in ypur project add like submodule

Code: Select all

$ git submodule add https://github.com/myappgini/sbm_todos.git todos

Manual Install

After downloading the ZIP file. Open it and unzip it in the plugin folder inside the all folder.
Inside the

Code: Select all

plugins/todos/app-resources
folder there are two more folders, the miams must be copied into the hooks folder.
once the copy is finished, the resulting structure should be:

Code: Select all

hooks/
    box/
    todos/
Edit the

Code: Select all

footer-extras.php
file with your favorite editor.
add the following lines to the top of the file:

Code: Select all

<?php
include ('hooks/box/scripts.php');
include ('hooks/todos/scripts.php');
?>
Use

Select To Do from plugin menu in admin area.

Follow the steps.

Then next to install needed files and enjoy.
Image
Image
Image
Image
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

pfrumkin
Veteran Member
Posts: 157
Joined: 2020-02-18 17:58
Location: Albuquerque, New Mexico USA

Re: To Do List plugin

Post by pfrumkin » 2021-02-04 15:38

Hi Alejandro,

I don't have a use for this now but this is way cool. Thanks for sharing!

~Paul

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-02-04 16:20

pfrumkin wrote:
2021-02-04 15:38
Hi Alejandro,

I don't have a use for this now but this is way cool. Thanks for sharing!

~Paul
Thanks.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

utony
Veteran Member
Posts: 93
Joined: 2020-04-03 18:37

Re: To Do List plugin

Post by utony » 2021-02-04 17:35

This is awesome work!!! I can't wait for you to expand on it. Well Done

SkayyHH
Veteran Member
Posts: 425
Joined: 2015-04-27 21:18

Re: To Do List plugin

Post by SkayyHH » 2021-02-08 13:49

Hi Alejandro,

after seeing your wonderful task list I had an idea.

How about having a module in the admin along the same design like your to do list plugin, where we can integrate "code snippets" that the admin can turn on and off at will? There is for example for wordpress a plugin similar in approach.

When all appginiers could put CSS styles and javascript codes together to implement and if that could "inject" into the hooks via such a code snippets module to the appropriate places, we would not have to manually edit many different files in the hook directory. But could bring e.g. mods like "strong passwords", "css styles" or javascript via code snippets to the right places in hooks and turn on and off via the admin. And much more.

We could then have a "snippets list" for all possible mods and have that admin manageable.

I hope you understand what I mean. My english is so bad ;-) It's just an idea. I can't develop something like this myself. But I think it would enrich the generated AppGini apps. What do you think?

Many greetings, Kai

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-02-10 20:11

hi kay, i'm not sure what you mean, can yo send me an email and with pleasure I see if I can give shape to your idea.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

SkayyHH
Veteran Member
Posts: 425
Joined: 2015-04-27 21:18

Re: To Do List plugin

Post by SkayyHH » 2021-02-11 20:06

Hi Alejandro,

thank you for your answer. I will send you an email and try to explain it again in a different way. Maybe with a photoshop example.

Many greetings, Kai

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-02-14 20:23

Hello, the promised is debt.
here I leave you:
New functions!
  • The recycle bin will be accessible.
    • Delete task by task
    • Empty trash
    • Recover any task and your history
  • It will be possible to view the mutations of each one of the tasks (modification history).
    • See all the mutations in your work life.
      • When it is created.
      • When it is transferred.
      • When received.
      • When you change.
      • When it is removed.
      • When it recovers.
      • When complete.
    • This whole story moves with homework, always.
  • Tasks can be transferred to other users.
    • Send and receive tasks between users.
  • Expiration date added.
    • Add and set a due date for your task.
  • Add more information to your task.
[/list]
You can download it by following the initial post.
enjoy it.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

balfons
Veteran Member
Posts: 91
Joined: 2018-10-22 15:27

Re: To Do List plugin

Post by balfons » 2021-02-24 07:49

Hi Alejandro!

Nice plugin, thanks for sharing, I hope we could start using it soon. I was wondering if every task could have a link to the Appgini record related to the task.
For example, you have to start a maintenance action on a specific date, so you create a task in the to do list. And this task includes a link to the record of the AppGini table where you create all the maintenance actions.

Thanks

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-02-24 12:08

balfons wrote:
2021-02-24 07:49
Hi Alejandro!

Nice plugin, thanks for sharing, I hope we could start using it soon. I was wondering if every task could have a link to the Appgini record related to the task.
For example, you have to start a maintenance action on a specific date, so you create a task in the to do list. And this task includes a link to the record of the AppGini table where you create all the maintenance actions.

Thanks
Hello balfons! thanks for using it! Good suggestion! It is possible but I have to make some adjustments in code.
We are in touch.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

hubert
Veteran Member
Posts: 50
Joined: 2018-12-06 22:32

Re: To Do List plugin

Post by hubert » 2021-02-25 08:58

Hi Alejandro,

Just installed your plugin yesterday night and discovering now how it works.
So nice, exactly what was missing to have a note other than on a flying paper ...
I'll add it to my different projects as it's a real help for dev' .
Balfons request is a very good idea indeed, hope you'll be able to launch it.

Thx much for sharing, your plugin should be a commercial low price product to value your work !

Keeping in touch for improvements !

Hubert

hubert
Veteran Member
Posts: 50
Joined: 2018-12-06 22:32

Re: To Do List plugin

Post by hubert » 2021-02-25 14:12

Oh, found something else for your ... todo list !

Seems the plugin is visible for all users, could it be only for admin group as other plugins do (Summary report, SPM ...) ?
Checking the group logged in could be possible and others don't have to know the plugin exists even if they don't see our tasks.

Thx much !

Hubert

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-02-25 15:20

hubert wrote:
2021-02-25 14:12
Oh, found something else for your ... todo list !

Seems the plugin is visible for all users, could it be only for admin group as other plugins do (Summary report, SPM ...) ?
Checking the group logged in could be possible and others don't have to know the plugin exists even if they don't see our tasks.

Thx much !

Hubert
Hello, thanks for your interest, yes, in principle it is available to all users of the system.
I will soon be preparing a configuration window for the Admin where this topic can be configured.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-02-25 15:23

hubert wrote:
2021-02-25 08:58
Hi Alejandro,

Just installed your plugin yesterday night and discovering now how it works.
So nice, exactly what was missing to have a note other than on a flying paper ...
I'll add it to my different projects as it's a real help for dev' .
Balfons request is a very good idea indeed, hope you'll be able to launch it.

Thx much for sharing, your plugin should be a commercial low price product to value your work !

Keeping in touch for improvements !

Hubert
Thank you very much, if you wish you can make a donation to maintain the project or be a sponsor of it to make it a commercial product! send me an email!
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-03-03 23:41

Hello friends, I leave you the new updates.

Check here

New Functions!
  • Each task can now have its own progress
  • Instead of just a text, now you can paste a url and it becomes a link. both in the task and in the description and history of changes.
  • The name of the user is added in the history, it is observed that as the task can travel with its history in this way it can be recognized who has made each update.
  • The icon for editing the detailing is changed.
  • The total tasks are observed in percentage completed.
  • Correction of various minor details.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-03-04 15:13

I leave you a screenshot

Image
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

kerelov
Veteran Member
Posts: 42
Joined: 2020-04-17 21:20
Location: Bulgaria

Re: To Do List plugin

Post by kerelov » 2021-03-06 16:58

Hi,
I have a problem with the tasks saving.
In the moment that the To Do List window is closed all tasks just vanish and the list is empty.
The same happens when I change page navigate in my app.

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-03-06 18:13

hi! check please, if exist the table landini_todo in your database.
if no not exist create it please.
you can find a script file sql.sql that can help you create the table.
There was a bug in the first version I published, which was recently released.

or use the next code to create it in your database with phpmyadmin

Code: Select all

CREATE TABLE `landini_todo` (
  `memberID` VARCHAR(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  `todos` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`memberID`)
) ENGINE = InnoDB;
Please let me know if the problem persist.

regards
Alejandro
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: To Do List plugin

Post by ronwill » 2021-03-22 05:24

I'm getting following error on installing: Warning: dirname() expects exactly 1 parameter, 2 given in C:\xampp\htdocs\0editortest\plugins\sbm_todos-main\01_home.php on line 2
Cheers, Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-03-22 14:33

Hi, that error has to do with the php version.

https://www.php.net/manual/en/function.dirname.php

other post about this issue.

viewtopic.php?f=4&t=1369&start=75#p16518

regards
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: To Do List plugin

Post by ronwill » 2021-03-23 07:00

Hi Alejandro,

I hadn't seen the other post concerning php version... yes locally I am using old version of xampp with v5. php

Love the to-do-list!
Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: To Do List plugin

Post by ronwill » 2021-03-24 23:25

Hi Alejandro,
Having now updated my local xampp + php version, I've installed this To Do List plugin and have to say I'm very impressed/pleased, great work (hope you are working on more goodies!)
Cheers,
Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

User avatar
ronwill
Veteran Member
Posts: 228
Joined: 2015-08-08 10:12
Location: Cheltenham UK +Weatherford USA

Re: To Do List plugin

Post by ronwill » 2021-03-25 12:17

Hi Alejandro,

Minor amendment needed if my logic is right!!
Screenshot 2021-03-25 120556.png
Screenshot 2021-03-25 120556.png (130.15 KiB) Viewed 13878 times
Great work, Ron
Ron - Gloucestershire, UK: AppGini Pro V 23.15 Rev 1484 - LOVING IT!
Plugins: Mass Update + Search Page Maker + Summary Reports + Calendar + Messages
Bizzworxx: AppGiniHelper + Inline Detail View
Alejandro Landini: To-Do List + MPI + TV Field Editor
Other: Udemy Course

User avatar
landinialejandro
AppGini Super Hero
AppGini Super Hero
Posts: 126
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: To Do List plugin

Post by landinialejandro » 2021-03-25 14:05

Hi Ron, very grateful for your comments, I will make an update with what you indicate shortly.

thanks again a big greeting.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.

Some of my posts that may interest you:
:arrow: Landini Admin Template: Template for Appgini like AdminLTE
:arrow: Profile image plugin: add and changue image user profile
:arrow: Field editor in table view: Configurable fast edit fields in TV
:idea: my personal page

pasbonte
Veteran Member
Posts: 162
Joined: 2013-02-06 09:49

Re: To Do List plugin

Post by pasbonte » 2021-04-07 13:18

Bonjour

à l'installation j'ai cela:
Fatal error: Uncaught Error: Call to undefined method AppGiniPlugin::prepare_projects_folder() in /homepages/18/d851957691/htdocs/LOG/plugins/plugins-resources/loader.php:27 Stack trace: #0 /homepages/18/d851957691/htdocs/LOG/plugins/plugins-resources/loader.php(63): load_plugins_resources() #1 /homepages/18/d851957691/htdocs/LOG/plugins/todos/LandiniPlugin.php(7): include('/homepages/18/d...') #2 /homepages/18/d851957691/htdocs/LOG/plugins/todos/header.php(2): include('/homepages/18/d...') #3 /homepages/18/d851957691/htdocs/LOG/plugins/todos/index.php(2): include('/homepages/18/d...') #4 {main} thrown in /homepages/18/d851957691/htdocs/LOG/plugins/plugins-resources/loader.php on line 27

Post Reply