cost 275 ms
Get the item set as display

I have a container x, with a Link item y set as display. How can I access programmatically y if I know x? I tried: getattr(x, 'default_page', None), ...

tal python expression with condition

I already have a class the prints "image-N" based on the loop index, but how do I add another class if the length is "1"? The documentation is NOT c ...

2020-07-15 15:02:27   2   67    plone / tal  

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM