We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5625
    • 6 Posts
    guys,

    ive just replace default homepage with my own template.
    how do i insert comments inside my new page?

    thx in advance smiley
      • 27376
      • 576 Posts
      <!-- This is an HTML comment -->
      There currently isn’t a way to add comments that won’t be pushed to the client.

      However, as long as you keep your comments to one line, you could use MODx placeholders like so:
      [+ This is a MODx Comment +]
      And they will not show up when the document is parsed. Keep in mind however that doing so might slow down the parser a bit since it’s going to be looking for a placeholder by that name. If you’re not too worried about speed though feel free to try it out and see what you think.

      Enjoy!