Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-12 00:40:58

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Attach custom attributes to txp-tags?

Do you mean something like this, as an example: <txp:image cssid="foo" /> to produce <img src="" id="foo">, as a custom attribute? I edited taghandlers.php to add some HTML attributes to article_image and txp:image. Make sure you don’t leave off any quotes or commas though.

Last edited by deldindesign (2006-07-12 00:41:33)

Offline

#2 2006-07-12 01:40:07

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Attach custom attributes to txp-tags?

D: you could submit a patch.

Post to the txp-dev mailing list, or email to patches at my domain.


Alex

Offline

Board footer

Powered by FluxBB