Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates plugin #13

Open
AshRaghav opened this issue Jan 19, 2019 · 6 comments
Open

Templates plugin #13

AshRaghav opened this issue Jan 19, 2019 · 6 comments

Comments

@AshRaghav
Copy link

AshRaghav commented Jan 19, 2019

Hi,

I know that TinyMCE has got a "templates" plugin option which allows to insert custom templates which can then be edited by users to create the content in necessary format.

I am not sure if I am being too ambitious to ask for template insertion options on Plomino.tinymce - 0.7.3 but thought will still check with the authors.

If 0.7.3 doesn't support, do you know if there is another version of TinyMCE for Plomino with this feature?

Many thanks

@ebrehault
Copy link
Member

As far as I know, no.
@djay, haven't you investigated that some time ago?

@djay
Copy link

djay commented Jan 21, 2019

@AshRaghav your usecase is to just copy in preset content that can then be edited? or you have some of it non editable so only parts can be edited? Maybe outline what you are trying to achieve?

There are generic solutions for plone - https://github.com/collective/uwosh.snippets but not sure it works with plomino. In particular I think the plomino 2.x tinymce doesn't work with plones integrated tinymce.

You could just use a set of calculated fields in a subform that are normally not in the layout and insert them when needed?

@AshRaghav
Copy link
Author

Thanks @djay. The usecase I have is the former "just copy in preset content that can then be edited".

The snippet plugin looks good but the only thing again is from a non-technical user's point of view, it is slightly complicated to use than simple templates.

You could just use a set of calculated fields in a subform that are normally not in the layout and insert them when needed?

Guess I may have complicated my final goal.

My aim is to allow template insertions for Events content type such that a non-technical user can simply insert and edit where necessary. TinyMCE on my instance doesn't seem to allow template insertions prolly cos its quite old.

As an alternative, I was planning to do a similar subform with calculated fields (as you suggested) but the only thing that is currently stopping me is to mimic the "Add iCAL and vCAL" exports. I haven't quite figured out how to make this script pick up plomino fields.

I'll do some more research to see if I can find out but in the interim, if you have examples of any iCAL and vCAL implementations with plomino fields then that would be much appreciated. Thanks much.

@djay
Copy link

djay commented Jan 21, 2019

@AshRaghav I'd say that if all you want to use plomino for is to have a better Event object then I'm not sure its teh right tool. Plomino is better when when you have a more relational like database with more flexible workflow rather than adding enhancements to plone content types.

You should probably post this to community.plone.org with a full end to end description of what you are trying to achieve. Seems like perhaps a mosaic tile solution might fit your needs. or the uwosh.snippets.

@djay
Copy link

djay commented Jan 21, 2019

@AshRaghav
Copy link
Author

@djay - thanks. True - not trying to muddle them up together but some of the internal and external users are now quite adept with using Plomino forms, so familiarity does help to some extent.

And thanks - I have looked at the templating link but it was available only for Plone 5 by the sounds of it. I am still running 4.3.x :-(. I will post it in Plone community too and see if there are more suggestions. Thanks again for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants