Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-08 21:34:01

picnichosue
New Member
Registered: 2005-12-23
Posts: 6

Trouble combining PHP with textpattern

Hello,

I have two visual layouts of my site. The alternate visual layout is triggered when the url includes the get value: popup=true.

When I’m writing links in my articles, I want to have ‘popup=true’ at the end of the links if the current page uses ‘popup=true’.

So I’ve tried doing something like this:

here

But that doesn’t seem to work, so I tried something like this:

here
But that just prints out the link, it doesn’t actually generate a link.

Any ideas?

Thanks,

Andrew

Last edited by picnichosue (2006-01-09 04:23:42)

Offline

#2 2006-01-09 01:54:16

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

Re: Trouble combining PHP with textpattern

Use pastebin.com to post code if you’re having trouble on the forum.


Alex

Offline

Board footer

Powered by FluxBB