We have a table that needs to be created in a consistent way across pages and users need to be able to add them to existing pages as desired and then edit them (add rows).
I'm wondering if there is a way for a user to be able to insert a predefined table (has column headers set), and then be able to edit it. Sort of like a template for just a table.
I tried creating a user macro which can insert a table no problem, but it is not editable because the user editable 'body' can't be within a table as far as I can see.
Is there a feature that can do this?
This is a tough nut to crack. You could start with a page template, and have users ALWAYS start that way. But you also want people to be able to insert this table.
The only way I can think of solving this is to write a plugin that adds a button to the editor ribbon. Clicking this button would run javascript to insert the base table. All this will take some time, especially if you have not developed a plugin before.
You may to just use a two pronged approach:
Not the most elegant, but quicker to set up.
Hi, thanks for your response.
The use of new page templates and copy/paste is what we are currently relying on and the copy/pasting mechanism has some odd behavior that we are trying to get away from if possible. I'll post a separate question about that since maybe it can be streamlined a bit.
Creating a custom plugin sounds like it could work but I think it is too much overhead to make it worth the trouble for us.
thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would be interested in this solution too. Was this added as a feature-request?
BR
Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.