1
yukimi
theme.html not executing correctly
  • 2006/11/14 9:08

  • yukimi

  • Just popping in

  • Posts: 2

  • Since: 2006/11/14


Hi, i've installed XOOPS and I'm now trying to modify the layout of the main page. Please correct me if I'm wrong. I navigate to xoops/themes/default/theme.html and I try to modify the header logo size. Initially, this is the code in theme.html:



<{$xoops_banner}>


I change the width and height both to 40. I save the file and reload my main page. Nothing changes. Even if I deleted theme.html, I still can see my main page displayed nicely. Hence, I try delete the xoops/themes/default/style.css file and I reload my main page again. The layout changes as expected. My problem here is how to change the header logo if not in theme.html? If I want to change other layout of this main page, do I edit theme.html or other file?

Please enlighten me.
Thank you.

2
christian
Re: theme.html not executing correctly
  • 2006/11/14 9:14

  • christian

  • Just can't stay away

  • Posts: 401

  • Since: 2002/2/24


Answer in Faq

Quote:

Go to Administration > System Admin > Preferences > General Settings. . Set "Update module template .html files from themes/your theme/templates directory?" to YES. This setting is important because it is the only way that XOOPS will reload the 'new' css and html code, so you can 'test' your changes 'on the fly'.

3
BDW
Re: theme.html not executing correctly
  • 2006/11/15 10:36

  • BDW

  • Quite a regular

  • Posts: 280

  • Since: 2002/9/28


Or

Administration > System Admin > Preferences > General Settings

Set Check templates for modifications ? to yes

Me personally I dont like to set the width and height of the logo by using HTML. I prefer to resize the logo using paint shop pro as changing the size of the logo using HTML can make the logo look horrible depending on the size. Not only that resizing using an image editor to a smaller image can also save space (albeit a small amount) on the server and can speed up load times.

Login

Who's Online

482 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 482


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