Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-10 01:44:54

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

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

#3 2009-04-12 08:25:31

whaleen
Member
From: Portland
Registered: 2006-05-11
Posts: 373
Website

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

Board footer

Powered by FluxBB