Plugin adminLTE template for Appgini

Topics related to AppGini plugins/add-ons go here.
Post Reply
User avatar
landinialejandro
Veteran Member
Posts: 61
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Plugin adminLTE template for Appgini

Post by landinialejandro » 2019-11-18 21:11

Hello! Dear people, I have finally been able to finish the AdminLTE template so that it works like a plugin.

Previously it was just a script to add to the project.

The modifications are important so it is not compatible with the previous version. Anyway there is an open branch in github to continue supporting those who persist with the previous version.

I hope you can enjoy it. Please read the readme, any comments, suggestions or questions will be welcome.
This is a project carried out and delivered as it is, it uses open source libraries and I have dedicated enough time just to enjoy the pleasure of programming and find challenges to overcome.
Use it responsibly and with a minimum of knowledge about its implementation. Since there is no responsibility for the author of this and the libraries included.
There is a folder with screenshots taken on a demo project.

https://github.com/myappgini/lteadmin

how to use:
After completing the compilation of your project, log in as administrator and go to the administrator area. The "Plugins" menu should appear with the "Landini AdminLTE" option. Like the rest of the plugins select the project and then move on. You will be shown a list of the groups that you have configured in your system. In this same screen you can edit all the environment variables and you can choose the icons you want to display in the left menu.

Save and continue.

Select the folder where your project is located and continue. The system will make the necessary changes for its operation. The change log will show you which files were copied and which files were updated. Once finished, you can return to the home page and the temple should already work. It is not necessary to return to the plugin to update the variables, since each time you return the variables it will be rewritten with the default values. Yes it is necessary to reinstall the plugin if a new compilation of your project was necessary. The variables can be updated, by the admin user, from the right control panel. Look for the App Enviroment button.

Enjoy the template and stay tuned for your comments.

Regards!
Alejandro.
AppGini 5.92 - 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

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2019-11-30 11:52

Thank you

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-01-09 00:57

Hi,

I downloaded the adminlte from github in the zip format. The name of the zip is "lteadmin-master.zip". I unzipped the file to see if i could locate a document to read an installation guide but i could not find. Is there a guide for installation. I am not allowed to use GitHub in my office. I have install manually.

Please help. Most appreciated.

Regards,
Muru

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2020-01-09 08:06

Hello

Here the readme file
README.zip
(1.76 KiB) Downloaded 230 times
Regards,

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-01-09 14:06

Hi Moh Youba,

The readme file is already in the github download but that was not useful at all. I am not very familiar with appsgini too. Just bought and trying to get an apps done with it. In the absence of sufficient help on installation, what i did was these:

(1) Unzipped the lteadmin-master.zip from github
(2) copied all folders to the appgini application folder
(3) Started the apps and clicked on of the "Admin Area" menu item.
(4) I selected the Plugin menu and i got the "Landini AdminLte option" as shown in the attached screencap1
(5) On selecting the option, i got a who bunch php errors as in screencap2.

I am using xampp, Php 7.2 and MySQL. Please help with the proper installation procedure. A few of my partners are facing the same problem.

Thank you in advance.
Attachments
screencap2.png
Screencap2
screencap2.png (72.53 KiB) Viewed 10846 times
screencap1.png
Screencap1
screencap1.png (19.92 KiB) Viewed 10846 times

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2020-01-09 14:13

ok before you past adminLTE do you already have one of AppGini official plugin? you first have to have AppGini plugin, then copy adminLTE inside the plugin folder

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-01-09 23:54

Hi Moh Youba,

