Lack of interest Rewrite hardcoded help_page_list admin template

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Painbaker

Well-known member
I'm trying to extend help_page_list admin template in my add-on, but i cant do this without breaking compatibility with other add-ons.

HTML:
<xf:foreach loop="$pages" value="$page">
    <xf:datarow
        label="{$page.title}"
        hint="{$page.page_name}"
        href="{{ link('help-pages/edit', $page) }}"
        explain="{$page.description}"
        delete="{{ link('help-pages/delete', $page) }}"
        hash="{$page.page_id}">
        <xf:toggle name="active[{$page.page_id}]" selected="$page.active"
            class="dataList-cell--separated" submit="true"
            tooltip="{{ phrase('enable_disable_x', {'title': $page.title}) }}" />
    </xf:datarow>
</xf:foreach>

Please make a full help page item macro without shortened <xf:datarow> tag or allow us pass datarow entries as tag argument.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom