• I’m looking for a way to allow for an easy to use plugin to display tabular data similar to the kind you see on MySpace where artists can list their tour dates in a nice table format. In other words, I’d like for someone to come in, make a post with tour information and then it appears in the post properly formatted with the date in one column, venue in the next and time after that. I don’t even know how they do that on MySpace so does anyone know of a plugin that can do this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • I don’t think there is a plugin. I wrote an addition to the quicktags to display some pretty complex tables for a client who has a bridge blog and some investment blogs.

    Here’s the “simplest” table one:

    edButtons[edButtons.length] =
    new edButton('ed_table'
    ,'Table'
    ,'<strong>*</strong>nn<table class="table" cellspacing="2" cellpadding="7">n<tr>n<td class="td1">*</td>n<td class="td2">*</td>n<td class="td3">*</td>n</tr>n<tr>n<td class="td1">*</td>n<td class="td2">*</td>n<td class="td3">*</td>n</tr>n<tr>n<td class="td1">*</td>n<td class="td2">*</td>n<td class="td3">*</td>n</tr>n<tr>n<td class="td1">*</td>n<td class="td2">*</td>n<td class="td3">*</td>n</tr>n</table>nn'
    ,''
    );

    This is a fairly simple table with areas for text entry noted by *. It should work if you simply plug it in just like that in quicktags.js. You can style it through the style.css of course. And you should be able to extrapolate from how that one’s laid out, how to change to the sort of tabular display you need.

    Thread Starter databell96

    (@databell96)

    Anywhere specific in the quicktags.js file? Or does it matter?

    I generally put my additions at the top, as they’re the ones most likely to need editing/emending at some point. And that way the show up first in the row of buttons.

    Thread Starter databell96

    (@databell96)

    I’ll try that and come back if I have any questions/problems. Thanks, vkaryl.

    Please do! Happy to help….

    Thread Starter databell96

    (@databell96)

    OK, I’ve got the change to my .js but how do I use it in a post?

    From the write post screen…. in the quicktags bar (um. this WON’T work if you’re using the wysiwyg!), you should see a new button labeled “Table”.

    Thread Starter databell96

    (@databell96)

    I’m using a Mac so I guess I’m not getting that quicktags bar at all.

    Oy. Ouch. The things we forget to ask the poster. I’m sorry, yes, I guess unless you have one of the new mac/intel munges you don’t get it. So all my posts in this topic were of no use whatsoever.

    My aplogies…. the only thing I can think of for you to do then would be set up the table the way you want it, save it to a text file, then copy and paste from the text file whenever you need the table.

    Thread Starter databell96

    (@databell96)

    Well, fortunately the clients are the ones doing the editing and they’ll be on PCs for the most part. I do have Virtual PC so I could try that just for kicks.

    But thanks for everything. I’m no programmer so any advice is extremely beneficial to me.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Tabluar Data Plug-In?’ is closed to new replies.