TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-dev@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 06.06.2007, 08:58
Tapio Markula
Gast
 
Beiträge: n/a
Standard [TYPO3-dev] Start module - priorities

Hi

I found in the English list that start module has been added to Typo3 4.x.
http://bugs.typo3.org/view.php?id=3894
I disagree with the *priority* setting, which is i

1. Get params
2. Start Module
3. Start from task center

on the base of this fragment:
if (!$module) {
if ($BE_USER->uc['startModule']) {
$module = $BE_USER->uc['startModule'];
} elseif ($BE_USER->uc['startInTaskCenter']) {
$module = 'user_task';
}
}

I would set this priority, which I have set in tm_shared_lib

1. Start from task center
2. Start Module
3. Get params

Reasons:

* Start from task center is special option and that's why should have
the highest priority
* Get params are *out of the control of the administrator* - very bad!.
Because of this issue imo this should have the lowest priority.
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...info/typo3-dev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Sponsored Links
  #2  
Alt 06.06.2007, 10:05
Martin Kutschker
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-dev] Start module - priorities

Tapio Markula schrieb:
>
> I would set this priority, which I have set in tm_shared_lib
>
> 1. Start from task center
> 2. Start Module
> 3. Get params


You mean: if task center present (installed and available for the current
user) then use it.

That defeats all possible configuration for alternatives. The point of this
setting is exactly to have an alternative start module.

But I guess it's questionable if the user or the admin is responsible for
the start module. IMHO a user may choose, but an admin should have override
options via user/group TS settings. Maybe he could also limit the available
modules to choose from for the user settings.

Masi
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...info/typo3-dev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 06.06.2007, 10:57
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-dev] Start module - priorities

Martin Kutschker kirjoitti:
> Tapio Markula schrieb:
>>
>> I would set this priority, which I have set in tm_shared_lib
>>
>> 1. Start from task center
>> 2. Start Module
>> 3. Get params

>
> You mean: if task center present (installed and available for the
> current user) then use it.'


No. But it the option is to 'Start from taskcenter' is enabled imo it
should be understood a kind of override setting and that's why priority.

> That defeats all possible configuration for alternatives. The point of
> this setting is exactly to have an alternative start module.


My too. 'Start from taskcenter' would be just *exception* - a kind of
shortcut definition too.

> But I guess it's questionable if the user or the admin is responsible
> for the start module. IMHO a user may choose, but an admin should have
> override options via user/group TS settings.


Yes - but if GET-parameters have the highest priority then
setup.override.startModule=... would not work. This was my main point.

At least Typo3 shoud check if
setup.override.startFromTaskcenter
or
setup.override.startModule

have been set.
That could be done for example this way:

$this->overrideProperties =
$3lib_BEfunc::getModTSconfig(0,'setup.override');
$this->overrideProperties=$this->overrideProperties['properties'];

then conditions would be following.

if(!$this->overrideProperties['startFromTaskcenter'] &&
!$this->overrideProperties['startModule'] && $module)) {
$module=... // information from GET-variables
}
elseif ($BE_USER->uc['startInTaskCenter']) {
$module = 'user_task';
}
elseif ($BE_USER->uc['startModule']) {
$module = $BE_USER->uc['startModule'];
}

This should set highest priority for admin settings but
GET parameters would override *normal* user settings,
but *not* those, which have been set by 'setup.override.something'.

It would be nice also that user could set startModule then
from User > Setup, when the setting would be fully consintent.

Maybe he could also limit
> the available modules to choose from for the user settings.
>
> Masi

_______________________________________________
TYPO3-dev mailing list
TYPO3-dev (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...info/typo3-dev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 06.06.2007, 12:01
Andreas Balzer
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-dev] Start module - priorities

Hi
Just as another idea: Isn't it possible for the admin to disallow the
user from selecting the taskcenter as the start module? (just disable
the UI elements)..

I would preffer a possible selection between the modules firstly in the
user/group elements of TYPO3 (where you select access lists, etc) and
secondly in the users setup module.



just my 2 cents
Andreas
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...info/typo3-dev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 06.06.2007, 12:45
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-dev] Start module - priorities

Andreas Balzer kirjoitti:
> Hi
> Just as another idea: Isn't it possible for the admin to disallow the
> user from selecting the taskcenter as the start module?


belongs to default features using setup.override...
but this doen't hide the entire selection
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...info/typo3-dev
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] dkd_feuser_belogin: start CMS Login does not appear Christian Hensel typo3-english@lists.netfielders.de 2 27.04.2007 10:49
[TYPO3] Accessing backend-module class from other backend-module? Mathias Gisch typo3-english@lists.netfielders.de 0 15.04.2007 11:21
[TYPO3] 0005287: Page module does not work/start Andreas Balzer typo3-english@lists.netfielders.de 3 26.03.2007 01:07
[TYPO3] Links broken and start to work again Tomas Havner typo3-english@lists.netfielders.de 0 01.02.2007 17:10
[TYPO3] foldoutmenu start level. Asbjørn Morell typo3-english@lists.netfielders.de 3 22.01.2007 08:23


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:24 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101