Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-06-17 20:58:48

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [archived] fha_reform - Simple table/list maker

Yaaa. Haven’t tried it yet, but thanks for the update!

Offline

#38 2006-02-09 19:06:26

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,124
Website GitHub

Re: [archived] fha_reform - Simple table/list maker

Hi mamash,
I’ve used fha_reform successfully many a time in the past. Now using textpattern 4.03 and fha_reform 0.3 it seems fha_reform is not catching the line endings. If I use your sample from the help:

<code>
<txp:fha_reform model=“table” delimiter=”. “ headers=“yes” class=“cd_listing”>
No.. Title. Duration
1. Track01. 5:23
2. Track02. 8:01
3. Track03. 4:57
</txp:fha_reform>
</code>

I get one long row rather than several rows:

<code>
<table class=“cd_listing”>
<thead><tr><th class=“text”>
No.</th><th class=“text”>Title</th><th class=“text”>Duration
1</th><th class=“text”>Track01</th><th class=“text”>5:23
2</th><th class=“text”>Track02</th><th class=“text”>8:01
3</th><th class=“text”>Track03</th><th class=“time”>4:57
</th></tr></thead>
</table>
</code>

Any ideas what the reason could be? and of course what the solution might be?

FYI:If I use the textile way with | then the line-endings work but I can’t do things like column heads etc.

many thanks!

jakob

Last edited by jakob (2006-02-09 19:07:16)


TXP Builders – finely-crafted code, design and txp

Offline

#39 2006-03-08 19:53:06

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [archived] fha_reform - Simple table/list maker

Filip, Do you have any plans on updating this to work with the latest releases? Please say yes so I don’t have to hardcode pricing tables (ick!)

Thanks!

Offline

#40 2006-03-08 21:13:55

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,124
Website GitHub

Re: [archived] fha_reform - Simple table/list maker

Soulship, I found that it will work but you have to write <br /> at the end of the line. I also found that you can do quite a lot more with textile than I was aware of — this Textile Reference was a big help and has more detailed information about textile than the textism site.


TXP Builders – finely-crafted code, design and txp

Offline

#41 2006-03-09 10:52:50

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 128
Website

Re: [archived] fha_reform - Simple table/list maker

Hey folks, I think I will update it soon, but meanwhile, just go into the plugin source and remove the <br /> tag in there. Looks like 4.0.3 changed some of how the content is passed over to plugins and I admit I haven’t been watching TXP updates recently.


Who’s gonna textdrive you home tonight?

Offline

#42 2006-03-09 16:17:04

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [archived] fha_reform - Simple table/list maker

Thanks Filip I forgot to post that after disecting the plugin. It’s all working now. But if you’re working on it anyway a scope=“col” or scope=“row” attribute would be really nice :)

Offline

#43 2006-07-31 17:28:04

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: [archived] fha_reform - Simple table/list maker

Really nice plug-in Filip.

I’m fairly new to TXP and just had a couple of questions –
I stripped out the <code><br /></code> and the tables are working fine, except that the top line is not formatting as a header.

Secondly, how can I insert txp tags so the tables are generated automatically?

Thanks in advance for your time and help.

Offline

#44 2006-09-26 08:06:48

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [archived] fha_reform - Simple table/list maker

Hello Filip,

I’ve tried to put a <code><txp:body /></code> tag in your plugin but it’s ignored, should it work or am I doing something wrong here?
Be nice if it worked then low tech customers wouldn’t need to see the scary plugin tag and attributes.
Thanks very much, Lee

<code><txp:fha_reform model=“table” delimiter=”. “ headers=“yes” class=“cd_listing”>
Date. Cost
<txp:body />
</txp:fha_reform></code>

Last edited by lee (2006-09-26 08:07:36)

Offline

#45 2006-09-26 08:23:10

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 128
Website

Re: [archived] fha_reform - Simple table/list maker

Won’t handle any TXP tags (doesn’t do any parsing and doesn’t pass through to parsing functions either). I admit I have not had any time to look at this plugin for a long time and the perspective is not good either.


Who’s gonna textdrive you home tonight?

Offline

#46 2006-09-26 08:29:24

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [archived] fha_reform - Simple table/list maker

Thanks, I understand. $60 make you feel like adding in parsing?

Offline

#47 2006-09-26 08:40:59

mamash
Member
From: Prague
Registered: 2004-02-21
Posts: 128
Website

Re: [archived] fha_reform - Simple table/list maker

I don’t think I can squeeze this in this week, but will try to have a look next week.


Who’s gonna textdrive you home tonight?

Offline

#48 2006-09-26 08:44:05

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [archived] fha_reform - Simple table/list maker

Cheers Mamash, let me know how you want paying when you’re ready.

Edit: Just 1 thing, can it be made to work with the latest rev.

Last edited by lee (2006-09-26 08:45:16)

Offline

Board footer

Powered by FluxBB