1
andersa
How do I change the xoops logo on my site?
  • 2004/5/29 11:45

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


I want to replace the XOOPS logo with my own png logo, how do I do that?

I tried reading the wiki, but I must say the documentation mostly told me things I didn't want to know. The Theme Developers Guide is cramed full of site design theory, but has seemingly no practical information on how to go about changing your site. For instance there is a lot of theoretical info on how themes and templates are linked together, but after reading it, I am still no closer to figuring out how to customize the look and feel of my site. I have no need to know that 'smarty', whatever that is, is the hottest thing since boiled eggs. It doesn't help me customize my site.

I really see the need for more basic newbie docs. Like how do I change the graphics, and colors.

What parts of the site can I change from the system administration interface, and what parts of the site do I have to change by editing files manually? Can I use the build in editors for eveything or do I need access to the actual files via ftp for instance?

Anders E. Andersen

2
limecity
Re: How do I change the xoops logo on my site?
  • 2004/5/29 11:58

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


ALl you need to do now is explore the THEME folder inside your xoops..

then you see how things goes...

just open up the folder..THEME


3
andersa
Re: How do I change the xoops logo on my site?
  • 2004/5/29 12:46

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


Funny. That was what I initially tried, but I couldn't change the logo by editing the theme.html file. Now I replaced the folder with a backup and changed the file again, but this time it did work?!

Then I changed the size of the logo by removing the custom size tags, but the size didn't change. Previously I had cloned the templates, and changed to the cloned version. I changed it back to the original, and when I reloaded the page the size was changed.

Is the theme cached somehow? Can I turn of the caching? I presume the above change in size didn't have anything to do with templete set change and that the delay was caused by caching of the page.

Could the caching be caused by an internal apache server setting?

Thanks for helping.

4
Mithrandir
Re: How do I change the xoops logo on my site?

root/themes/themename/theme.html has the general layout for a site with headers, footers, block positioning and CSS styles.

Changes made to the theme.html will not update until you put on the setting in system admin -> preferences -> general settings called "Update module templates from themes/yourtheme folder" (yes, I know, has nothing to do with module templates, but it works nevertheless) OR by clearing the files apart from index.html in root/templates_c

The reason for this is that on first invoke of the theme.html, it is compiled to normal PHP code, which will be used from that point (see how handy it is to know what Smarty is? )

This is not to be mistaken for templates, which control the individual blocks and module output contents and are stored in the database and thus can be edited through the administration menu -> system admin -> templates.

5
andersa
Re: How do I change the xoops logo on my site?
  • 2004/5/29 13:45

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


I found that setting and tried it before you replied, because it looked like it might have something to do with some caching. So I got it working.

I still don't think it is any use to know what smarty is. All I really need to know is something like: "Your theme needs to be recompiled if you change it. To do that enable this option. And remember to disable it when you activate your site, so it isn't recompiled every time a page is loaded."

And like you point out the theme templates are easily confused with the module templates. It is important to choose the wording carefully in the documentation.

I must say I selected XOOPS because of all the CMSs I have tried it is so far the easiest to configure by far. But still there is a few 'gotchas' it seems.

6
Mithrandir
Re: How do I change the xoops logo on my site?

Smarty is a very important aspect of the visual XOOPS and understanding what a theme is and how it works in order to change it, I think.

In the user guide, there is an item
"8.6.1 I changed the theme but my changes don't appear", which simply says:
"If you are trying to edit the theme.html in your themes folder and nothing seems to be changed, be sure that you set "Update module template .html files from themes/your theme/templates directory?" to "YES" in General Settings!"

7
andersa
Re: How do I change the xoops logo on my site?
  • 2004/5/29 15:52

  • andersa

  • Just popping in

  • Posts: 45

  • Since: 2004/5/27


Hmm.. I think that should be in section 3.4.1.

8
Chappy
Re: How do I change the xoops logo on my site?
  • 2004/5/29 18:41

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


Or, of course, you could always do a search for "logo" in the search bar right on the home page. Save an awful lot of keystrokes...

Login

Who's Online

265 user(s) are online (197 user(s) are browsing Support Forums)


Members: 0


Guests: 265


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits