Jump to content

přemístění popisu v kategorii


jgerza

Recommended Posts

ne ne.. v kategorii je bezne - image maping, pak obrazek, popisek a zbozi.. potreboval bych to zbozi prehodit nahoru aby tam bylo hned videt, mam totiz celkem dlouhe popisky ze nekde nejde videt ani zbozi, rad bych popisky zachoval a hodil pod zbozi, ..

 

uprava featured product takto samozrejme jde ale kategorie nikoli.,

rozumime si?

Link to comment
Share on other sites

Myslis Category description a Category image hodit dolu pod vypis zbozi v kategorii ??

 

Jestli ano tak ve vzhledu soubor category.tpl.

 

ano presne to :) muzes mi sdelit naky blizsi postup ? otevrit a premistit v kodu ?

Link to comment
Share on other sites

Nevim jaky mas jaky mas vzhled, ale bude to podobne.

 

pokud chces presunout obrazek tak v kodu najdes

{if $scenes}
	<!-- Scenes -->
	{include file=$tpl_dir./scenes.tpl scenes=$scenes}
{else}
	<!-- Category image -->
	{if $category->id_image}
		<img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />
	{/if}
{/if}

 

Popis je

{if $category->description}
	<div class="cat_desc">{$category->description}</div>
{/if}

 

No a presunes to nekam skoro nakonec :] > napr za

{include file=$tpl_dir./pagination.tpl}

nebo az za 

{if $products}
		{include file=$tpl_dir./product-sort.tpl}
		{include file=$tpl_dir./product-list.tpl products=$products}
		{include file=$tpl_dir./pagination.tpl}
	{elseif !isset($subcategories)}
		<p class="warning">{l s='There are no products in this category.'}</p>
	{/if}

 

a samozrejme upravit css pro dobre zobrazeni.

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...