commenting out $block_data[latestentries]
I'm working with member profiles... but I'm sure other templates use $blocks
I want to hide some of the blocks, like $blocks[vistors] etc.
I don't see anything in the control panel to disable some of this stuff so I'm just hiding it in the templates, but I don't want to straight up delete it in case at some point I want to reintroduce the functionality.
So I'm commenting out the code, but this doesn't work <!--$block_data[latestentries]-->
Instead I need to do this <!--$--><!--block_data[latestentries]-->
The $ sign needs to be commented separately.
1) Am I making a workflow mistake by commenting code rather than looking for another way to manage the blocks.
2) Is there a better way to hide the code in the template without deleting it (i.e. a different comment system).
|