Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2015-07-10 09:48:27

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,269
Website GitHub

Re: if_version tag?

ax wrote #293009:

amazingly simple application logic can be generated, which rests upon highly intelligent plugins and would otherwise require much expertise and programming efforts.

That’s what we love about it :-)

Theses benefits of Textpattern over competing CMS could be explained more clearly on the Textpattern homepage.

I agree. Care to throw digital rocks at Phil and see if it can be folded into the new site?

Or perhaps better, write us a blog post about it and we’ll stick it on the .com site.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#14 2015-07-10 14:53:04

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: if_version tag?

etc wrote #293006:

Damn! How do I get the last word?

It’s all yours!

Offline

#15 2015-07-10 16:27:27

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: if_version tag?

I wrote a plugin that output a version number in 2005 but it didn’t include a conditional. But I was curious how the coding worked.

		<txp:mkp_if_version version="4.5.7">
			<meta name="Textpattern" content="<txp:mkp_version />" />
		<txp:else />
			<meta name="Textpattern Classic" content="<txp:mkp_version />" />
		</txp:if_variable>

Offline

Board footer

Powered by FluxBB