Jump to:

3393 Posts in 976 Topics by 852 members

Template Questions

SilverStripe Forums » Template Questions » Customizing third party plugin template

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 677 Views
  • iroy2000
    Avatar
    Community Member
    15 Posts

    Customizing third party plugin template Link to this post

    Hi all,

    I'm new to SilverStripe.

    I have download a plugin, but I want to customize its template. Instead of going into the plugin template to change the file directly, what should I do, and what is the recommended way?

    Thanks a lot.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Customizing third party plugin template Link to this post

    You can make your own template / css file in your own theme or create a sub theme (http://doc.silverstripe.org/themes:developing#subthemes). For example if you want to theme the forum template (Forum.ss) you can either

    * Copy the default Forum.ss from the module (forum/templates/Layout/Forum.ss) to your own themes layout folder (themes/yourtheme/templates/Layout/Forum.ss)

    * Or, to keep your templates organized you can make a subtheme (themes/yourtheme_forum) which contains the Forum.ss file (themes/yourtheme_forum/templates/Layout/Forum.ss)

    677 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.