[TYPO3-english] Customizing Aloha
Scotty C
superscotty19 at yahoo.com
Thu May 14 12:26:55 CEST 2015
Glad I'm not the only one ;-)
Update:
Aloha for TYPO3 is really closely tied to the original, so the documentation from aloha-editor.org was fairly intuitive. As such, I propose the following modifications to make a *SuPeR* editor:
- typo3conf/ext/aloha/Configuration/Header/Default.html:
Add the following to the plugin include list (if not already present):
common/align,
common/image,common/table,common/horizontalruler,common/list,
common/link,
- typo3conf/ext/aloha/Configuration/JavaScript/configuration.js:
1.) Uncomment "Insert Tab" section2.) Modify "plugins" : { "Format": { config to look like this:config : [ 'b', 'i', 'u', 'del', 'sub', 'sup', 'p', 'h1', 'h2', 'h3', 'pre' ],
3.) Add the following below "Format"'s "},":"align": { config: { alignment: ['right', 'left', 'center', 'justify'], },
editables: { '.nostyles' : [ ] }},4.) Modify the "table" section as follows:config : [ 'table' ], editables : { // Allow insert tables only into .bodytext'.bodytext' : [ 'table' ]
I'm using this configuration as I type (read: hammering on it to pressure test it) and .... it's just so powerful! The only problem I've found is this:
Fatal error: Call to a member function sL() on a non-object in /typo3conf/ext/aloha/Classes/Utility/Helper.php on line 54
... which refers to the following line:
$text = $GLOBALS['LANG']->sL('LLL:EXT:aloha/Resources/Private/Language/' . $file . ':' . $key);
I'm assuming this was a tslib fix, but clearly it's breaking something. To my understanding, Aloha is acting as if I'm not logged in (even though I am) ..?
-Scott.
From: Ralf-Rene Schröder <ralf.rene at online.de>
To: typo3-english at lists.typo3.org
Sent: Thursday, May 14, 2015 2:34 AM
Subject: Re: [TYPO3-english] Customizing Aloha
Am 14.05.2015 um 09:49 schrieb Scotty C:
> but EVERY time I post to this list (after spending no less than 2 days researching before posting, making sure this is a last resort) ... I find the answer minutes after :-P
Thats absolutly normal... ;-)
some weeks ago i've found the solution directly BEFORE sending the
question (so i could send the solution directly with it) !!!
Thanks for the solution...
--
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list