how can i influence left column contents in _ColumnsTwo.cshtml

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
I want the infoblock to appear all the time in the left column of _ColumnsTwo.cshtml but i don't know how to stop it disappearing - is there somewhere specific where i need to change other than the _columnsxxx.cshtml

it looks like this now :

  
  @if (IsSectionDefined("left"))
    {
        @RenderSection("left")
    }
    else
    {
        @Html.Widget("left_side_column_before")
        <div class="clear">
        </div>  
        @Html.Action("CategoryNavigation", "Catalog", new { currentCategoryId = currentCategoryId, currentProductId = currentProductId })
        <div class="clear">
        </div>
        @Html.Action("ManufacturerNavigation", "Catalog", new { currentManufacturerId = currentManufacturerId })        
        <div class="clear">
        </div>
        @Html.Action("NewsletterBox", "Newsletter")
        <div class="clear">
        </div>
        @Html.Widget("left_side_column_after")
    }
11 years ago
Hi

You need to put in the @Html.Action("InfoBlock", "Common")  code.

@if (IsSectionDefined("left"))
    {
        @RenderSection("left")
    }
    else
    {
        @Html.Widget("left_side_column_before")
        <div class="clear">
        </div>  
        @Html.Action("CategoryNavigation", "Catalog", new { currentCategoryId = currentCategoryId, currentProductId = currentProductId })
        <div class="clear">
        </div>
        @Html.Action("ManufacturerNavigation", "Catalog", new { currentManufacturerId = currentManufacturerId })        
        <div class="clear">
        </div>
@Html.Action("InfoBlock", "Common")  
<div class="clear">
        </div>
        @Html.Action("NewsletterBox", "Newsletter")
        <div class="clear">
        </div>
        @Html.Widget("left_side_column_after")
    }
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.