Thank you so much for your patience and help. As per your advise, I did the following
(1) I generated the Online Clinic Management System (https://bigprof.com/appgini/application ... ent-system)
(2) I installed the AppGiniHelper-InlineDV-Plugin i recently purchased. It creates a plugin folder under the root directory of my apps that i generated using appgini.
(3) Then i copied all the unzipped contents of your AdminLTE plugin into the plugin folder.
(4) When i fired up the apps, i could see the "InlineDV" plugin under plugin menu but could not see the "Landini AdminLte " at all.
(5) Then I reinstalled by apps and AppGiniHelper-InlineDV-Plugin.
(6) This time i copied all the contents from your AdminLTE.zip file to the root directory of my apps.
(7) Now i could see the "Landini AdminLte " option under plugin menu.
(8) However, when i click the plugin i can the same php errors as before.


Do i have to purchase a plugin such as Mass Update from Appgini for your plugin to work. Appreciate a step by step example of the installation. This will greatly help me and many others too.

Regards,
Muru

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2020-01-10 00:12

Hello

Yes I think you have to first purchase official plugin from AppGini since there are some needed file.
First try this old version of adminLTE, I think the new version had a problem since I am also getting an error.

Am not sure, but I think you will need first to have official AppGini plugin

Regards,

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-01-10 11:27

Hi Moh Youba ,

I tried the older version which is R_0_1_0.zip. It appears to work. Only one problem. The login box seems broken. Will wait the fixed new version.

Thank you so much.
Attachments
screencap1.png
Screencap1
screencap1.png (25.4 KiB) Viewed 10816 times

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2020-01-10 19:27

ok, thank you for your feedback

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-01-10 22:38

Hi Moh Youba,

One small help. How do i correct the long white box on the login component?

Thank you.

Muru

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2020-01-10 23:04

I think you can edit that on "myCustom.css" file on the adminLTE folder

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-01-25 10:22

Is there any update on the Installation problem?

mcvaidas
Posts: 2
Joined: 2019-04-14 17:45

Re: Plugin adminLTE template for Appgini

Post by mcvaidas » 2020-02-15 08:29

Change line 8 in login.php to <div class="container">
mramanathan wrote:
2020-01-10 22:38
Hi Moh Youba,

One small help. How do i correct the long white box on the login component?

Thank you.

Muru
Attachments
Screenshot 2020-02-15 at 09.26.10.png
Screenshot 2020-02-15 at 09.26.10.png (55.54 KiB) Viewed 10435 times

Moh Youba
Veteran Member
Posts: 145
Joined: 2017-03-12 09:31

Re: Plugin adminLTE template for Appgini

Post by Moh Youba » 2020-02-15 10:22

Hello

Just downloaded and tested, all is now working fine.

Thanks to all

Regards,

skoch
Posts: 19
Joined: 2020-01-27 14:20

Re: Plugin adminLTE template for Appgini

Post by skoch » 2020-02-28 16:49

Hi there,

I used the adminLTE plugin for my project and after a few adjustments it works wonderfully except for a few small things.

I currently have the following problem:
In the project, the checkboxes were adapted according to the instructions on page viewtopic.php?t=2817. In the normal detailed view, these work as usual ... (see below)
download/file.php?mode=view&id=1382

... but unfortunately not in the modal view of a table, where the linked stylesheet is apparently not found.
download/file.php?mode=view&id=1381

Does anyone have a tip for me?

Regards,
Stefan
Attachments
checkbox_ok.jpg
checkbox_ok.jpg (21.36 KiB) Viewed 10190 times
checkbox_std.jpg
checkbox_std.jpg (16.27 KiB) Viewed 10190 times

User avatar
landinialejandro
Veteran Member
Posts: 61
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: Plugin adminLTE template for Appgini

Post by landinialejandro » 2020-02-28 22:02

skoch wrote:
2020-02-28 16:49
Hi there,

I used the adminLTE plugin for my project and after a few adjustments it works wonderfully except for a few small things.

I currently have the following problem:
In the project, the checkboxes were adapted according to the instructions on page viewtopic.php?t=2817. In the normal detailed view, these work as usual ... (see below)
download/file.php?mode=view&id=1382

... but unfortunately not in the modal view of a table, where the linked stylesheet is apparently not found.
download/file.php?mode=view&id=1381

Does anyone have a tip for me?

Regards,
Stefan
Good afternoon, it must be a problem of the selector used in jquery. You would have to verify the selection code if it also covers when the modal form is opened. Another possibility is that the modal is loaded after the execution of the script, so you would have to call it again.
Alejandro.
AppGini 5.92 - 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

skoch
Posts: 19
Joined: 2020-01-27 14:20

Re: Plugin adminLTE template for Appgini

Post by skoch » 2020-02-29 07:53

Hi there,
if I save the script in the function table_dv of the corresponding table.php in the hooks folder, at least the label is shifted to the left.
The checkbox does not change, however, the class "ckbx-style-8" is not found.
checkbox_label.jpg
checkbox_label.jpg (9.86 KiB) Viewed 10114 times
How can I check the selection code? I'm a beginner, unfortunately.

Here ist the code:

Code: Select all

$j('input[type="checkbox"]').each(function() {
	var input = $j(this),fg = input.closest('.form-group'), right = fg.children('.col-lg-offset-3');
	var container = input.closest('div.checkbox'), oldlabel = container.find('label');
	input.prependTo(right); oldlabel.prependTo(fg).append(' ').addClass('control-label').addClass('col-lg-3').append(container.find('i.glyphicon'));
	container.find('.help-block').prependTo(right); container.remove();
	var newlabel = $j('<label />').attr('value', 0).attr('for', input.attr('id')).css('font-size', '1em');
	right.removeClass('col-lg-offset-3').addClass('ckbx-style-8 ckbx-large').append(newlabel);
 })  
...and die Link, saved in die footer-extra.php:

Code: Select all

<link rel="stylesheet" href="resources/checkboxes/checkboxes.min.css">
Regards,
Stefan

skoch
Posts: 19
Joined: 2020-01-27 14:20

Re: Plugin adminLTE template for Appgini

Post by skoch » 2020-02-29 15:44

Hi there,
i found the solution. As soon as the link has been copied to the header-extra.php in the hooks order, the checkboxes work as desired. The script remains in the table.php in the hooks folder as described above.
The code for the "back-top-top" function must also be copied into the header-extra.php so that this works with adminLTE.
Many thanks for the help! ;)

Regards
Stefan

mramanathan
Posts: 17
Joined: 2020-01-07 15:58

Re: Plugin adminLTE template for Appgini

Post by mramanathan » 2020-03-31 22:42

Hi,

I installed the R1.0.0 and it seems to be working. The current problem i am facing is that the right sidebar keeps popping everywhere (see screencap). Appreciate your help. I am also interested in the new version. Please advise.
sidebar-error.png
sidebar-error.png (20.99 KiB) Viewed 5455 times

User avatar
landinialejandro
Veteran Member
Posts: 61
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: Plugin adminLTE template for Appgini

Post by landinialejandro » 2020-04-02 15:44

hi! i will see this problem.
New version soom.

regards, Alejandro.
Alejandro.
AppGini 5.92 - 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
Veteran Member
Posts: 61
Joined: 2016-03-06 00:59
Location: Argentina
Contact:

Re: Plugin adminLTE template for Appgini

Post by landinialejandro » 2020-04-03 23:20

check de new version! :mrgreen:
:arrow: Here!!
Alejandro.
AppGini 5.92 - 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

Post Reply