• Resolved Peter Berger

    (@peterpolow)


    Hi Eliot,

    Good to see you back and thanks for the update. Is everything okay with you? I was a bit worried about you…

    After I updated only CCS, this code isn’t working as expetced:

    [loop type=mededeling field=vervaldatum after=now orderby=field_num order=ASC]
    [if first]
    			<aside class="widget">
    
    				<h3 class="widgettitle"><span>[-if total=1]Mededeling[-else]Mededelingen[/-if]</span></h3>
    
    				<div class="textwidget">
    
    				<ul class="actuele-mededelingen">
    [/if]
    				<li class="actuele-mededeling id-[field id]">[content][is login]<p>[field edit-link text="Bewerken"]</p>[/is]</li>
    [if not total=1][-if not last]<hr>[/-if][/if]
    [if last]
    				</ul>
    
    				</div>
    
    			</aside>
    
    [/if]
    [if empty][/if]
    [/loop]

    After the update I see ALL posts from post type “mededelingen”, not only the ones where the date (vervaldatum) is after “now”.

    Do I have to change the code to make it work, or can only you fix it?

    Thank you in advance!

    Peter

Viewing 1 replies (of 1 total)
  • Thread Starter Peter Berger

    (@peterpolow)

    After I replaced after=now with value=now compare=> it works again.

    Problem solved!

Viewing 1 replies (of 1 total)
  • The topic ‘New update breaks some code’ is closed to new replies.