1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then 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.

Showcase Tab ID

Discussion in 'Showcase Support' started by Mason, Feb 8, 2016.

  1. Mason

    Mason New Member AMS Premium Showcase

    I am trying to make a notice that only appears on the showcase main page but I can't seem to figure out the nav tab id. Any help would be appreciated.

    Thanks.
     
  2. Bob

    Bob Developer Staff Member

    The Navigation Tab ID? if so, it uses the base route 'showcase' (without the ' marks that is). That won't limit it to showcase home tho. That would make it display on ALL showcase pages.

    If you want something just on Showcase HOME, you need to use one of the other 3 types (Controller and Action is, View Class is or Content Template is).

    Controller and Action is:
    Controller Name: NFLJ_Showcase_ControllerPublic_Showcase
    Controller Action: Index

    OR

    View Class is: NFLJ_Showcase_ViewPublic_Index_View

    OR

    Content Template is: nflj_showcase_index
     
    Mason likes this.
  3. Mason

    Mason New Member AMS Premium Showcase

    Thanks! That worked perfectly!
     
  4. Mason

    Mason New Member AMS Premium Showcase

    I decided against using notices and instead using the widget frameworks advanced html template option. I was wondering if there is a hook that is in showcase that I can refer to or how could I create a hook in the showcase_index template?
     
  5. Bob

    Bob Developer Staff Member

    You CAN use existing hooks, however, I highly recommend that you don't do that. Its best to add your OWN custom hooks so that you can place them exactly where you want and you know that they are only being used for your own purposes.

    The syntax of a hook (for your use case) is this: <xen:hook name="mason_custom_showcase_hook1" />
     
    Mason 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.