Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to update and modify 3trh party #28

Open
mckaygerhard opened this issue Aug 21, 2020 · 3 comments
Open

how to update and modify 3trh party #28

mckaygerhard opened this issue Aug 21, 2020 · 3 comments

Comments

@mckaygerhard
Copy link

please describe the exact process order to property use the files external like admintlde, ionauth etc.. by example only using bower? or what?

@EzequielGv83
Copy link

Download the lastest AdminLTE and all your plugins (adminLTe come with some of the most used like JQuery Validation)

In libraries there is a file named Template.php, it has two methods admin_render and auth_render (ou can create other renders too).

You gonna load your pages thorough it so it receives your page and will build the Admin intefaces.

He does the method of loading the view and not display it immediately, instead it stores into a data so it can be called at will.

So header,main_header,main_sidebar,control_sidebar,footer are the files you will update, adminLTE site has the snippet for each one of those pages, just update then with bootstrap4 or 5.

The view is created in admin/_templates/template.php and it only echoes the data created/stored in the Library

$this->template['header'] = $this->CI->load->view('admin/_templates/header', $data, TRUE);

if (isset($header)) { echo $header; }

https://adminlte.io/docs/3.0/components/main-header.html

@mckaygerhard
Copy link
Author

interesting.. thanks.. so i will try to document to help this repo project and .. so in fact it does not uses the CI at all.. it prebuild the pages for admin lte..

umm: please @EzequielGv83

  1. so you manually put adminltde theere event have a good process to updated your project files? of adminltde?

  2. for implementation: also there's some way to do something more direct? for implementation

@EzequielGv83
Copy link

https://github.com/EzequielGv83/framework_PMRG/

Check this one, maybe the readme is not in the correct template, i will try to transfer to Code Igniter 4 later but the changes are more critical so i will write one from the scratch. You gonna need database.php and config.php files from CI-AdminLTE and the avatars in uploads because of my gitignore settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants