1
FthrJACK
Theme.html not updating?
  • 2005/12/6 22:37

  • FthrJACK

  • Just popping in

  • Posts: 5

  • Since: 2005/12/6


Hi, scuse my complete nublyness if this has been asked before.. i did search however.

i am trying to update the theme.html file. Now im new to XOOPS so still figuring out how everything works etc .. maybe i missed something.

i edit the theme.html file.. upload it to webspace, and refresh the site.. no change. even clear cache and try again, no change. then went to another pc thats never loaded the site before.. no change. i look at the page souce and sure enough the old theme.html code is there, im trying to get the logo at the top of my site to siplay properly but it just shows it as a 148X 80X px image. lines of code i removed.. including the banner html, are still showing when i do view source on the site.

Any ideas? the theme.html file im overwritting is in
/xoops/themes/default/theme.html

ive edited the css file and that updates no problem..

logo bit as in MY theme file:

<div class="wrapper">
          <
table class="toptable" cellspacing="0">
            <
tr>
              <
td align="center" id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.gif" alt="<{$smarty.const._YOURHOME}>"  title="<{$smarty.const._YOURHOME}>" /></a></td>
              </
tr>
            <
tr>
              <
td id="headerbar">
                    <{include 
file="default/navigation/theme_usernav.html"}>
                </
td>
            </
tr>
          </
table>


And as rendered by the server:

<div class="wrapper">
          <
table class="toptable" cellspacing="0">
            <
tr>
              <
td id="headerlogo"><a href="http://www.fallen-legion.net/xoops/"><img src="http://www.fallen-legion.net/xoops/themes/default/images/logo.gif" [b]width="148" height="80"[/btitle="Home Page" alt="Home Page" /></a></td>
              [
b]<td id="headerbanner">&#160;</td>[/b]
            
</tr>
            <
tr>

              <
td id="headerbar" colspan="2">



What am i missing!? (other than a few brain cells!)

2
dickinsd
Re: Theme.html not updating?
  • 2005/12/6 22:49

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


In admin, preferences, general preferences/settings you find Update module template .html files from themes/your theme/templates directory? I find changing this to yes and then click submit 'loads' any changes you have made to the theme.html

However I am not sure if this is the correct use of this feature as it seems as though it is for doing something to do with templates, but seems to make the changes for me.

When you've finished playing, just set it back to no

Dave

3
FthrJACK
Re: Theme.html not updating?
  • 2005/12/6 22:56

  • FthrJACK

  • Just popping in

  • Posts: 5

  • Since: 2005/12/6


Thanks! worked a treat. i even deleted the #OOPS# file and replaced it at one point and it still rendered the old version!

Worked a treat now, thankyou!

4
limap5
Re: Theme.html not updating?
  • 2005/12/7 4:46

  • limap5

  • Just popping in

  • Posts: 27

  • Since: 2005/12/6


yeah.. work for me too.. i have trying to update..but nothing change... this treat really works thank!

5
nshlan
Re: Theme.html not updating?
  • 2005/12/29 1:52

  • nshlan

  • Just popping in

  • Posts: 13

  • Since: 2005/12/17


I too am having this issue but I've already tried enabling the theme template file update option specified above. Are there any other possibilities? I have verified that the server has read access to the new theme.html file.

6
hardyvoje
Re: Theme.html not updating?
  • 2005/12/29 7:30

  • hardyvoje

  • Not too shy to talk

  • Posts: 123

  • Since: 2005/12/25


I'm having same problem, but i've invoked it by uploading every time theme into new folder and then selecting it in system preferences.... , next time you can upload it on folder used step before, that means that you have to use two folders for theme that you are changing, and every time use another one...

it was my, not so happy, but working solution.
FreeResources Design Portal:http://www.omnetwork.net | Open Source Gaming Portal:http://www.osgamer.org

7
philou
Re: Theme.html not updating?
  • 2005/12/29 7:40

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


when hacking a theme you have to make a new folder in the theme folder. (ie : mythem) you put all necessary files (html files, css files, images)
After this you have in the admin area (ADMIN/PREFERENCES) a dropdown box where you should select all themes you want to be shown.
put the 'Update module template .html files from themes/your theme/templates directory?' at 'yes'
At least you can show the 'templates' block on your main page in the blocks section.
Resized Image - - Resized Image

Login

Who's Online

157 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 157


more...

Donat-O-Meter

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

Latest GitHub Commits