ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Cleaning the white spaces of the codes?

August 14, 2010 8:47am

Subscribe [2]
  • #1 / Aug 14, 2010 8:47am

    Aaron Harkenin

    90 posts

    Im working on a site that relies heavly on {if xx !=""} parameters. Bu the problem is, after the template is loaded there are whole amount of whitespace is left behind.

    I would like to keep my code tidy, so do you have any advice or recommendation on the matter?

  • #2 / Aug 14, 2010 10:55am

    Boyink!

    5011 posts

    Let it go. 😉

    Seriously, there isn’t much you can do about.  Being more flexible & dynamic on the server-side means giving up some client side formatting.

  • #3 / Aug 15, 2010 6:15pm

    Aaron Harkenin

    90 posts

    It come to my attention that actually ignoring the if statements as a part of the html structure while working a bit helps on the matter. However that causes confusion from one point onwards. So there is wisdom (yet again) in Michaels words. Thanks 😉

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases