"alte" Freitextfelder im Frontend

Hallo,

ich hatte in 5.1 ein Freitextfeld für die Kategorien hinterlegt, was in der linken Spalte im Frontend ausgegeben wird. Im Backend ist das Feld nach wie vor sichtbar, im Frontend erfolgt jedoch keine Ausgabe mehr. Hat sich etwas am Code geändert? Bisher bin ich zu dem Them nicht fündig geworden.

 

      {extends file="parent:frontend/index/sidebar.tpl"}
      
    
       {* SEOBLOCK *}
	{block name='frontend_index_left_campaigns_bottom' append}
		{if $sCategoryContent.attribute.attribute1}
	{$sCategoryContent.attribute.attribute1}

{/if}{$sCategoryContent.ac_attr1}
	{/block}
    
 {* Trusted Shops *}
	{block name='frontend_index_left_campaigns_bottom' append}
		
	{/block}

 

Also bei mir funktioniert {$sCategoryContent.attribute.attribute1} als Variable in der sitebar.tpl einwandfrei.

Probier mal das hier:

{extends file="parent:frontend/index/sidebar.tpl"}
      
{block name='frontend_index_left_campaigns_bottom'}
    {* Original block content *}
    {$smarty.block.parent}

    {* SEOBLOCK *}
    {if $sCategoryContent.attribute.attribute1}
	{$sCategoryContent.attribute.attribute1}
    {/if}

    {$sCategoryContent.ac_attr1}

    
{/block}

 

Die Lösung war doch naheliegender als gedacht. Der Block “frontend_index_left_campaigns_bottom” scheint in 5.2. einfach nicht mehr zu existieren. Ich habe einen anderen gewählt, nun ist alles wieder wie vorher :slight_smile: