Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2007-02-15 22:57:33

stephent
Member
From: London
Registered: 2006-07-21
Posts: 12
Website

Re: Side notes in Textpattern?

Hi Martin

Well, at the moment all I did was create an article form called “article_body” that contains just <txp:body />. But as you say, I could use the title for dive site name, body for the description and custom fields for the other attributes – just haven’t got round to that yet.

Having said that, I’m going to need more than 10 custom fields, given that I’m using 7 already. I’m sure I saw a plug-in for that already somewhere&hellip;

Of course the nice thing about this approach is that now I can reuse this content elsewhere – e.g. I guess I could type up all my dive log entries, post them as articles to a dive log section, then selectively drop them into longer posts. Of course the probability of that happening is close to zero, given my average posting rate!

Cheers,

Stephen

Offline

#17 2007-02-15 23:07:23

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Side notes in Textpattern?

stephent

You could try out the sed_pcf plugin that offers a whole dataset in a single custom field.


Steve

Offline

#18 2007-02-27 17:22:21

stephent
Member
From: London
Registered: 2006-07-21
Posts: 12
Website

Re: Side notes in Textpattern?

Steve – looks very useful. I’ll see how far I can get with it over the next couple of week.

S

Offline

#19 2007-02-27 20:27:36

travholt
Member
From: Oslo, Norway
Registered: 2004-08-04
Posts: 14
Website

Re: Side notes in Textpattern?

atbradley wrote:

travholt, it looks like ied_doarticle might do what you want—it’s supposed to let you insert one article’s body into another. If you have a CSS class for your sidenotes, you should be able to do something like:

<div class=sidenote><txp:ied_doArticle id="1" /></div>

Note that I don’t use this plugin—I have no idea how well it works.

Yay, thanks! Exactly what I wanted! I knew someone must have made something like what I wanted.

I have now made a new hidden section called “sidenotes” where I can put them all (well, there’s just one so far). And I’ve made a snippet in TextExpander so I type “gtdsb” to insert the ied_doArticle code for it. I’m a happy Textpatterner now. :-)

(And sorry for the late reply, I didn’t get notified of new posts in this topic until now.)

Offline

Board footer

Powered by FluxBB