Page 1 of 1

Plugin adminLTE template for Appgini

Posted: 2019-11-18 21:11
by landinialejandro
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!

Re: Plugin adminLTE template for Appgini

Posted: 2019-11-30 11:52
by Moh Youba
Thank you

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-09 00:57
by mramanathan
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

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-09 08:06
by Moh Youba
Hello

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

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-09 14:06
by mramanathan
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.

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-09 14:13
by Moh Youba
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

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-09 23:54
by mramanathan
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

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-10 00:12
by Moh Youba
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,

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-10 11:27
by mramanathan
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.

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-10 19:27
by Moh Youba
ok, thank you for your feedback

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-10 22:38
by mramanathan
Hi Moh Youba,

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

Thank you.

Muru

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-10 23:04
by Moh Youba
I think you can edit that on "myCustom.css" file on the adminLTE folder

Re: Plugin adminLTE template for Appgini

Posted: 2020-01-25 10:22
by mramanathan
Is there any update on the Installation problem?

Re: Plugin adminLTE template for Appgini

Posted: 2020-02-15 08:29
by mcvaidas
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

Re: Plugin adminLTE template for Appgini

Posted: 2020-02-15 10:22
by Moh Youba
Hello

Just downloaded and tested, all is now working fine.

Thanks to all

Regards,

Re: Plugin adminLTE template for Appgini

Posted: 2020-02-28 16:49
by skoch
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

Re: Plugin adminLTE template for Appgini

Posted: 2020-02-28 22:02
by landinialejandro
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.

Re: Plugin adminLTE template for Appgini

Posted: 2020-02-29 07:53
by skoch
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 17328 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

Re: Plugin adminLTE template for Appgini

Posted: 2020-02-29 15:44
by skoch
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

Re: Plugin adminLTE template for Appgini

Posted: 2020-03-31 22:42
by mramanathan
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 12669 times

Re: Plugin adminLTE template for Appgini

Posted: 2020-04-02 15:44
by landinialejandro
hi! i will see this problem.
New version soom.

regards, Alejandro.

Re: Plugin adminLTE template for Appgini

Posted: 2020-04-03 23:20
by landinialejandro
check de new version! :mrgreen:
:arrow: Here!!