Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-05-22 09:11:18
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Incoming url links - selectively add things to TXP-page
Is it possible, when linking from outside application to TXP-page, add to link url a “hook” which would add things for example to custom field? I’m looking for a solution where you could modify generated txp page depending the ulr pointing to it. Changing one image on page for example.
Offline
#2 2008-05-22 10:03:15
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Incoming url links - selectively add things to TXP-page
smd_if can react on what’s coming in in the URL bar. You just need to set up your page in advance to cover all the situations you want to show.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#3 2008-05-22 11:01:16
- ultramega
- Member
- Registered: 2006-02-26
- Posts: 221
Re: Incoming url links - selectively add things to TXP-page
Oh shit, It’s Bloke again! Thanks uli!
Offline
Re: Incoming url links - selectively add things to TXP-page
lol
‘tis I, the omnipotent complex plugin writer :-)
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
#5 2008-05-22 12:18:42
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Incoming url links - selectively add things to TXP-page
LOL
Depends on what you’re relating with what ;)
Can I take you elsewhere ?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline