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.

Category fURL translation

Discussion in 'Showcase Support' started by Sebouley, Sep 1, 2016.

  1. Sebouley

    Sebouley New Member Showcase

    Hello,

    I'm trying to translate (into another word) the word "category" used in the URLs of showca,e eg

    Test Category | XenAddons - XenForo Add-ons & Custom Development

    I need the word "category" inside xenaddons.com/showcase/category/test-category.16/ to be something else,
    I tried with XF's integrated route changer but it does not work
    (trying to rewrite "showcase/category" )

    Thanks @Bob for any help :)
     
  2. Bob

    Bob Developer Staff Member

    Works fine for me.

    When doing sub routes (which is an action of the actual route), you ALWAYS have to use showcase/ as part of the find (not a FILTER of showcase/) as that is the actual default ROUTE of the addon.

    I have a route filter for showcase/ to garage/ but to change garage/category (which category is an action of route), I have to create one for showcase/category/ to garage/manufacture/ just like I had to for just showcase/ to garage/


    Selection_793.png

    You can see in this shot that the URL is now garage/manufacture (and I am hovering over the Chevy category so you can see the link ULR also filters correctly.

    Selection_792.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.