[SOLVED] How do I change the logo?

Post

Posted
Rating:
#2524 (In Topic #462)
Avatar
Standard member
mythus is in the usergroup ‘Community saint’
For what should be a very simple thing, I am constantly hitting a brick wall. How do I change the logo to one that I upload?

I have tried uploading the logo in "Manage Images" for my theme and selecting them. Nope.

I have tried changing the logo in the global wrappers template file, using a relative path since I'm in a temporary working directory and will be moving the site to a different directory when done, won't take it.

I've tried simply replacing the ~logo.png and standalone_logo.png with my logo (renaming it as such). It just decides to use another bloody default generated logo instead of mine, while laughing at me.

I swear, this was much easier before. Now I feel like an idiot, like I should just throw away my degrees because I obviously can't do the simple task of changing a logo.

Ok, small rant aside, this should be made so much easier, and I feel like it used to be easier.... What am I doing wrong? Where do I go to chan

Last edit: by mythus



Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
#2525
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
So breaking this down to very simple terms…

You replaced the on-disk file that is being referenced by the current URL used in the HTML, and it still didn't change?

If so, this suggests a browser cache, or reverse-proxy cache, which has saved the old file.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2526
Avatar
Standard member
mythus is in the usergroup ‘Community saint’
It's not a browser cache as I have been purposefully clearing it. Vivaldi makes doing so fairly simple. 

I've also been using the website cleanup tools to clear template and theme image caches in the site. 

Still, it keeps the auto generated image. Here's the fun bit, it is not the auto-generate image that came with the theme when generated with the theme wizard. Instead, when I tried to get smart and change replace the logo it wanted to use with mine, changing the logo name to match and removing that logo (rewriting as ~logobak for example), it simply changed the logo to yet another pre-generated logo. Anything it could do to keep me from using my logo is what it did. I've seen 6 pre-generated logos already trying to get it to use my logo.

Aggrivated? Yup. Mainly because I don't know why it is doing this and how to get it to listen to me. I was able to change the background pic just fine. But the logo….

Here's some fun screenshots, hopefully they will be able to demonstrate for you where my words have failed to do so.

Screenshot from 2017-04-23 10-47-40.png Screenshot from 2017-04-23 10-49-08.png Screenshot from 2017-04-23 10-50-31.png

The first shows the Vivaldi inspector tool and the ftp of the images folder that the logo image name matches but the logo is instead some pre generated logo. 

The Second shows that I've uploaded this to logo (my logo image) and despite the fact that I've selected it, after saving it deselects them all.

The third is where I went in to the template file and changed it, but no luck. 


Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
#2527
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

It's hard to follow this topic, as you're talking about a few different things you tried, in a little bit of detail, and weaving between.

It would be easier just to see one fully described process you followed, what happened, and what was expected.
Although it's difficult now as your site is in a complex state with various theme images uploaded.

That said, the FTP screen shows you in images, not in images_custom. Additionally, the listing of theme images screenshot shows an image added named ~logo (i.e. a "~", not a "-"). Now it might be that's some kind of coincidence, but to me it looks like a typo.

Were you trying to add a new theme image with the same name as the logo theme image, as opposed to editing the existing logo theme image? I ran a test earlier and it seemed normal enough.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#2528
Avatar
Standard member
mythus is in the usergroup ‘Community saint’
I was/am trying to replace the existing theme image. ~ and - look far too similar now days it seems. I must be getting old…

I'm trying now to rename my logo as -logo.png in images_custom. It is taking forever to accept that change… I've just recently renamed the original -logo as -logobak so that it doesn't get lost.

What I have tried: I'll try to make this clearer. No promises.
First I went to my theme "ablution" and clicked on manage theme images.
I then uploaded my logo (lofnsliplogo.png) to it as logo/lofnsliplogo as the instructions state.
I clicked the bubble next to the newly uploaded logo and hit save, expecting the logo to change. It did not.
I cleaned out my browser caches and used website cleaning tools. No change.

I then tried to do the renaming bit in ftp, using of course ~ instead of - because my eyes are lying to me. Of course, that did not work.

I tried to force the change via editing the global wrappers template. In it I changed the logo that was set to standalone_logo to lofnsliplogo. I cleared caches and used website tools to clear caches. I expected to see my logo, instead I saw a new pregenerated logo.

I've been fooling around with doing the last few things, rinse and repeating, with no luck. Now I am trying to change ~ to -logo. Here's hoping that works.

But in the meantime, why do / would I need to do that? Why won't the site let me just edit the logo bit in global wrappers, and show my logo? Even moving my logo to image_custom does nothing there. It is stuck on -logo.png when I want it to use lofnsliplogo.png.


Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
#2529
Avatar
Standard member
mythus is in the usergroup ‘Community saint’
I finally got it to work.

What I was doing wrong: yes I'm big enough to admit where I was doing something wrong…
I was trying to upload a whole new image (lofnsliplogo.png) for the logo.

What Composr expects:

You to edit the existing image using Manage Images, and edit -logo to replace the image it was calling and upload a new image.

I think I remember that ocPortal worked this way too…

IMO it should be possible to do it the way I was doing it, but at least I finally figured it out (or remembered something?).


Like ocPortal? Want to thank Chris and gang somehow? Then help out in the chat room! It really needs your help! Just open it in a tab everytime you open your web browser, and when you hear a "ding", check it out!
 
"Those who want help should first be willing to give help."
Online now: No Back to the top

Post

Posted
Rating:
#2533
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ok, glad we got it sorted.

For the next patch release I've added some extra descriptive text at the top of the add theme image screen to make its purpose clear.

For the record -logo means the welcome zone's logo (i.e. root zone, i.e. zone with a blank codename). As Composr doesn't by default have per-zone logos like ocPortal did, it is used everywhere.

When you added another theme image under "logo/", it doesn't really mean anything, other than that being its path. So that's why nothing really happen. It's just like folders really.

Regarding the template edit, our default code {$?*,{$MOBILE},{$IMG,logo/standalone_logo},{$LOGO_URL}} was probably a bit too hard to really workout how to modify. You could have replaced all that with {$IMG,logo/lofnsliplogo} I think though.

I've been fooling around with doing the last few things, rinse and repeating, with no luck. Now I am trying to change ~ to -logo. Here's hoping that works.

Asking questions earlier is good, there's no shame in having queries. It also helps me keep tweaking the UI and documentation based on what I see people stumble upon.
I also makes things more straight-forward to answer as there's no tangled web of edits to try and reverse-engineer in my mind ;).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Salman, amit.nigam, babu, gabriel58, ManojSree, Vaiva, MVLipwig

Forum statistics:
  • 1,296 topics, 5,829 posts, 7,064 members
  • Our newest member is flour2door
Birthdays:
Back to Top