Forum Discussion

alfredojahn's avatar
6 years ago

How to create a custom component that doesn't use FreeMarker

I'm refining my previous post... I am new to Lithium. I need to create a custom component where I will place some HTML code. I don't really need any FreeMarker code. Can I just put plain old HTML into the component file? I assume I still need to name the file with the FTL extension? I've been going over some tutorial I found. The tutorial has you 

  1. write a component
  2. create a quilt
  3. create a skin

I'm trying to learn enough to create a component and add it to an existing quilt (page). I guess using a new quilt won't hurt. 

I have a week to determine if I can do this (create a component, add in some code from a social buttons plugin I found) and replace the current, built-in social buttons that comes with Lithium). The plugin also contains CSS. I assume I would just add that into the _styles.scss ?

Any help or suggestions would be greatly appreciated.