Hello, anyone,
I'm trying to figure out a way to add my logo with my link to my site to the admin login page. (see attached as an example)
Can't seem to find anyone that has created an extension for it.
I tried to enter php and html coding to the index.php and the config.php but doesn't seem to work.
I am using Opencart version 3.0.36
Does anyone know how to do this?
admin > view > template > common > login.twig
You should do it with an OCMod ideally. It is very easy.
I made you an OCMod, just need the file path and file name for the logo image to add to the install.xml or you can do that yourself if you know how.
There was an error in the first file so I changed it. This will add the opencart logo as a demo
You should do it with an OCMod ideally. It is very easy.
I made you an OCMod, just need the file path and file name for the logo image to add to the install.xml or you can do that yourself if you know how.
There was an error in the first file so I changed it. This will add the opencart logo as a demo
Great thank you for the file. It didn't quite work exactly as I wanted but alot closer than I was.
So I added it to the login.twig file on the install.xml file within the zip file and with some tweaking I got it to work perfectly.
I added this on the login.twig file starting on line 6:
<div align="center" style="margin:auto;padding:0px;"><a href="https://domain.com"><img src="view/image/xxx.png" width="300px" height="100px"></a></div>
Thank you for the information.
So I added it to the login.twig file on the install.xml file within the zip file and with some tweaking I got it to work perfectly.
I added this on the login.twig file starting on line 6:
<div align="center" style="margin:auto;padding:0px;"><a href="https://domain.com"><img src="view/image/xxx.png" width="300px" height="100px"></a></div>
Thank you for the information.
GOTO >> admin/view/template/common/login.twig
<img src="view/image/logo.png" alt="{{ heading_title }}" title="{{ heading_title }}" />
Add this code After <div class="col-sm-offset-4 col-sm-4"> this
<img src="view/image/logo.png" alt="{{ heading_title }}" title="{{ heading_title }}" />
Add this code After <div class="col-sm-offset-4 col-sm-4"> this
If you don't know enough to do something this simple you really shouldn't bother trying to re-brand OpenCart as your own system.rvjventures wrote: ↑Thu Dec 09, 2021 6:00 amI'm trying to figure out a way to add my logo with my link to my site to the admin login page.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: JessiesBoutique, SelfSus, softmonke, systemmaker, tilly and 521 guests