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.

Updated Misc updates

Discussion in 'AMS Closed Suggestions' started by Bob, May 15, 2023.

Tags:
  1. Bob

    Bob Developer Staff Member

    The following fields have been removed as they are no longer necessary (Full Article/Page titles are now always being displayed in various navigational elements and blocks).
    • Article: overview_page_nav_title
    • Page: nav_title

    Updated the 'comment_simple' macro in the 'xa_ams_comment_macros' template to use the 'contentRow-snippet' on the comment snippet, which adds a very small padding above and below the snippet making the widget a bit more readable.

    HTML:
    <div class="contentRow-snippet">
        {{ smilie(snippet($comment.message, 150, {'stripBbCode': true, 'stripQuote': true})) }}
    </div>


    Updated the [ICODE]review_simple[/ICODE] macro in the 'xa_ams_review_macros' template to use the 'contentRow-snippet' on the rating stars and the review snippet, which adds a very small padding above and below the rating stars and the snippet making the widget a bit more readable.

    HTML:
    <div class="contentRow-snippet contentRow-lesser">
        <xf:macro template="rating_macros" name="stars"
                  arg-rating="{$review.rating}" />
    </div>
    
    <div class="contentRow-snippet">
        {{ snippet($review.message, 100, {'stripQuote': true}) }}
    </div>
     
  2. Bob

    Bob Developer Staff Member

    Forgot one...

    I've added some CSS classes for the Page Nav and Series Nav Links below the article.
    • amsNextArticle
    • amsPreviousArticle
    • amsNextPage
    • amsPreviousPage
    The default CSS for all 4 classes are shown below (slightly larger font the previously as well as heavy font weight.

    Code:
    .amsNextArticle,
    .amsPreviousArticle,
    .amsNextPage,
    .amsPreviousPage
    {
        font-size: @xf-fontSizeNormal;
        font-weight: @xf-fontWeightHeavy;
    }
    You can target each class individually using a specific class.. eg if you want to make the font larger on the Next Page link, just target the class 'amsNextPage'
     
  3. Bob

    Bob Developer Staff Member

    Another one...

    I've flip flopped the Page Nav links so the "Next page" link is always first (its was in reverse for some unknown reason).

    Selection_999(197).png
     
  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.