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 How to Change Article Home Page meta Title

Discussion in 'AMS Support' started by Questlot, Dec 1, 2022.

  1. Questlot

    Questlot New Member AMS Premium

  2. Bob

    Bob Developer Staff Member

    You'd have to edit a template as the phrase being used is used in multiple places.

    Template: xa_ams_index

    Find (line 1)
    Code:
    <xf:title page="{$page}">{{ phrase('xa_ams_articles') }}</xf:title>
    Replace:
    Code:
    {{ phrase('xa_ams_articles') }}
    With your own custom phrase or just raw text if you don't have multiple languages.

    Examples

    Code:
    <xf:title page="{$page}">{{ phrase('my_custom_phrase') }}</xf:title>
    Code:
    <xf:title page="{$page}">Some raw text</xf:title>
    Note: If you are using Modular Index, you'd have to do the same thing, but in a different template: xa_ams_index_modular
     
    Last edited: Dec 1, 2022
  3. Bob

    Bob Developer Staff Member

    ams is a ROUTE. Every content type has a ROUTE, you can't remove it, but you can create a ROUTE FILTER (which is a Core XF function).

    Admin CP >> Setup >> Navigation >> Route filters >> Add route filter

    Selection_522.png


    example...

    Selection_523.png
     
  4. Questlot

    Questlot New Member AMS Premium

    Ok that really helps.
     
    Bob 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.