Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-05-05 18:24:42

FireFusion
Member
Registered: 2005-05-10
Posts: 698

Ability to load any article into any section via URL parameter

Would be useful for time when i need article data in a different format such as an iframe or ajax tooltip. Could be something like this…

http://site.com/tooltip?article_id=123

This is one of the only things i’m really missing when working in TXP rather than expressionengine.

Last edited by FireFusion (2009-05-06 06:41:13)

Offline

#2 2009-05-05 19:52:11

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Ability to load any article into any section via URL parameter

Try a combination of adi_gps and txp:article_custom and use the url variable (which adi_gps automatically puts in a txp:variable) as the value for the id attribute e.g.: id='<txp:variable name="article_id" />'.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB