Forum Discussion

santosh_csc's avatar
8 years ago

How to change default TKB template

Hi,

    

     I want to override default TKB template, customise it and link it to a particular TKB board.  

     All document under this specific board should use the new template for the TKB. Not the default one.

 

     How to override TKB page template? 

 

  • VikasB's avatar
    VikasB
    8 years ago

    santosh_csc  

    Same can be done for TKB article page also. You just need to update the name as TkbArticlePage.pagename

     

8 Replies

  • santosh_csc 

    If you want to apply it to a specific board then you have to create a custom page which will be mapped with that board.  On that custom page, you can apply that layout.

    Here is the documentation for the custom pages and how to Override default page.

     

  • VikasB's avatar
    VikasB
    Boss
    8 years ago

    santosh_csc

    TKB custom page Naming convention should be like this TKBPage.PageName(in your case TKBPage.TKBMessageMain )

    Please refer the below screenshot and change the  TKB page option from default to the new one you created. It would not be displayed in options if you will not follow the naming convention.

  • santosh_csc's avatar
    santosh_csc
    Guide
    8 years ago

    VikasB

     

    This custom page will set as TKB board page. Not to TKB's.

     

    For example:

     

    I have to remove the right side contents of TKB page shown in below image.

     

     

    But what you are suggesting will set the page as  TKB home page.

     

     

     

  • VikasB's avatar
    VikasB
    Boss
    8 years ago

    santosh_csc  

    Same can be done for TKB article page also. You just need to update the name as TkbArticlePage.pagename

     

  • atomicbot's avatar
    atomicbot
    Adept
    7 months ago

    For some reason I don't see TKB or TKB Article as options for layout changes, though I do see other node types. Did this change at some point?

  • StanGromer's avatar
    StanGromer
    Boss
    7 months ago

    atomicbot It's kind of silly, but you need to save a custom created quilt first and then the options will show up in admin.

  • atomicbot's avatar
    atomicbot
    Adept
    7 months ago

    Thanks! I thought we had one already since we have customized our TKB but I'm not sure offhand which particular layouts were made.