1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Resolved Remove sidebar blocks on the overview page of an article

Discussion in 'AMS Support' started by Alexov, Dec 9, 2021.

  1. Alexov

    Alexov New Member AMS Premium CAS Premium IMS Premium LD Premium SC Premium

    How to remove widgets in the article?
    Article information
    Share this article

    [​IMG]

    [​IMG]

    EDIT: Edited the title so that others searching for the same thing can find it easier
     
  2. Bob

    Bob Developer Staff Member

    Those are not Widgets, those are Sidebar blocks. To remove a sidebar block, you would need to edit the template that the sidebar block is in.

    In this case, the template you'd need to edit is 'xa_ams_article_view'. All the sidebar blocks are at the end of the template. You will have to remove (do not comment out!) each specific sidebar block (and there are several).

    Note: You can't just wrap ALL of the sidebar blocks with xf:comment as some of the sidebar blocks use xf:comment in them. It would be best to just remove any of the sidebar blocks that you don't want displayed.
     
    Alexov likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.