Fixed Where is the setting where I can set download criteria?

Status
Not open for further replies.

NikitOS

Alien
Administrator
Moderator
Developer
Wiki Editor
Hello

If you need to set the criteria for an existing resource, go to the resource page, then Мore options → Edit resource.
1591305240425.png

For a new resource, the criteria are set on the tabs on the add page.
1591305208182.png
 

NikitOS

Alien
Administrator
Moderator
Developer
Wiki Editor
Try editing this modification.

Search typee: Regular Expression
Find:
HTML:
/(<div class="block-body)(.*">)(.*)<\/div>/Uism
Replace:
HTML:
<h2 class="block-tabHeader tabs hScroller" data-xf-init="h-scroller tabs" role="tablist">
    <span class="hScroller-scroll">
        <a class="tabs-tab is-active" role="tab" tabindex="0" aria-controls="resource_info">{{ phrase('information') }}</a>
        <xf:macro template="helper_criteria" name="user_tabs" />
    </span>
</h2>

<ul class="block-body tabPanes">
    <li class="is-active" role="tabpanel" id="resource_info">
        $0
    </li>

    <xf:macro template="helper_criteria" name="user_panes"
              arg-criteria="{{ $userCriteria.getCriteriaForTemplate() }}"
              arg-data="{{ $userCriteria.getExtraTemplateData() }}" />
</ul>
If this works, please let me know :)
 
Status
Not open for further replies.
Top