Post by EMGX » Wed Nov 17, 2021 3:38 am

Hi everybody!

I am happy to announce a free, very simple but useful extension, which is an extension to manage tasks on your admin dashboard. I might expand this with more functionality in the future, perhaps even to create task groups and other useful things. This depends on whether I get requests from people who have downloaded the extension. I'm seriously considering every suggestion, but for now... If you think this is useful for you, download it for free in OpenCart marketplace ;D

OpenCart Marketplace: Admin Dashboard Tasks 3.X (free)

Active Member

Posts

Joined
Sun Jan 26, 2020 9:46 pm

Post by xxvirusxx » Wed Nov 17, 2021 4:02 pm

Interesting, but I think is better to change date time to click, is more easy for others.

Change this

Code: Select all

<input type="datetime" name="dashboard_task_deadline_add" placeholder="{{ entry_task_deadline }}" id="input-task-deadline-add" class="form-control" />
In to:

Code: Select all

<div class="input-group datetime">
	<input type="datetime" name="dashboard_task_deadline_add" placeholder="{{ entry_task_deadline }}" data-date-format="YYYY-MM-DD HH:mm" id="input-task-deadline-add" class="form-control" /> 
	<span class="input-group-btn"><button class="btn btn-default" type="button"><i class="fa fa-calendar"></i></button></span>
</div>
and add

Code: Select all

  $('.datetime').datetimepicker({
	  language: '{{ datepicker }}',
	  pickDate: true,
	  pickTime: true
  });

Attachments

datetime_tasks.png

datetime_tasks.png (70.15 KiB) Viewed 1339 times


Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by EMGX » Wed Nov 17, 2021 5:04 pm

xxvirusxx wrote:
Wed Nov 17, 2021 4:02 pm
Interesting, but I think is better to change date time to click, is more easy for others.
Many thanks, that is indeed easier! I've changed it immediately :) I might also change the deadline display soon, to display a number of days/weeks until the deadline passes. It still needs some work.

Active Member

Posts

Joined
Sun Jan 26, 2020 9:46 pm
Who is online

Users browsing this forum: No registered users and 4 guests