Recent searches
No recent searches
Can't select a section within category when creating a section
Posted Aug 09, 2022
Hi,
Im trying to create a subsection, but I can only select a category.
We are on the enterprise plan.
This is the code in the template
{{#if section.description}}
<p class="page-header-description">{{section.description}}</p>
{{/if}}
{{#if section.sections}}
<ul class="section-list section-list--collapsed {{#if settings.content_layout_columns}}single-column-layout{{/if}}">
{{#each section.sections}}
<li class="section-list-item">
<i class="fas fa-folder"></i>
<a href="{{url}}">
<span>{{name}}</span>
</a>
</li>
{{/each}}
</ul>
{{/if}}
{{#if section.articles}}
<ul class="article-list {{#if settings.content_layout_columns}}single-column-layout{{/if}}">
{{#each section.articles}}
<li class="article-list-item {{#if promoted}} article-promoted{{/if}}">
{{#if promoted}}
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" focusable="false" viewBox="0 0 12 12"
class="icon-star" title="{{t 'promoted'}}">
<path fill="currentColor"
d="M2.88 11.73c-.19 0-.39-.06-.55-.18a.938.938 0 01-.37-1.01l.8-3L.35 5.57a.938.938 0 01-.3-1.03c.12-.37.45-.63.85-.65L4 3.73 5.12.83c.14-.37.49-.61.88-.61s.74.24.88.6L8 3.73l3.11.17a.946.946 0 01.55 1.68L9.24 7.53l.8 3a.95.95 0 01-1.43 1.04L6 9.88l-2.61 1.69c-.16.1-.34.16-.51.16z"/>
</svg>
{{/if}}
<a href="{{url}}" class="article-list-link" title="{{title}}">{{title}}</a>
</li>
{{/each}}
</ul>
{{else}}
<a href="{{section.url}}">
<i class="section-empty"> {{t 'empty'}} </i>
</a>
{{/if}}
But when I create a new section I only can select a category, I can't select a section within the category to create a subsection.
0
1 comment
MOHMMAD AAZAM
Hi Roy,
Sections can be created within a Section or Category. If you want to add a section, Please select any category first. you should be able to go inside any category and see the available sections, if any. You can select the section under which you want to add a subsection.If you have a section and you are not able to see it in the "Hierarchy-- Select a section or category", please raise a ticket to the Zendesk support.
0