Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-17 22:00:07

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

feature: if_different wraptag and wraptag class

Hey there dev folks.
I think its been discussed before,
but I came against the issue of needing to work some
magic with the <code><txp:if_different></code> tag
as I needed each “different” element (ex: months) wrapped
in a div of a specific class in order to implement expand/collapse fx.

This isn’t possible without magic and a few empty divs (see Els handiwork here)

Would it be possible to add a wraptag and wraptag class to the if_different tag? I don’t know
the PHP involved, so it may be ludicrous, but I thought it worth asking?

Thanks.

Matthew


Offline

Board footer

Powered by FluxBB