
| Key: |
FC-1297
|
| Type: |
Improvement
|
| Status: |
Open
|
| Priority: |
Critical
|
| Assignee: |
Unassigned
|
| Reporter: |
Jørgen M. Skogås
|
| Votes: |
3
|
| Watchers: |
0
|
|
|
FarCry Core
Created: 14/May/08 11:22 PM
Updated: 28/May/08 05:29 PM
|
|
| Component/s: |
Formtools
|
| Affects Version/s: |
FarCry 4.0,
4.0.9,
4.0.10
|
| Fix Version/s: |
5.0.1
|
|
|
It would be great to have some kind of config options for the richtext. We are working on a newsletter plugin that will be released when we are satisfied and need to have one config for the project/CMS and another for the newsletter plugin. We can ofcourse make a new formtool (ie idlnewsletterRichtext), or check the metadata from the project/packages/formtools/richtext.cfc for content type and dynamicly change the config. But since we are making a plugin, we feel that the config should be inside the plugin folder and not need to change project files to have the editor to work like it should do.
Maybe there could be some core defaults checking if a content type have a getRichtextConfig() and then it will automatic use this, or if the content type have a cfproperty fttype="richtext" and the ftConfig="myContentType.getRichTextConfig". Or instead of ftConfig it could be separated into ftConfigData="myfunction" and ftConfigTypename="contentType", ftContentTypename could default to the caller content type.
|
|
Description
|
It would be great to have some kind of config options for the richtext. We are working on a newsletter plugin that will be released when we are satisfied and need to have one config for the project/CMS and another for the newsletter plugin. We can ofcourse make a new formtool (ie idlnewsletterRichtext), or check the metadata from the project/packages/formtools/richtext.cfc for content type and dynamicly change the config. But since we are making a plugin, we feel that the config should be inside the plugin folder and not need to change project files to have the editor to work like it should do.
Maybe there could be some core defaults checking if a content type have a getRichtextConfig() and then it will automatic use this, or if the content type have a cfproperty fttype="richtext" and the ftConfig="myContentType.getRichTextConfig". Or instead of ftConfig it could be separated into ftConfigData="myfunction" and ftConfigTypename="contentType", ftContentTypename could default to the caller content type.
|
Show » |
| There are no comments yet on this issue.
|
|