smartfaq
SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

Ive modified my theme, but why cant I see the changes?
Requested and Answered by Carnuke on 2004/10/29 13:47:12 (15599 reads)
The chances are that all your modifications are there but the reason for not seeing them is because your browser is still seeing the old version. After making changes to a theme, you should always carry out the following:

1- be sure that you set "Update module template .html files from themes/your theme/templates directory?" to "YES" in General Settings!
2- Delete all the files (except any index file) in the templates_c folder in the root of your site.
3- Configure your browser to always look for a new version of a website, or
4- Delete all your browsers cached files.
5- Refresh your browser and visit your pages again.

This nearly always remedies the problem. If your changes are still not visible, then it's time to re-check your work.


The comments are owned by the author. We aren't responsible for their content.
  • Quite a regular

 Display of theme updates

thanks for the great process description. works like a charm.

 
  • Just popping in

 thnx

thnx for your help i did go for the templates but not for the themes...i'll try to load some themes to look if i can see the difference.

 
  • Quite a regular

 problem solved

I solved this problem by updating my module in admin>modules>update After that, the template changes were reflected perfectly

 
  • Just popping in

 One more thing

I tried all the above suggestions, but I still couldn't get my additions to show on the module index page.

I have been using my website cPanel "file manager" or Dreamweaver to play with the files. And they were working before. But wouldn't this time.

Then I remembered that a few hours before, I clicked generate templates for this module in my admin>templates manager area.

So I tryed to add my changes with the "edit" template, in the template manager area. BINGO, first try and the changes were there finnally. It took me a hour to figure this out.

Apparently after you generate the templates in the template manager, you have to edit the templates in there also.

If I am incorrect, please say so. But this is the conclusion I just came to.

Later,
Rob

 
  • XOOPS is my life!

 Re: One more thing

If you change the physical files, only the default template set is updated on module update.

It would kindof defeat the purpose if your customised templates were overwritten every time you updated a module.

 
  • Just popping in

 Re: One more thing

well done all of the above and failed to see any changes on my index file. As for deleting the files in the template_c folder forget about it, after doing so all you'll get is a blank page.
Out of clues in here

 
  • Not too shy to talk

 Don't delete index file?

Being tired, I just deleted everything from templates_c. What is the 'index file'?
Ta

 
  • XOOPS is my life!

 Re: Don't delete index file?

There's an index.html file in the templates_c folder, that protects the folder contents from being listed in a browser, as an added security precaution. If you remove that, your folder contents is open to the world to browse through (and maybe take advantage of).

Herko

 
  • Just popping in

 Still nothing...

I don't have that first step's option.

Only thing I have is "Check Templates for Modifications?" I figured this to be what I need and have it clicked to yes.

I went through and followed the steps, even deleted the .html theme files I tried to update and left them off the server, but when I refresh, they are STILL there!

 
  • Friend of XOOPS

 Re: Still nothing...

did u empty the templates_c folder?

 
  • Just popping in

 Re: Still nothing...

I sure did, however someone may have been on the site as I was doing it. Could that cause the problem? Should I maybe turn the site off for a few seconds while I do this?

 
  • Just popping in

 *sigh*

No dice :(

What could be causing this?

 
  • Just popping in

 Re: *sigh*

Fixed it. For some reason, the theme includes weren't dynamic, they were pointing to an old file...now if I can figure out why everything in IE is centered instead of Left align like in Firefox

 
  • Home away from home

 Re: *sigh*

Check again

1- delete All files in browser's cache
2- Make sure update theme files is set to yes in admin
3- Delete all files in templates_c
4- Check your theme file is CORRECT for what you expect to find displayed.

 
  • Home away from home

 Re: *sigh*

Smile ... it's a good learning curve