Hi there,
I tried to make editing of item types work using the default templates, but the default templates didn't render the edit links. I then modified the code as follows to test things out:
<!--@LoopStart(ItemPublisher:Items.List)--> If Defined Can Edit: <!--@If Defined()-->Is Defined<!--@EndIf(ItemPublisher:Items.CanEdit)--><br /> If Not Defined Can Edit: <!--@If Not Defined(ItemPublisher:Items.CanEdit)-->Is Not Defined<!--@EndIf(ItemPublisher:Items.CanEdit)--><br /> Value <!--@ItemPublisher:Items.CanEdit--> <!--@LoopEnd(ItemPublisher:Items.List)-->
The outcome is this:
If Defined Can Edit:
If Not Defined Can Edit: Is Not Defined
Value True
So the tag is NOT defined, yet its value is True.
Not sure what's going on. Either Not Defined no longer works on booleans in which case the second tag should be empty too. Or the tag does work on booleans and I would expect it to be true. What's going on here?
Either way, I think the templates (/Files/Templates/ItemPublisher/List\List.html in my case) need an update....
Cheers,
Imar