Hi:

I was wanting to prepare a new page comparing modules for creating/importing/managing HTML tables, but was well into it before realizing I couldn't create it except using simple tags.

I'm thinking maybe this will give me permissions required to create table layout that I was planning to use.

Page would look like the type of thing here: http://drupal.org/node/266179. Specifically was thinking of doing it in this tabular format: http://drupal.org/node/323329.

But having built the page, I find I can't save it that way, so it looks like garbage.

Hadn't planned anything beyond this page, but possibly would find other opportunities over time.

Thank you,
John

----------------------
FYI, here's the page. A bit raw since I couldn't see it except as raw html.

<p>If you are looking for ways to simplify the creation or maintenance of HTML tables for display in blocks or nodes, these tables modules might be of help. Over the past few days, I have downloaded and tried all these modules to see which would work best for my needs.</p>

<table border="1">
<thead>
<tr>
<th>Feature</th>
<th><a href="http://drupal.org/project/quicktables" rel="nofollow">Quicktables</a></th>
<th><a href="http://drupal.org/project/tablemanager" rel="nofollow">Table Manager</a></th>
<th><a href="http://drupal.org/project/tables" rel="nofollow">Tables Filter</a></th>
<th><a href="http://drupal.org/project/matrix" rel="nofollow">CCK Matrix Field</a></th>
</tr>
</thead>


<tbody>
<tr>
<td align="center">How it works</td>
<td align="center">Generates blocks for tables built in specialized tables editor</td>
<td align="center">Input filter to display imported tables or tables built in tables editor</td>
<td align="center">Simplified input format (markup) for creating tables</td>
<td align="center">CCK field for entering tabular data</td>
</tr>


<tr>
<th colspan="10">Drupal version</th>
</tr>
<tr>
<td align="center">Drupal 6.x</td>
<td align="center">.dev</td>
<td align="center">.dev</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>
<tr>
<td align="center">Drupal 5.x</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>

<tr>
<th colspan="10">Styling options</th>
</tr>
<tr>
<td align="center">Specify table class/ID</td>
<td align="center">?not sure?</td>
<td align="center">auto-generated ID</td>
<td align="center">user specified</td>
<td align="center">no</td>
</tr>
<tr>
<td align="center">Specify cell class</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
</tr>


<tr>
<th colspan="10">Display options</th>
</tr>
<tr>
<td align="center">Display in blocks</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center">?not sure?</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>
<tr>
<td align="center">Display in nodes</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>

<tr>
<th colspan="10">Other</th>
</tr>
<tr>
<td align="center">Import from .csv file / other</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
</tr>
<tr>
<td align="center">Other features</td>
<td align="center">- reorder rows</td>
<td align="center">- sort by column<br/>- input filter accepts parameters</td>
<td align="center">- pre-defined CSS styles</td>
<td align="center"></td>
</tr>

</tbody>
</table>

Comments

john.kenney’s picture

bumping...

should i consider my request to be effectively denied by lack of answer? or does this simply take a long time for some reason?

not to mention that the details on my initial topic are fading memory with each passing day.

jhodgdon’s picture

The person who normally handles these requests has not had time to do anything lately in Drupal Doc realm. I'm not sure who else has permission (I don't), but for the moment I think you'll just have to be patient. Sorry about the delay!

add1sun’s picture

Title: Request to be a documentation admin » Create new page with doc filter
Component: Apply to be documentation admin » New documentation

Hey @John_Kenney thanks for working that up. If it is just this page for now, we can just go ahead and create it for you rather than elevating rights. You said you tried to create it already. Did you actually save the new page or abandon it on preview? I want to make sure we don't create the same page twice. Could you let us know what the parent page/title should be?

john.kenney’s picture

No, I don't think I did create it - couldn't save it as a table, so didn't create it cause it was a mess and I didn't want to do reconstruct it as plain text.

