Simple Edit Condition w/ Nest Content

I have alot of nest_content design areas in the top of my parse file, most of which I don't want to print when going into Simple Edit. I have set them up so that they will not print, using print="no" and then printing them inside of a show_if design area, but when I am in Simple Edit, it seems that print="no" is not working, and it gets printed.


[attachment=320:simpleEdit.jpg]



Here is what I am using:



In the <head>

    
      
    


In the <body>
     
     
     
    
    
     
    


It correctly does not print the <mysource_print id_name="section_title" /> when in Simple Edit, but the code that is in the header DOES get printed.

What am I doing wrong? simpleEdit.jpg (33.3 KB)

You haven't perhaps configured a customisation with print="yes" for that design area? Otherwise, you are doing it correctly.

Note that you can take out the empty <MySource_THEN></MySource_THEN> block. You only need it if you're printing something for the TRUE value of the condition.

Yep, this was the problem, thank you for reminding me of that.

Also, when commiting my parse file, I get the following error, which seems strange.

     15:16:15 - 16 Jun
    User: Nicholas Hubbard (48)
    Level: MySource Warning
    	(/core/include/asset.inc:2734) - You do not have permission to save the attributes of "section_title" (#18412) [CORE0121]


My locks should not be expiring...

Yes, I've seen this on newly created customised design areas -- Matrix doesn't have the lock, but the details screen of the parent Design asset doesn't reflect this. I usually release/reacquire my locks before doing a reparse, even if the Design asset thinks I have all the locks.