1
dfzor
Theme.html being re-written upon server-side execution?
  • 2004/5/6 17:20

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


So I'm trying to edit the phpkaox theme.html file, I go in and replace the current file with my edited one, which is as follows:

Quote:














<{$xoops_sitename}> - <{$xoops_pagetitle}>











<{$xoops_contents}>
















Now the changes are uploaded, file is overwritten, then I go to view my new page and the code is gimped, as is it in the theme.html file, it gets turned into this:

Quote:














<{$xoops_sitename}> - <{$xoops_pagetitle}>


















<{$xoops_sitename}> - <{$xoops_pagetitle}>











<{$xoops_contents}>


















Take note that the javascript reference I had removed is now back, there are way too many tags, tags, basically it's ignoring everything I just changed and reverting back to its old self with my changes appended at the very bottom - doing all of nothing.

Now why is XOOPS re-coding the theme file?

2
Herko
Re: Theme.html being re-written upon server-side execution?
  • 2004/5/6 17:40

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


XOOPS can't rewrite the theme.html file (by default, that file isn't even writable by the system). I think you're looking at another theme, or a cached version of it. Make sure your theme is selectable from the themes list, and that you update the template files (both settings can be found at system admin -> preferences -> general settings).

Herko

3
Mithrandir
Re: Theme.html being re-written upon server-side execution?

right - when you change the theme.html file, you need to turn on the "Update module templates from themes/yourtheme folder" setting in general preferences.

Once the theme.html is to your liking, turn the setting off again.

4
dfzor
Re: Theme.html being re-written upon server-side execution?
  • 2004/5/6 21:00

  • dfzor

  • Just popping in

  • Posts: 9

  • Since: 2004/5/6 0


Ohhh - much appreciated.

Login

Who's Online

413 user(s) are online (267 user(s) are browsing Support Forums)


Members: 0


Guests: 413


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