I'm trying to find a good solution to structuring data in Umbraco which should be displayed as a table view on a page.
I could use the awesome pacakge, Tabular Data from Mike Taylor, but the thing is, that the editor wants to be able to insert X number of columns, enter the header text for each column and be able to insert a link to a file or image in a cell.
I.e.:
Column header 1 - Column header 2 - Column header 3
----------------------------------------------------
Text - Text - Link
Text - Link - Text
The editor should be able to define the headers, the text of the headers, text in each cell and insert links in cells.
I'm considering trying to structure this with document types in Umbraco, using a document type for a table row, column and such, but I'm not sure if that would make sense to the editor and be userfriendly.
IMHO, if it aren't too many rows/columns it could work.
What about the Speadsheet uploader (http://our.umbraco.org/projects/backoffice-extensions/spreadsheet-uploader) shown at the package contest in Codegarden?
Hi Bo - totally crazy suggestion, I know - but how about a WYSIWYG with the table editor enabled - and then do a little extra to teach them how to use it to build the tables correctly?
I've done that before, though I usually also use my WYSIWYG helper (XSLT) to render the table, just to make sure I get the final say regarding the rendered markup :-)
I was going to suggest the same thing as Chriztian. It sounds like lunacy, and I try to give my clients a few options as I can physically get away with in the WYSIWYG editor, but actually tables seem to work surprisingly well - particularly if your table structure is quite simple. Adding <th> and <td> elements is straight forward enough and you can usually style the output reasonably reliably.
I went with your idea, Chriztian (and yours, Dan): a scraped RTE and it seems they (the client) actually enjoy working with it, so.. If they're happy, I am happy ;-) Though I would've loved a more clean/structured solution, but oh well!
Structuring data for a table view
Hi all,
I'm trying to find a good solution to structuring data in Umbraco which should be displayed as a table view on a page.
I could use the awesome pacakge, Tabular Data from Mike Taylor, but the thing is, that the editor wants to be able to insert X number of columns, enter the header text for each column and be able to insert a link to a file or image in a cell.
I.e.:
The editor should be able to define the headers, the text of the headers, text in each cell and insert links in cells.
I'm considering trying to structure this with document types in Umbraco, using a document type for a table row, column and such, but I'm not sure if that would make sense to the editor and be userfriendly.
Any thoughts on this? :-)
Thanks in advance!
- Bo
Hey Bo,
See below!
Rich
Actually this one http://ucomponents.codeplex.com/wikipage?title=TextstringArray&referringTitle=Documentation !
Bo, ignore me, too early.
:-D
Thanks anyway, Rich!
IMHO, if it aren't too many rows/columns it could work.
What about the Speadsheet uploader (http://our.umbraco.org/projects/backoffice-extensions/spreadsheet-uploader) shown at the package contest in Codegarden?
Hi Bo - totally crazy suggestion, I know - but how about a WYSIWYG with the table editor enabled - and then do a little extra to teach them how to use it to build the tables correctly?
I've done that before, though I usually also use my WYSIWYG helper (XSLT) to render the table, just to make sure I get the final say regarding the rendered markup :-)
/Chriztian
One possible solution would be to build a custom data type based on a usercontrol.
So you can have buttons to create the headings and to add new rows etc.
Haven't build something like that on my own but i think it would be possible.
I was going to suggest the same thing as Chriztian. It sounds like lunacy, and I try to give my clients a few options as I can physically get away with in the WYSIWYG editor, but actually tables seem to work surprisingly well - particularly if your table structure is quite simple. Adding <th> and <td> elements is straight forward enough and you can usually style the output reasonably reliably.
Hi all and thanks a lot for your inputs :-)
I went with your idea, Chriztian (and yours, Dan): a scraped RTE and it seems they (the client) actually enjoy working with it, so.. If they're happy, I am happy ;-) Though I would've loved a more clean/structured solution, but oh well!
Thanks again!
-Bo
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.