1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Commenting within templates?

Discussion in 'XenForo Development Discussions' started by steven s, Oct 24, 2010.

  1. steven s

    steven s Well-Known Member

    I like to comment the beginning and end of a template edit.

    <!-- guest welcome -->
    <!-- /guest welcome -->

    I also generally use comments at the beginning of a template to know what edits need to be made before reverting.

    What is the proper way to comment in XF?
  2. borbole

    borbole Well-Known Member

    I think the best way to comment in xenforo templates would be with:

    <xen:comment>guest welcome</xen:comment>
    steven s likes this.
  3. steven s

    steven s Well-Known Member

    Thanks. That's what I was looking for.
    Trying to get into good habits from the start.
    borbole likes this.
  4. borbole

    borbole Well-Known Member

    You are welcome.

Share This Page