Jump to content

[SOLVED] Strange Template Behavior


Recommended Posts

I have a custom template I have been hacking away on an ran into this weird problem..

 

In the file /theme/themname/modules/blockcategories/blockcategories.tpl

 

I added this line towards the top to give the users a little more info to click some icons I made to expand/contract the categories.. just some flat text/images basically under the header for the module.

 

<div class=clear></div>
<div id="moreless"><img src="{$img_dir}icon/more.gif"><img src="{$img_dir}icon/less.gif"> for more/less</div>

 

I also updated the file

/theme/themname/css/modules/blockcategories/blockcategories.css

 

#moreless
{
background-color: #EEEEEE;
border: 1px solid;
margin-bottom: 10px;
margin-left: 0;
margin-top: 6px;
padding-bottom: 4px;
padding-left: 59px;
padding-top: 4px;
}

 

Soo...

 

In the backend.. I click force compile, dont use cache.. and it looks just like I wanted, but when I put it back to dont force compile, use cache, it disappears.. The entire code and css is not in the source of the html document any more.

 

Its not like this is a show stopper.. Im just wondering whats up here and if there is another place to click to clear or recompile or what.

 

Oh.. Ive tried multiple browsers and done browser cache clears, restarts as well.. the code just goes away.

 

Thanks for any insights,

SC

Edited by SuperCharlie (see edit history)
Link to comment
Share on other sites

Thanks for the reply Bill. It was in there somewhere.. I deleted em all first and the problem persisted strangely enough.. then I went back and found that compile off cache off worked, re-deleted the smarty cache, refresh, and then turned cache back on worked.

 

Thanks again,

SC

Edited by SuperCharlie (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...