1
dukehen
Changes not taking effect in theme.html
  • 2003/12/12 14:02

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Hello all,

I recently made two new images for a theme I downloaded, some jpg's whereas the default template uses gif's.

Anyway, I went into theme.html and changed this code to reflect the change:

<td width="11"><img src="<{$xoops_imageurl}>leftheader.gif" width="11" height="121"></td>

became

<td width="11"><img src="<{$xoops_imageurl}>leftheader.jpg" width="11" height="121"></td>

and

<td id="headerlogo" width="400"><img src="<{$xoops_imageurl}>logo.gif" width="400" height="121" ></td>

became

<td id="headerlogo" width="400"><img src="<{$xoops_imageurl}>logo.jpg" width="400" height="121" ></td>

Now, the old image was located in /themes/themename/ and so I uploaded the new jpg in that directory. However, I don't think the problem is that the jpg doesn't exist, because I changed some text on the theme.html file just to see if it would reflect the changes, and nothing...

So, I am guessing that the theme.html file in the specific theme directory is being overrode somewhere else. Anyone know if I am on the right track?

Thanks!

2
Mithrandir
Re: Changes not taking effect in theme.html

Updated the System module?

Administration Menu -> System Admin -> Modules -> System (Update image) -> Yes

3
CBlue
Re: Changes not taking effect in theme.html

If that don't work, delete all the files (except index.html) from your templates_c folder. The theme.html file gets saved into that folder and any changes you do on the file in your theme folder won't reflect until you get rid of the theme files in the templates_c folder.

4
dukehen
Re: Changes not taking effect in theme.html
  • 2003/12/12 17:38

  • dukehen

  • Just popping in

  • Posts: 91

  • Since: 2003/12/9


Thanks CBLUE. I looked in templates_c and sure enough found a file called templatename_index.html. So, I deleted the one file, and refreshed - sure enough it works like a dream now.

Thanks again for the help - it is greatly appreciated!

5
CBlue
Re: Changes not taking effect in theme.html

You're welcome dukehen! Glad I could help you!

Login

Who's Online

229 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

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

Latest GitHub Commits