Re: [TYPO3-english] TMENU and overrideID

2009-04-28 Thread Markus Deckmann
Hi Georg, > Markus Deckmann schrieb: >> You missunderstood...this is the original code from a 4.2.6 instance >> of typo3, but in my case $this->mconf['overrideId'] have the value >> TEXT, so $overrideArray get TEXT as value for uid-key too. > no it was you ;) I just wanted to tell you that this

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Markus Deckmann schrieb: > You missunderstood...this is the original code from a 4.2.6 instance of > typo3, but in my case $this->mconf['overrideId'] have the value TEXT, so > $overrideArray get TEXT as value for uid-key too. no it was you ;) I just wanted to tell you that this line is what you

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Andreas, > Markus +-+ | Content Site 1 | | | +

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Andreas Burg
Markus >>> +-+ >>> | Content Site 1 | >>> | | >>> +-+ >>>

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Georg, >> $overrideArray['uid'] = >> $this->mconf['overrideId']?$this->mconf['overrideId']:$this->menuArr[$key]['overrideId']; >> > looks ok for the patch ;) You missunderstood...this is the original code from a 4.2.6 instance of typo3, but in my case $this->mconf['overrideId'] have the va

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Christopher, >> The usecase for this: >> >> +-+ >> | Content Site 1 | >> | | >> +-

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Christopher Torgalson
On Mon, Apr 27, 2009 at 1:35 PM, Markus Deckmann wrote: > Hi Christopher, > >> Before you go patching the core (which might be nice...) why not >> explain what you're trying to do? Chances are quite good that there's >> another way to do it that you haven't considered. > > Its simple. On a submenu

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Markus Deckmann schrieb: > $overrideArray['uid'] = > $this->mconf['overrideId']?$this->mconf['overrideId']:$this->menuArr[$key]['overrideId']; > looks ok for the patch ;) georg ___ TYPO3-english mailing list TYPO3-english@lists.netfielders.de htt

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi, > anyway stdWrap for everything is nice too ;) The only occourence of overrideID I can find in typo3/sysext/cms/tslib/class.tslib_menu.php:1198 // Setting override ID if ($this->mconf['overrideId'] || $this->menuArr[$key]['overrideId']) { $overrideArray = array();

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Christopher, > Before you go patching the core (which might be nice...) why not > explain what you're trying to do? Chances are quite good that there's > another way to do it that you haven't considered. Its simple. On a submenu I want override the original ID with the activ page ID, but over

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Christopher Torgalson
On Mon, Apr 27, 2009 at 1:14 PM, Georg Ringer wrote: > Christopher Torgalson schrieb: >> Before you go patching the core (which might be nice...) why not >> explain what you're trying to do? Chances are quite good that there's >> another way to do it that you haven't considered. > > anyway stdWrap

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Christopher Torgalson schrieb: > Before you go patching the core (which might be nice...) why not > explain what you're trying to do? Chances are quite good that there's > another way to do it that you haven't considered. anyway stdWrap for everything is nice too ;) georg

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Markus Deckmann schrieb: > Ok...do you have a hint in which file the specified function is located? i guess the fastest thing is to just search in the files, a 1min job > What I have to do to enable stdWrap for the parameter take a look at the same class and how cObj->stdWrap is called > and

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Christopher Torgalson
Hi, On Mon, Apr 27, 2009 at 1:06 PM, Markus Deckmann wrote: > Hi Georg, > >> sure, enable stdWrap for this in the core by creating a patch > > Ok...do you have a hint in which file the specified function is located? > What I have to do to enable stdWrap for the parameter and how I provide > the p

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Georg, > sure, enable stdWrap for this in the core by creating a patch Ok...do you have a hint in which file the specified function is located? What I have to do to enable stdWrap for the parameter and how I provide the patch for further versions? Bye Markus

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Markus Deckmann schrieb: > Is there a possibility to use an INT as datatype or any other way to use > overrideID in this way? sure, enable stdWrap for this in the core by creating a patch Georg ___ TYPO3-english mailing list TYPO3-english@lists.netfiel

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Christopher, > If it is not (i.e. if the datatype of the receiving object is not > cObject), you are NOT passing the processed result of temp.page_id, > you are passing a string of text. Is there a possibility to use overrideID in this way? Bye Markus _

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Georg, > no a cObject with an integer as value Is there a possibility to use an INT as datatype or any other way to use overrideID in this way? Bye Markus ___ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Markus Deckmann schrieb: > Yes, I see. But I see that if intval is set, a integer should be return. no a cObject with an integer as value georg ___ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Christopher Torgalson
On Mon, Apr 27, 2009 at 12:30 PM, Markus Deckmann wrote: > Hi Georg, > >> as you can see in TsRef > overrideId expects only integer values and no >> cObjects > > Yes, I see. But I see that if intval is set, a integer should be return. Yes, IF the datatype that the object accepts is 'cObject.' If

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi Georg, > as you can see in TsRef > overrideId expects only integer values and no > cObjects Yes, I see. But I see that if intval is set, a integer should be return. Bye Markus ___ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http:/

Re: [TYPO3-english] TMENU and overrideID

2009-04-27 Thread Georg Ringer
Hi, Markus Deckmann schrieb: > page.20 < temp.page_id.10 vs > 1.overrideId < temp.page_id as you can see in TsRef > overrideId expects only integer values and no cObjects Georg ___ TYPO3-english mailing list TYPO3-english@lists.netfielders.de htt

[TYPO3-english] TMENU and overrideID

2009-04-27 Thread Markus Deckmann
Hi, Iam trying to use the following TS-Code: temp.page_id.10 = TEXT temp.page_id.10 { intval = 1 data = GPvar : id } page.20 < temp.page_id.10 ### ### Main-MenĂ¼ der Seite ### ### temp.submenu = HMENU temp.submenu.entryLevel = 2 temp.submenu