Well only a man 3 hours before death row would consider such a crazy thing, but if you want to get rid of them, just highlight them in the design pane and click delete.
Make sure you snapshot before you do anything though as you can be guaranteed to want them back in very quickly after this escapade.
By remove the "block if" i mean, is there any way to remove these references as they add even more code which isn't needed.
Blocking the code together is a good idea but without giving comment before each block people are going to spend a lot of time opening and closing the "Blocks" to find the code they want to edit, especially with all the new templates that need to be enter.
So is there any way to remove the "Block if" from every template in one go or is this something I will need to live with.
Last edited by ldkemp; 19-Jun-2007, 04:01 PM.
Reason: To answer other responses
Yes - but deleting all the Block if's will give you a bigger surprise of killing your site. No questions.
If there is something that is adding additional code you don't need then best to delete on an item by item basis and not a global deletion (you could try a find in code search and replace with a space if you really want to go that route)
By remove the "block if" i mean, is there any way to remove these references as they add even more code which isn't needed.
Blocking the code together is a good idea but without giving comment before each block people are going to spend a lot of time opening and closing the "Blocks" to find the code they want to edit, especially with all the new templates that need to be enter.
So is there any way to remove the "Block if" from every template in one go or is this something I will need to live with.
The block ifs do not work that way - I think you are talking about the way they are collapsing to save space on the screen.
The block ifs are actual test conditions that work along the lines of
block if
does the add to cart button need showing
/block if
if the condition is true then the cart button is shown
Comment