Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Popup Article
Hoping to find a simple way to include a link in an article form that when clicked opens the article being viewed in a new window which uses a different page.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#2 2009-04-10 23:32:12
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Popup Article
whaleen wrote:
…which uses a different page.
That would mean display the article in another section, if I don’t misunderstand what you are trying to do. Creating the link isn’t the problem (<a href="<txp:site_url /><txp:section name="other-section" />/<txp:article_url_title />">view this article somewhere else</a>
), but making it work (i.e. not return a 404) appears to require a hack.
Offline
Re: Popup Article
appears to require a hack.
Thank you for pointing that thread out.
That would mean display the article in another section
Exactly.
This way I can do txp:if_section
to present a singular article in different ways and also I can establish url structure in the way I wish to.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Pages: 1