Jump to content

Image cache management area?


luzmartinez
 Share

Recommended Posts

I installed the new reno admin theme and I want to change the admin logo. If I change the logo inside the site / modules / AdminTheneReno / styles / images / logo.png in my local machine works great! But when I try to do on the remote server it seems not working, the same for the image inside my custome page "instruction.php" I just overwrite the "processwire" icon with other .png files

The problem is on my remote server?

Link to comment
Share on other sites

I cannot find the topic dealing with this issue but as far as I recall in PW 3.x it no longer works as it used to be. I just used a JS hack:

//replacing the logo:
var logo_o = $("#branding #logo");
logo_o.attr("href", "/");
var innerHtml_str = logo_o.html();
var updated_str = innerHtml_str.replace("/wire/modules/AdminTheme/AdminThemeReno/styles/images/", "/site/templates/admin/"); //path to dir containg my logo
logo_o.html(updated_str);
logo_o.show(); //initially made hidden with display: none; so we need to turn it on. This is to prevent flashing.

I also use a css rule to hide the logo initially otherwise it flashes once (see last line in JS above)

There are various ways to add css/js to the admin, eg some:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...