I have since made additional changes to it, so what I pasted for you isn't the latest. That said, it is hard to fine tune the text of a page when you can only see it in HTML. In other words, even the revised version I have, I can't say that is 'final' - not until I see it as text.

As to elevating rights, well, I'm finding this process a bit frustrating to be honest. I've no idea how significant a deal more rights is - I guess pretty significant or it would be a lot simpler and faster to get. Not at all obvious to me why you'd want to restrict people writing stuff, but I guess there are reasons.

The other option is to simply change the allowed HTML tags for non-rights holding people. This whole thing started because I couldn't do a table -- that's really the problem. I could use some other tags, but I couldn't make a page using table tags? Huh?

Perhaps that is the easiest solution: Can you just enable table tags and any other similarly basic tags? Then I don't need to bother you.

As to whether I'd write more: answer is probably yes - if it were easier to do and there weren't formatting restrictions. That's what I do: write stuff. I could blather on about any number of topics for which existing Drupal documentation sucks, particularly if you aren't a programmer/technical person. Examples: customizing error/warnings messages, module patching, customizing comment forms, etc. I'll spare you the rant, but I've spent hours chasing down stuff that really shouldn't be that hard to figure out.

So let me know what you want to do. If you don't want to grant me rights or change HTML tags, I can send you the doc. But honestly, if that's what we do, it's probably the last thing I'll write. Plenty of other things to keep me busy than hassling with trying to be a good citizen.

john.kenney’s picture

actually, here you go.

again, i haven't seen as text output, so can't promise this is 100% good to go. might require some final tuning.

<p>If you are looking for ways to simplify the creation or maintenance or uploading of HTML tables for display within blocks or nodes, these tables modules might be of help. These modules are specifically not to do with Drupal database tables.</p>

<p>Over the past few days, I have downloaded and tried all these modules, but spent more time with some than others. All of them work pretty well for what they are designed to do. I ended up going with Table Manager because it supports .csv imports and had the most complete styling options. The others all have good points, too.</p>

<p>I am writing this page partly because it was so bloody difficult to find all these modules. As usual, most of the developers use few words to describe their projects, so finding them is hit or miss. Some terms I tried were HTML tables, import Excel tables, import .csv tables, import Excel .csv files, node data tables, create HTML tables, and table modules.</p>

<p>Anyone knows of other similar types of modules, please post comment below.</p>

<table border="1">
<thead>
<tr>
<th>Feature</th>
<th><a href="http://drupal.org/project/quicktables" rel="nofollow">Quicktables</a></th>
<th><a href="http://drupal.org/project/tablemanager" rel="nofollow">Table Manager</a></th>
<th><a href="http://drupal.org/project/tables" rel="nofollow">Tables Filter</a></th>
<th><a href="http://drupal.org/project/matrix" rel="nofollow">CCK Matrix Field</a></th>
</tr>
</thead>


<tbody>
<tr>
<td align="center">How it works</td>
<td align="center">Generates blocks for tables built in specialized tables editor</td>
<td align="center">Input filter to display imported tables or tables built in tables editor</td>
<td align="center">Simplified input format (markup) for creating tables</td>
<td align="center">CCK field for entering tabular data</td>
</tr>

watchdog-warning.png

<tr>
<th colspan="10">Drupal version</th>
</tr>
<tr>
<td align="center">Drupal 6.x</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-warning.png"> (.dev)</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-warning.png"> (.dev)</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>
<tr>
<td align="center">Drupal 5.x</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>

<tr>
<th colspan="10">Styling options</th>
</tr>
<tr>
<td align="center">Table class/ID specified</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generated ID & class</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generated ID & class</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>user specified class or choose from pre-defined</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"><br/>no</td>
</tr>
<tr>
<td align="center">Cell classes specified</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generates col, row classes</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generates even/odd row clases; user can define classes down to individual cell level via input filter in source data table (highest level of control)</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generates col, row classes</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"><br/>limited to even/odd row classes, no classes on cells</td>
</tr>
<tr>
<td align="center">Header classes specified</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-warning.png"><br/>no, but you can work around</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generated</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>user can specify</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>auto-generated</td>
</tr>
<tr>
<td align="center">Allows HTML in cells</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"><br/>some limitations due to handling of quotes</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>
<tr>
<td align="center">Easily wrappable*</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
</tr>

