Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-02-24 13:59:51

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

[request] A plugin to break article text into multiple columns

is there, anybody knows?

Offline

#2 2013-02-24 14:32:17

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [request] A plugin to break article text into multiple columns

Why would you want to do that with a plugin?

CSS3 columns will give you the effect you want – it’s not supported in every browser yet but the ones that don’t recognise it will leave your text as a single column, so that’s OK.

Offline

#3 2013-02-24 18:48:24

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: [request] A plugin to break article text into multiple columns

You could also replace an arbitrary sequence of characters to be defined, placed inside an article, with </div><div class="col2"> by applying Jukka’s nice rah_replace. You’d need an extra form for storing the additional opening div.col1, your actual tags (or output_form tag of the standard form), and the closing div.

But this approach opens spaces for devastations made by untalented authors ;)

And then there’ll surely be a jQuery plugin that does all this after recognizing a classname.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2013-02-24 19:02:00

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: [request] A plugin to break article text into multiple columns

@uli I really wouldn’t recommend either of those suggestions – they are very hacky solutions. The CSS3 column module was designed specifically for this task so that’s what should be used.

Offline

#5 2013-02-24 19:18:34

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,303

Re: [request] A plugin to break article text into multiple columns

You should see me doing things completely and merely with cable ties, yes ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2013-02-24 19:26:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: [request] A plugin to break article text into multiple columns

uli wrote:

then there’ll surely be a jQuery plugin that does …

Indeed there is.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2013-02-24 20:41:44

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: [request] A plugin to break article text into multiple columns

I’ve used jcb_columnize successfully before.

Offline

#8 2013-02-25 07:50:42

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: [request] A plugin to break article text into multiple columns

thank’s all your suggestions. i will test now…

Offline

Board footer

Powered by FluxBB