template-tal Questions

1

Solved

How can I use Chameleon or Zope Page Templates to easily create CSS zebra striping? I want to add odd and even classes to each row in a table, but using a condition with repeat/name/odd or repeat/n...
Houri asked 19/12, 2013 at 18:19

3

Solved

I'm creating a form elements template file in PHPTAL. I would like to be able to OPTIONALLY pass in an id attribute for a field... So far the code looks like this: <xml> <tal:block meta...
Northcliffe asked 17/9, 2010 at 11:17

7

Solved

I've been using ZPT in python recently and I love the templating language. I was looking for something similar for Java but couldn't really find anything I liked as well. The closest thing is FreeM...
Dictatorship asked 3/11, 2011 at 20:25

1

Solved

I'm learning pyramid and it seems they are trying to get people to use chameleon instead of mako so I thought I'd give chameleon a chance. I like it so far and I can do basic things in the template...
Didymous asked 26/6, 2012 at 3:32

4

Solved

I know that for performance it's good practice to use nocall on a <tal:condition> in order to avoid calling an object. Would appreciate (links to) a bit of background as this sounds a little ...
Maillol asked 1/4, 2011 at 14:29

3

Solved

I would like to ovverride only the "view" of the classic "description field" of the Plone standard content type (Document, Folder, blabla), cause I need to "structure" the text of this field with s...
Wallas asked 22/10, 2011 at 9:31
1

© 2022 - 2024 — McMap. All rights reserved.