Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
disable/enable component instead of delete if component is empty
#3
mvlcek Wrote:
datiswous Wrote:A workaround is putting the text <p></p> in the component I want to keep, but not shown. I could also delete the component code from the theme.

A better way is a comment <!-- -->, as an empty <p> might still change the layout (margins, etc.).

Ok, thanks.
Reply


Messages In This Thread
disable/enable component instead of delete if component is empty - by datiswous - 2012-05-01, 02:01:28



Users browsing this thread: 1 Guest(s)