Jump to content

Recommended Posts

Posted

Hi

This must be a dumb question but I can not change the logo.gif for another gif.

I located logo.gif inside wire/templates-admin/styles/images/logo.gif

and also inside /site/templates/styles/images/logo.gif

When I delete it or replace it with another gif with the same dimensions 179  x 25

the old processwire logo stays showing up.

Do I need to empty a cache somewhere and if so where to do that ?

Posted

I think it's working now. Deleted it inside /site/templates/styles/images/logo.gif

Now it's gone. Don't know why it didn't work before.

Posted

If you have another admin theme than the default, then your logo is in /site/templates-admin/ not /wire/templates-admin/.

Otherwise clear the cache or realod your page 10 times fast :)

  • Like 1
Posted

Yes deleted it inside /site/templates/styles/images/logo.gif and replaced it with another gif

now it's working.

Otherwise clear the cache or realod your page 10 times fast :)

Where to find and how to empty pw cache after doing certain edits ?

Posted

When I was working with modx evo in the past I always had to empty the cache inside the modx evo admin when I changed pictures somewhere in a slideshow. Otherwise the old pictures showed up and not the new ones. Modx evo had a special empty cache button inside the admin. How is this with the cache inside pw ?

Posted

You have already figured this out, however I will post to save others time when dealing with this situation.

 
1. I wouldn't mess with anything in /wire because, as I understand it, /wire gets replaced when your site is updated to a new version of ProcessWire.
 
2. If you are replacing the logo.gif, then you will need to replace it with another file named logo.gif for it to display.  If you don't do that you will need to find all code that references that file and change the name there also.
 
Best Regards,
 
Charles
Posted

When I was working with modx evo in the past I always had to empty the cache inside the modx evo admin when I changed pictures somewhere in a slideshow. Otherwise the old pictures showed up and not the new ones. Modx evo had a special empty cache button inside the admin. How is this with the cache inside pw ?

This is the "modx" internal cache. In Pw, this is compareable with the Template Cache. However, if you have no template cached, then there's no cache to clear in Pw.

But each browser has its own cache to load pages faster. Sometimes when changing assets like CSS, JS, Images etc. it's good to clear the cache to make sure the changes appear.

  • Like 1
Posted

However, if you have no template cached, then there's no cache to clear in Pw.

Are there any settings to activate / deactivate template caching ?

Posted

Yes, you can configure the cache at template level.

The settings are in your template: Setup > Templates > Choose template > Cache

Posted

The settings are in your template: Setup > Templates > Choose template > Cache

I was looking for that. Thanks everybody for the fast help out.

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
  • Recently Browsing   0 members

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