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
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
Hi Andreas,
> Markus
+-+
| Content Site 1 |
| |
+
Markus
>>> +-+
>>> | Content Site 1 |
>>> | |
>>> +-+
>>>
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
Hi Christopher,
>> The usecase for this:
>>
>> +-+
>> | Content Site 1 |
>> | |
>> +-
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
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
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();
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
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
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
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
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
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
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
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
_
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
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
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
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:/
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
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
23 matches
Mail list logo