[aplaws - Developing on APLAWS+] r1947 Glossary item WYSIWYG editor

View: New views
8 Messages — Rating Filter:   Alert me  

[aplaws - Developing on APLAWS+] r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7468967
By: terry_permeance

PURPOSE

Glossary item should use a WYSIWYG editor

CONFIGURATION

    ccm set com.arsdigita.cms.contenttypes.glossaryitem.use_dhtml_editor=true
        (to enable, false by default)

    ccm set com.arsdigita.cms.contenttypes.glossaryitem.fck_editor_config=<path>
        (uses fckconfig_forum.js by default)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7470666
By: pboy

Terry,

I think that is a good idea and should be implemented.

I did something similiar with a field of the event contenttyp and introduced

>  com.arsdigita.cms.contenttypes.event.use_html_date_description=false|true

So may be should enable/disable dhtml on a per field base (as a systematic structure
for any content type we may modify this way)?

Peter



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7470687
By: pboy

Terry,

just have seen that you already have committed the patch.

Nevertheless, we should introduce a nameing pattern, eg.

c.ad.cms.<content-type>.<field-name>-as-rft  

or something like that.

 
>  ccm set com.arsdigita.cms.contenttypes.glossaryitem.fck_editor_config=<path>
>  (uses fckconfig_forum.js by default)

I think fckconfig_forum as default is a bad idea because it introduces a horizontal
dependency between modules (which is generally a bad design, especially in this
case because they are independet by its purpose and usage). So it should either
use a default configuration as specified in cms (because glossary is a
ccm-cms-types-<module> so it generates no additional module dependency).


Peter

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7470731
By: terry_permeance

I'm not sure what "rft" is so I would propose the following convention:

c.ad.ct.cms.<content-type>.<field-name>.editor=(wysiwyg|text)

Regards,
Terry


P.S. I can't claim credit for the coding. I'm committing code from our new developer
Tim Carpenter who is being inducted into APLAWS as we speak.




______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7470745
By: pboy

Terry,

> I'm not sure what "rft"

rtf = richt text field, that is the term the dhtml editor people are naming
the text area were a WYSIWYG editor is used instead of the plain text.


>  I can't claim credit for the coding. I'm committing code from our new developer
Tim Carpenter
>  who is being inducted into APLAWS as we speak.

Yes, I got his application for write access and will grant it to him asap.


Peter



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7470834
By: terry_permeance

Okay. I think we should use a term/acronym that anybody would know without doing
a search. It's a usability issue I guess. It still prefer:

c.adcms.ct.<content-type>.<field-name>.editor=(wysiwyg|text)

where "text" is the default but I'll go with whatever the community thinks is
best :-)

Thanks,
Terry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7471028
By: pboy

Terry,

your proposal is much better and we should do that way.


Peter



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel

[aplaws - Developing on APLAWS+] RE: r1947 Glossary item WYSIWYG editor

by Aplaws - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7489682
By: terry_permeance

Done. See r1953

NEW USAGE:
ccm set com.arsdigita.cms.contenttypes.glossaryitem.definition.editor=text
(default)
ccm set com.arsdigita.cms.contenttypes.glossaryitem.definition.editor=wysiwyg


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=368401

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Aplaws-devel mailing list
Aplaws-devel@...
https://lists.sourceforge.net/lists/listinfo/aplaws-devel