0012128: show additional longdescriptions on first list page only
This commit is contained in:
parent
430524a0c7
commit
1bd4f80839
@ -1,13 +1,23 @@
|
|||||||
[{if $oViewConf->getActiveClassName() == 'manufacturerlist' && $actCategory && $actCategory->oxmanufacturers__d3longdesc1->value }]
|
[{assign var="oPageNavigation" value=$oView->getPageNavigation()}]
|
||||||
|
[{if $oViewConf->getActiveClassName() == 'manufacturerlist' &&
|
||||||
|
$actCategory && $actCategory->oxmanufacturers__d3longdesc1->value &&
|
||||||
|
$oPageNavigation->actPage == 1
|
||||||
|
}]
|
||||||
<div class="manufacturerDescription desc1" id="mnfLongDesc1">[{oxeval var=$actCategory->oxmanufacturers__d3longdesc1}]</div>
|
<div class="manufacturerDescription desc1" id="mnfLongDesc1">[{oxeval var=$actCategory->oxmanufacturers__d3longdesc1}]</div>
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
[{if $oViewConf->getActiveClassName() == 'alist' && $actCategory && $actCategory->oxcategories__d3longdesc2->value }]
|
[{if $oViewConf->getActiveClassName() == 'alist' &&
|
||||||
|
$actCategory && $actCategory->oxcategories__d3longdesc2->value &&
|
||||||
|
$oPageNavigation->actPage == 1
|
||||||
|
}]
|
||||||
<div class="categoryDescription" id="catLongDesc">[{oxeval var=$actCategory->oxcategories__d3longdesc2}]</div>
|
<div class="categoryDescription" id="catLongDesc">[{oxeval var=$actCategory->oxcategories__d3longdesc2}]</div>
|
||||||
[{/if}]
|
[{/if}]
|
||||||
|
|
||||||
[{if $oViewConf->getActiveClassName() == 'manufacturerlist' && $actCategory && $actCategory->oxmanufacturers__d3longdesc2->value }]
|
[{if $oViewConf->getActiveClassName() == 'manufacturerlist' &&
|
||||||
|
$actCategory && $actCategory->oxmanufacturers__d3longdesc2->value &&
|
||||||
|
$oPageNavigation->actPage == 1
|
||||||
|
}]
|
||||||
<div class="manufacturerDescription desc2" id="mnfLongDesc2">[{oxeval var=$actCategory->oxmanufacturers__d3longdesc2}]</div>
|
<div class="manufacturerDescription desc2" id="mnfLongDesc2">[{oxeval var=$actCategory->oxmanufacturers__d3longdesc2}]</div>
|
||||||
[{/if}]
|
[{/if}]
|
Loading…
x
Reference in New Issue
Block a user