Forum

Thread tagged as: Error

Bug in perch:pages 3.1 (I think)

I think there's a bug in the way that perch:pages handles the new tag formatting in version 3.1:

This works:

<perch:pages id="show_campaign" type="checkbox" label="Show Link to Campaign Page in Sidebar?" value="yes" suppress="true" divider-before="Show Campaign Link in Sidebar?" help="This will pull a link to the campaign page in the sidebar." >

while this does not:

<perch:pages id="show_campaign" type="checkbox" label="Show Link to Campaign Page in Sidebar?" value="yes" suppress divider-before="Show Campaign Link in Sidebar?" help="This will pull a link to the campaign page in the sidebar." >

(the new boolean value of suppress (without the true value) causes perch not to return the value of the field when using perch_page_attribute('show_campaign',[],true);

Monty Lewis

Monty Lewis 2 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, that's already been fixed internally.