1
gridguy
Modifications made to my theme.html arent appearing ?
  • 2003/11/4 4:55

  • gridguy

  • Just popping in

  • Posts: 16

  • Since: 2003/10/30


Newbie question so be gracious....

I am trying to edit the theme.html for a theme i borrowed and trying to change the top navigator bar to match my left nav bar - doh wut a concept...



Home
 • 
FAQ
 • 
News
 • 
Forums
 • 
Directory
 • 
Search



is supposed to give me top horizontal nav bar like:

FAQ News Forums Directory Search

BUT is giving me the OLD one instead:

Home • News • Forum • Download • Search • Gallery

what am I forgetting or doing wrong? Do you have the REFRESH the theme or something ??? I cleared out IE browser cache so its not caching...

Any help appreciated.


2
netwize
Re: Modifications made to my theme.html arent appearing ?
  • 2003/11/4 5:01

  • netwize

  • Just popping in

  • Posts: 89

  • Since: 2002/1/20


in your preference you need to "check" allow update from .html and theme files for it to refresh your updated files, else it will just use those in template.c

3
incama
Re: Modifications made to my theme.html arent appearing ?
  • 2003/11/12 20:19

  • incama

  • Friend of XOOPS

  • Posts: 513

  • Since: 2003/10/24


,....or clear the template_c directory....

4
sunsnapper
Re: Modifications made to my theme.html arent appearing ?

As others mentioned, in System Admin | Preferences there is a setting that you can temporarily set to "yes" to allow changes to your theme directory to take effect immediately.

You should set this back to "no" once you are done with edits and taking the site live.

Also, clearing the files from the templates_c folder is good... these are cached copies of content which may be using the previous format.

However, you may also need to check your style.css file (as well as styleMAC and styleNN) to check your "topnav" class. It may be that the style (bulleted list?) is being set there.

Hope that helps.

5
tklopf
Re: Modifications made to my theme.html arent appearing ?
  • 2003/11/14 22:15

  • tklopf

  • Just popping in

  • Posts: 4

  • Since: 2003/11/14


I'm running XOOPS 2.0.5, and I'm experimenting with creating a module. However, when I make changes to a template, it REALLY isn't changing when I view the page. I deleted the files out of template_c, and also turned on the option in preferences to check for updated files. NOTHING IS WORKING to see these changes, short of uninstalling the module and reinstalling it. Is Smarty caching things somewhere else? Please help

Thanks :)

6
mvandam
Re: Modifications made to my theme.html arent appearing ?
  • 2003/11/14 22:41

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


If I'm having problems, I usually do an 'update' of the module which compiles the new templates. If that fails, I delete the files from templates_c, then immediately do a 'update' of the module again. This has always worked for me. I think this will only work though if you are using the 'default' template set...

7
Per4orm
Re: Modifications made to my theme.html arent appearing ?
  • 2003/11/14 22:45

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


Are you updating the default templates, or have you generated a new set? Any changes you make to the default templates won't be saved, which might explain the problem. If this is the cast then you'll need to generate a new set and make chages to them instead.

8
sunsnapper
Re: Modifications made to my theme.html arent appearing ?

Per4orm is right. If you are trying to edit the default templates, XOOPS won't let you. To generate your own templates that you can then edit, go to
System Admin | Templates
and use the "Clone" option on the default template set.

9
GadgetMn
Re: Modifications made to my theme.html arent appearing ?
  • 2003/11/15 8:03

  • GadgetMn

  • Just popping in

  • Posts: 55

  • Since: 2003/7/15


When you update a template in a module you need to update the module so that it re-imports the changed template from the modules folder.

Xoops does not read the templates from this folder once it has been installed. On the modules page in admin, the first icon in the far right-hand column is update.

If you are then working from your own template set you will need to either re-generate the templates for the module or simply update the module in that template set.

Hope the helps,

GadgetMn

10
BradM
Re: Modifications made to my theme.html arent appearing ?
  • 2003/12/6 10:14

  • BradM

  • Just popping in

  • Posts: 78

  • Since: 2003/8/14


This one drove me nuts too, but I figured out what I did wrong.

When I copied the existing "default" theme into my new theme, I forgot to make an important change: within the theme.html file, there are 5 references to the theme directory name.

So just change these instances of "default/" to whatever your new theme directory is called, and that should do it.


Brad

Login

Who's Online

294 user(s) are online (243 user(s) are browsing Support Forums)


Members: 0


Guests: 294


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