Razor VS Token

Jan 12, 2016 at 4:31 PM
Edited Jan 12, 2016 at 4:34 PM
Hi guyes,
I hope that my codes have not issues.

Anyway this video: http://screencast-o-matic.com/watch/cDVlbrhp9P (2sxc 8.00.12)

show two issues on toolbar (deleting item and sorting) if you create a razor template . No problem if the template has been created with tokens.

thanks
Matteo

p.s. good job
Coordinator
Jan 13, 2016 at 5:56 AM
Edited Jan 13, 2016 at 5:56 AM
Thanks for the very good, detailed Video. It really helps to quickly figure it out.

You made a mistake in the Razor loop, your item-variable is c but you're showing the toolbar of @Content.Toolbar (which is the first item)

Go for @c.Toolbar or use the loop to name it Content
Jan 13, 2016 at 2:15 PM
It works, thanks a lot

Matteo