1
darkeel
theme.html edited but changes do not apply after upload
  • 2004/4/7 2:35

  • darkeel

  • Just popping in

  • Posts: 5

  • Since: 2004/4/7 2


Hey Xoopers

I can find my way around XOOPS structure most of the time. But now I am stuck.

When I go to xoopsrooth/themes/mytheme/ and select theme.html, I make change to this file and put it back where I found it.

Then I visit my website and reload it to see my changes but no changes show up. Everything is as it was before I edited the theme.html.

My site: http://pixelgravity.net/pixel

Try looking at the header bottom-right corner. It will say Register-Login. I have changed Register to Regist in theme.html but as you can see it is not changed.

Could there be something else I must do?

Your help is very much appreciated.

2
HughG
Re: theme.html edited but changes do not apply after upload
  • 2004/4/7 2:46

  • HughG

  • Not too shy to talk

  • Posts: 124

  • Since: 2003/2/21


admin > system > prefs > general settings

Resized Image

3
darkeel
Re: theme.html edited but changes do not apply after upload
  • 2004/4/7 3:59

  • darkeel

  • Just popping in

  • Posts: 5

  • Since: 2004/4/7 2


You are ready to tackle newbie questions

Many thanks!!!

Now I have tried to modify module templates such as modules > mydownloads > templates > mydownloads_index.html

And again my changes do not apply. I have still had the above option (to update theme.html) on. How can these changes take effect?

4
kahumbu
Re: theme.html edited but changes do not apply after upload
  • 2004/4/7 5:56

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Clone the default template set first in Sys Admin -> Templates. It is advisable to name your clone after the theme it will be used with. Generate the template HTML files once clone is available.

Then go to the page above and set the new template set as the default template set (see last row in picture above).

5
Mithrandir
Re: theme.html edited but changes do not apply after upload

HughG's setting is for theme changes (general layout and CSS)
For template changes (i.e. the actual content) you'll need to either do as kahumbu says or if you make changes and then upload them to the server, you'll need to update the module through modules admin.

6
darkeel
Re: theme.html edited but changes do not apply after upload
  • 2004/4/7 14:45

  • darkeel

  • Just popping in

  • Posts: 5

  • Since: 2004/4/7 2


Alright coolers

It worked out fine. But the process is monotonous. Why didn't you advise me to got to Admin > Templates > and then from my default template edit each module's .html files? Or did you Mithrandir explain that in your post? Its much simpler.

Thanks for all your help

7
Mithrandir
Re: theme.html edited but changes do not apply after upload

Because there is a difference between Themes and Templates

Themes hold the overall structure, css and block placement and layout, whereas Templates hold the content with tables etc.

Templates are editable through administration menu, themes are not.

8
darkeel
Re: theme.html edited but changes do not apply after upload
  • 2004/4/7 21:54

  • darkeel

  • Just popping in

  • Posts: 5

  • Since: 2004/4/7 2


Yes, a mistake on my part.




9
Alan-A
Re: theme.html edited but changes do not apply after upload
  • 2004/4/29 12:06

  • Alan-A

  • Not too shy to talk

  • Posts: 191

  • Since: 2004/2/17


Hi,

I'm new to Xoops, templates and php but if I understand the way XOOPS works correctly, then there is an important difference between changing template files using an editor & uploading, and working with the admin/templates option.

Changes made using the admin option are saved in the databank and can only be backed up when the databank is backed up. On the other hand, changes made using an editor & upload are easier to backup and to reuse elsewhere.

Am I right?

Alan

Login

Who's Online

949 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 949


more...

Donat-O-Meter

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

Latest GitHub Commits