Jump to content

[SOLVED] editing .tpl-files doesnt work


Recommended Posts

Hi forum

I'm all new in this system, so please bear with me.

I'm trying to move the category-image to the header - so the first step was to empty the header-hook in the backend - so far so good.

But then i cutted the code:

{if $scenes}
           <!-- Scenes -->
           {include file="$tpl_dir./scenes.tpl" scenes=$scenes}
       {else}
           <!-- Category image -->
           {if $category->id_image}

getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" />

           {/if}
       {/if}



from category.tpl to header.tpl, but it doesnt change anything :(

Am I doing it the wrong way, or what's wrong?

Thanks in advance

Link to comment
Share on other sites

Maybe you need to activate the "force compile" option ? (in back-office, Preferences > Performance )


YAY! Just what I needed :)

Thanks

Now I just gonna have to move the category-image to the header-controller i think
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...