Re: [TYPO3-english] startingpoint custom extensions TYPO3 4.5

2011-02-16 Thread Ernesto Baschny [cron IT]
Adrian Mot schrieb am 15.02.2011 12:30:
 Hello everybody,
 
 I have upgraded from 4.4 to 4.5 and now the Startingpoint (Pages) field
 from the custom extensions is missing.
 
 I thought first that these were disabled by default in 4.5, so I have
 changed the ext_tables.php in the ext folder:
 $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform,pages';
 
 
 The result was that the Startingpoint was added below the flexform (as
 it was in 4.4), but whenever I try to add a page there (either via popup
 or autocomplete) I receive a JS alert:
 
 Formfields missing:
  fName: [object NodeList]
  fName_list:[object NodeList]
  type:undefined
  fName:data[tt_content][44][pages]
 
 I also tried a fresh 4.5 setup, and then adding an extension to test it,
 but the same result comes up.
 
 I could do it the easy way just to implement a new flexform field for
 this purpose, but I am really keen on knowing what am I doing wrong.
 
 Do you have any idea about the above issue?

The pages field is now always rendered by default, so you don't need
to add it specifically as you've done. Adding it in fact might be the
cause of the JS error because the field will be then present twice in
different tabs.

The tab of this field is called Behaviour and the field is labeled
Record Storage Page.

Cheers,
Ernesto

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] startingpoint custom extensions TYPO3 4.5

2011-02-16 Thread Adrian Mot

Hi Ernesto,

You are absolutely right. I have not checked the other tabs.

Thanks,
Adrian

On 16.02.2011 22:50, Ernesto Baschny [cron IT] wrote:

The pages field is now always rendered by default, so you don't need
to add it specifically as you've done. Adding it in fact might be the
cause of the JS error because the field will be then present twice in
different tabs.

The tab of this field is called Behaviour and the field is labeled
Record Storage Page.

Cheers,
Ernesto

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] startingpoint custom extensions TYPO3 4.5

2011-02-15 Thread Kay Strobach
Hi do you have date2cal installed?
If yes remove it.

Kay

Am 15.02.2011 12:30, schrieb Adrian Mot:
 Hello everybody,
 
 I have upgraded from 4.4 to 4.5 and now the Startingpoint (Pages) field
 from the custom extensions is missing.
 
 I thought first that these were disabled by default in 4.5, so I have
 changed the ext_tables.php in the ext folder:
 $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform,pages';
 
 
 The result was that the Startingpoint was added below the flexform (as
 it was in 4.4), but whenever I try to add a page there (either via popup
 or autocomplete) I receive a JS alert:
 
 Formfields missing:
  fName: [object NodeList]
  fName_list:[object NodeList]
  type:undefined
  fName:data[tt_content][44][pages]
 
 I also tried a fresh 4.5 setup, and then adding an extension to test it,
 but the same result comes up.
 
 I could do it the easy way just to implement a new flexform field for
 this purpose, but I am really keen on knowing what am I doing wrong.
 
 Do you have any idea about the above issue?
 
 Thanks,
 Adrian


-- 
http://www.kay-strobach.de - Open Source Rocks
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] startingpoint custom extensions TYPO3 4.5

2011-02-15 Thread Adrian Mot

Hi Kay,

No, I do not have it installed.

Regards,
Adrian

On 15.02.2011 13:36, Kay Strobach wrote:

Hi do you have date2cal installed?
If yes remove it.

Kay

Am 15.02.2011 12:30, schrieb Adrian Mot:

Hello everybody,

I have upgraded from 4.4 to 4.5 and now the Startingpoint (Pages) field
from the custom extensions is missing.

I thought first that these were disabled by default in 4.5, so I have
changed the ext_tables.php in the ext folder:
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform,pages';


The result was that the Startingpoint was added below the flexform (as
it was in 4.4), but whenever I try to add a page there (either via popup
or autocomplete) I receive a JS alert:

Formfields missing:
  fName: [object NodeList]
  fName_list:[object NodeList]
  type:undefined
  fName:data[tt_content][44][pages]

I also tried a fresh 4.5 setup, and then adding an extension to test it,
but the same result comes up.

I could do it the easy way just to implement a new flexform field for
this purpose, but I am really keen on knowing what am I doing wrong.

Do you have any idea about the above issue?

Thanks,
Adrian



___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] startingpoint custom extensions TYPO3 4.5

2011-02-15 Thread Kay Strobach
Hi,

which browser do you use?

Regards
Kay

Am 15.02.2011 12:40, schrieb Adrian Mot:
 Hi Kay,
 
 No, I do not have it installed.
 
 Regards,
 Adrian
 
 On 15.02.2011 13:36, Kay Strobach wrote:
 Hi do you have date2cal installed?
 If yes remove it.

 Kay

 Am 15.02.2011 12:30, schrieb Adrian Mot:
 Hello everybody,

 I have upgraded from 4.4 to 4.5 and now the Startingpoint (Pages) field
 from the custom extensions is missing.

 I thought first that these were disabled by default in 4.5, so I have
 changed the ext_tables.php in the ext folder:
 $TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform,pages';



 The result was that the Startingpoint was added below the flexform (as
 it was in 4.4), but whenever I try to add a page there (either via popup
 or autocomplete) I receive a JS alert:

 Formfields missing:
   fName: [object NodeList]
   fName_list:[object NodeList]
   type:undefined
   fName:data[tt_content][44][pages]

 I also tried a fresh 4.5 setup, and then adding an extension to test it,
 but the same result comes up.

 I could do it the easy way just to implement a new flexform field for
 this purpose, but I am really keen on knowing what am I doing wrong.

 Do you have any idea about the above issue?

 Thanks,
 Adrian



-- 
http://www.kay-strobach.de - Open Source Rocks
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english