Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Webgenz CMS is deleting entire lines of code when I generate a document. Why?

0
Posted

Webgenz CMS is deleting entire lines of code when I generate a document. Why?

0

[Top] As you are learning how to use Webgenz CMS, you may be surprised to see entire lines of code missing in the Documents that you generate. By default, Webgenz CMS will delete the entire line of a Content File if there is a Macro on that line that has a blank value. This is a feature of Webgenz CMS that allows you to conditionally include lines of code only if the Macro referenced on the line has a value. In general, this is a very useful feature. However, until you become aware of this feature, you may wonder why lines of code are missing from your generated Documents. If you don’t understand why a line of code is missing from your generated Document, first inspect the Content File and verify that the Macro reference is well-formatted and that the Macro name has the correct spelling. Spelling errors in Macro names can lead to deleted lines in generated Documents. If you need to work-around this feature, the easiest way to do so is to simply place a Macro reference on a line by itse

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.