Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2005-06-01 11:01:29
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: [archived] fha_reform - Simple table/list maker
Hello,
Any news on the update of this plugin.
Roelof
Offline
Re: [archived] fha_reform - Simple table/list maker
The table output works fine, but I want to use dl instead for tracklistings but not having much luck. Anyone know why it’s doing some funny spacing?
http://sekhu.net/txpattern/music/the-optimist
Cheers
Offline
#27 2005-06-04 12:46:46
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [archived] fha_reform - Simple table/list maker
> mamash wrote:
> Yes, I think I could put in some automatic col1-colN classes for columns, as well as odd/even classes for rows. Remind me in a couple of days if you don’t see an update here, OK?
Offline
Re: [archived] fha_reform - Simple table/list maker
sekhu wrote:
The table output works fine, but I want to use dl instead for tracklistings but not having much luck. Anyone know why it’s doing some funny spacing?
http://sekhu.net/txpattern/music/the-optimist
Cheers
They don’t validate. I ended up hard coding all of my mini tables (for some price listing stuff). I had mary take a look under the hood there are couple of problems going on on the back end I think because there have been so many core txp code changes since Filip made this. And he’s a busy boy over at textdrive answering all of my support tickets :)
What would be nice is a fork on this just for tables with more options. To me a list is no big deal…I mean textile does it for you, what more could you ask for. It’s tables that are a royal bitch to hand code. So a different type plugin that handles only tables in several different data presentation formats “scope” “col” “row” would be great. I don’t use them for design, but for data and I just about hate them more than anything else. There’s no love in building multiple pricing tables or product tables for a site.
Although custom class attributes on the plugin would be nice. One small (but big) missing item is the tag on the <th></th> are not being wrapped with <tr></tr>
The funny spacing is probably either
a) a break tag or p tag being injected by textile
b)style issue?
Last edited by soulship (2005-06-04 13:11:08)
Offline
#29 2005-06-09 17:22:11
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: [archived] fha_reform - Simple table/list maker
nobody to answer my question
Offline
Re: [archived] fha_reform - Simple table/list maker
This plugin is way better than textiles confounding tables, sorry dean, i still love txp! thanks for a great plugin mamash
Offline
Re: [archived] fha_reform - Simple table/list maker
Hi folks,
finally got around to update the plugin, so:
1. header fields now properly wrapped in a TR tag
2. a colclass attribute set to any value will put in col1…colN class names to all cell elements
3. a rowclass attribute set to any value will put in odd/even class names to all line elements
This was a quick update, so re-download and let me know if you come across any problems.
Who’s gonna textdrive you home tonight?
Offline
#32 2005-06-15 13:00:14
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: [archived] fha_reform - Simple table/list maker
hoi,
Im trying the new plugin:
In my css i typed :
<code>
kolom {
cellpadding : 20 ;
}
</code>
in my page i do :
<code>
<txp:fha_reform model=“table” delimiter=”. “ headers=“yes” class=“cdList” collclass=“kolom”>
</code>
But nothing happens.
Do i something wrong or is something else happing.
Roelof
Last edited by roelof (2005-06-15 13:00:36)
Offline
Re: [archived] fha_reform - Simple table/list maker
Hi Roelof,
you don’t understand: the collclass (and rowclass) parameter takes a “yes” value and the resulting class name will automatically become col1, col2, col3 etc. for each of the columns.
Who’s gonna textdrive you home tonight?
Offline
#34 2005-06-15 13:24:04
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: [archived] fha_reform - Simple table/list maker
oke,
If i understand it right now i must change collclass in yes.
Then i have to put col1, col2 and col3 in the css with a cellpadding of 10.
Roelof
Offline
Re: [archived] fha_reform - Simple table/list maker
Yes, but if want a cellpadding of 10 on all columns, you may just as well do it on all ‘td’, because that will work the same.
Who’s gonna textdrive you home tonight?
Offline
Re: [archived] fha_reform - Simple table/list maker
> sekhu wrote:
> The table output works fine, but I want to use dl instead for tracklistings but not having much luck. Anyone know why it’s doing some funny spacing?
http://sekhu.net/txpattern/music/the-optimist
Hi Sekhu,
but that’s just what it is supposed to look like. A DD is a block-level element so it renders below a DT. You would have to make the DT float left or something. I’m not sure what you’re really trying to achieve – to have a DL which looks like a table? I must admit I don’t understand the point in putting in a DL, when the content obviously is what tables were made for.
Who’s gonna textdrive you home tonight?
Offline