[TYPO3-core] RFC: Make the "Doc" module a sysext
Benjamin Mack
mack at xnos.org
Thu Oct 25 20:55:44 CEST 2007
Hey guys,
OK. here is an updated patch as well as an updated extension for trying out:
Some facts:
* Label is now called (as before) "Open Documents"
* The sysext is now called "opendocs"
* The sysext is /not/ installed by default
I only have one +1 so far, please coredevs and especially devs, test the
patch.
I have some questions:
* How is the translation handled (since the locallang file is now
moved)? What do I have to do this to merge all the translations as well?
* How can we integrate this in the update wizard? I'd like to say "Doc
Module is now removed and added as a new sysext", it also should install
this sysext when updating to 4.2, or shouldn't it? I'll have to look
into the update process function.
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
Benjamin Mack wrote:
> 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
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20071025_doc_module_as_sysext.patch
Type: text/x-patch
Size: 9741 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071025/6df187c1/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: T3X_opendocs-0_0_1-z-200710252058.t3x
Type: application/octet-stream
Size: 1677 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071025/6df187c1/attachment-0001.obj
More information about the TYPO3-team-core
mailing list