1
Ace_Armstrong
Help! Template not updating!

I am experiencing a weird issue. I wanted to modify the login page (the one loaded by user.php if you have not logged in yet), so here's what I did:

1. I edited the file system_userform.html in "modules/system/templates/" to include the new information.

2. I deleted all of the files in "templates_c"

3. I went to the modules control panel and updated the system module.

4. With a different browser (so that I wouldn't still appear logged in), I went to the user.php page.

Here was the result I got:

The form remained unchanged (i.e., had none of my edits), and the file created in templates_c was dated February 10, 2004.

Is there something I am missing here?

2
Herko
Re: Help! Template not updating!
  • 2004/7/12 11:33

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Templates_c gets it's files from the db. It's better to edit the file in the db (using the template editor), then doing it the physical way.

Herko

3
Bassman
Re: Help! Template not updating!
  • 2004/7/12 11:35

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


AFAIK you can't edit the default template set, you have to clone it and edit the cloned set.

4
Ace_Armstrong
Re: Help! Template not updating!

Quote:

Herko Coomans wrote:
Templates_c gets it's files from the db. It's better to edit the file in the db (using the template editor), then doing it the physical way.

Herko


Okay, more weirdness.

I could SWEAR that it did not appear in the system template list before, but suddenly there it is!

Have you been sneaking into my server and playing with things?

Thanks, Herko!

5
Ace_Armstrong
Re: Help! Template not updating!

Quote:

Bassman wrote:
AFAIK you can't edit the default template set, you have to clone it and edit the cloned set.


This is a cloned template set that I am editing.

6
Herko
Re: Help! Template not updating!
  • 2004/7/12 11:49

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


me!? sneaking into your server!? why, I'd never...! (apparent outward innocence)



Herko

Login

Who's Online

246 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

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

Latest GitHub Commits