[TYPO3-core] RFC: Make the "Doc" module a sysext
Benjamin Mack
mack at xnos.org
Tue Sep 18 21:58:17 CEST 2007
Hey everybody,
this is something I really like to see go in 4.2. The initial idea came
from Jens Hoffmann, I really think it's useful and told Ingo yesterday
about it.
I don't know if you all like it or not, since it moves some features
that were there forever from back in the days (pre 3.6 ;-)) and
therefore could break some backwards compatibility (If not, it's great
too :-)). I still hope that we can ship this with the 4-series that's
why I give it a try here...
So, what is Benni talking about?
* I think that the "Doc" module on the right menu is used little and
that it should be included in the "User" module as a submodule since
it's the list of documents that the User opened before. (so, therefore
it gets renamed from "doc" to "user_doc").
* Also, I want to make it a sysext in the same approach, so we have one
less thing in the "typo3/mod/" directory. Plus: it's easy to remove that
ext at some point (if somebody would feel we don't need it anymore).
* Also, I think that the name "Doc." is totally unusable. Nobody knows
what is going on unless you click on it and figure it out for yourself.
That's why I think "Documents" or "Open Documents" would be way more
appropriate and understandable for people. Of course, we can change that
label.
OK, what do we have here?
a) "user_doc.png"
a screenshot on how it looks like.
b) To try it out:
"T3X_user_doc-0_0_1-z-200709182108" is the new extension adds the new
functionality as an ext. Also apply the patch
20070918_mod_user_doc.patch, which basically removes the old (hard
coded) "doc" module and adds the new "user_doc" ext as default.
c) The whole pack (no binaries):
"20070918_mod_user_doc_all.patch" does all the changes to your system,
although you need to provide the extension binary files "ext_icon.gif"
and "mod/document.gif" (they are the same) which you can get from
"typo3/mod/doc/document.gif".
Certainly there are a couple of lines where the "doc" is still hard
coded, just let me know if you know one and I'll fix it. Also, I don't
know if I made my approach right (still a "core newbie") with the
translation etc. Once, everything works and the new one is under version
control, I'll also remove the following files from SVN:
D mod/doc
D mod/doc/document.gif
D mod/doc/clear.gif
D mod/doc/conf.php
D sysext/lang/locallang_mod_doc.xml
--
greetings,
benni.
-SDG-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070918_mod_user_doc.patch
Type: text/x-patch
Size: 6032 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070918/68bc9a03/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070918_mod_user_doc_all.patch
Type: text/x-patch
Size: 11357 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070918/68bc9a03/attachment-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: T3X_user_doc-0_0_1-z-200709182108.t3x
Type: application/octet-stream
Size: 1651 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070918/68bc9a03/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: user_doc.png
Type: image/png
Size: 36687 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070918/68bc9a03/attachment-0001.png
More information about the TYPO3-team-core
mailing list