<tr>
<th colspan="10">Display options</th>
</tr>
<tr>
<td align="center">Display in blocks</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"><br/>input filter doesn't work</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"><br/>input filter doesn't work</td>
<td align="center">?not sure?</td>
</tr>
<tr>
<td align="center">Display in nodes</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
</tr>

<tr>
<th colspan="10">Other</th>
</tr>
<tr>
<td align="center">Import from .csv file / other</td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-ok.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
<td align="center"><img src="http://drupal.org/misc/watchdog-error.png"></td>
</tr>
<tr>
<td align="center">Other features</td>
<td align="center">- reorder rows</td>
<td align="center">- sort by column<br/>- input filter accepts parameters<br/>- sticky headers</td>
<td align="center">- pre-defined CSS styles<br/>- only one that supports merging cells</td>
<td align="center">- multiple field types<br/>- sticky headers</td>
</tr>


</tbody>
</table>

<p>* Meaning you can wrap any auto-generated table code with your own HTML if additional styling or positioning is required - for instance, wrapping in a div.</p>
LeeHunter’s picture

I've created a new page here: http://drupal.org/node/619014 by pasting in your code but you're probably still not able to edit and update it. I don't have the rights to upgrade your edit permissions but at least you can see what it looks like.

john.kenney’s picture

ok, thanks for that. no, i can't edit it, but i guess having it up is better than not.

have to admit i am somewhat mystified by the process i've just experienced with this simple piece of documentation. 21 days elapsed time. still can't edit it. not very user friendly.

not at all obvious why it should be so difficult.

LeeHunter’s picture

Yeah, seems there's a real mismatch between what we want authenticated users to do and the limitations that are in place (text input filters). If we're going to allow someone to edit the documentation, it doesn't seem reasonable to block the use of the table tag.

john.kenney’s picture

thanks for the sympathetic ear.

not to be (too much of) an a**hole, but what is the back story on this situation? what is the perceived risk of having authenticated users editing with table tags? or, more generally, restricting document creation rights?

seems wholly counterproductive for the well being of the community.

i suppose if drupal documentation were the paragon of completeness and accuracy, one might want to keep the riff raff out, but that's hardly the case.

add1sun’s picture

I already have an issue pending on the table tag: #558398: Add table elements to Filtered HTML format. After I posted that, someone indicated that there is a security risk for the tag, though that sounds pretty weird to me. I have not been working on docs for the last month+ due to real life issues. I am currently in the queue temporarily for a doc sprint that is running, but will disappear back to real life again tomorrow, so I can't promise that I can get something done quickly. If someone else wants to pick up the torch on it, that would be great.

john.kenney’s picture

gotcha. thanks for explaining this better. it makes me feel better that it is a recognized issue.

i seconded your motion for a resolution on the thread you highlighted.

i personally doubt the security risk thing - never heard of that, but i think the breaking the page layout part could be correct cause 'width' and 'height' are direct attributes of those tags whereas they aren't for other tags. since it looks like d.o. allows those tags (but not 'style' tag), i guess that means someone could enter a crazy value and whack out a page.

but one can imagine there is a reasonably simple workaround. i posted two that came to mind. and you guys are much smarter than me.

in the meantime, i guess i will try to carry on without table tag. life can be very hard, indeed. :-)

john.kenney’s picture

already out of date!

just found this new module: http://drupal.org/project/tablefield

would add it, but can't.

add1sun’s picture

Status: Active » Fixed

Ugh, I'll just go ahead and do this. Hopefully when we get to a new site we can come up with better tools to let folks contribute more effectively without needing extra stuff. John, you've got rights. go nuts.

john.kenney’s picture

outstanding!

thanks, add1sun.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.