Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2013-04-01 14:46:19
- satellite360
- Member
- Registered: 2006-04-24
- Posts: 14
Double-hash ## code snippet?
Looking through some old textpattern code on a broken site and have come across examples like the following:
<head>
<title>whatever</title>
##head_data##
</head>
I’m guessing the ##head_data## part is some kind of code snippet but I can’t find a reference to it anywhere. Grateful for a pointer as to how this works.
Offline
Re: Double-hash ## code snippet?
It looks like a comment encoded wrongly to me
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Double-hash ## code snippet?
satellite360 wrote:
I’m guessing the ##head_data## part is some kind of code snippet
Is it a multi-lingual site? MLP uses that format for what it calls Snippets, and replaces them with localized content. Might be that.
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
#4 2013-04-01 16:17:59
- satellite360
- Member
- Registered: 2006-04-24
- Posts: 14
Re: Double-hash ## code snippet?
Thanks Bloke – MLP is exactly what it is. Just found the snippets buried in the txp_lang table.
Offline
Re: Double-hash ## code snippet?
satellite360 wrote:
Thanks Bloke – MLP is exactly what it is. Just found the snippets buried in the txp_lang table.
No worries, so you should be able to manage those under Content -> MLP -> Snippets
.
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
Pages: 1