XF 2.1 Remove Bookmark button?

Venthas

Member
Is there a way to remove the Bookmark button from a page? I know you can hide the header with:

Code:
<xf:h1 hidden="true" />
 
You could try taking this out of your style's template post_macros

Code:
<xf:if contentcheck="true">
                                <li>
                                    <xf:contentcheck>
                                        <xf:macro template="bookmark_macros" name="link"
                                            arg-content="{$post}"
                                            arg-class="bookmarkLink--highlightable"
                                            arg-confirmUrl="{{ link('posts/bookmark', $post) }}"
                                            arg-showText="{{ false }}"/>
                                    </xf:contentcheck>
                                </li>
                            </xf:if>
 
Sorry, for pages = page_view

Code:
<xf:pageaction><xf:if contentcheck="true">
    <xf:contentcheck>
        <xf:macro template="bookmark_macros" name="link"
            arg-content="{$page.Node}"
            arg-confirmUrl="{{ link('pages/bookmark', $page) }}"
            arg-class="button button--link" />
    </xf:contentcheck>
</xf:if></xf:pageaction>
 
Thanks, BassMan! I finally noticed that the homepage of every single style I used had an "Edit bookmark" button where a "Post Thread" button would be displayed on forum pages (bug?), but this simple fix allowed me to get rid of it. (y)
 
Back
Top Bottom