Re: [TYPO3-english] External Import and JSON

2016-09-23 Thread François Suter

Hi,


I have en ordinary textarea and I just wan't the comma seperated list of
file names.


I remember doing something similar quite a long while ago, but I'm not 
exactly sure how I achieved it. This is surely feasible with either the 
preprocessRawRecordset or preprocessRecordset hook [1]. Otherwise it is 
also possible to define a user function for each column [2], but the 
function may not receive the right value in your case.


HTH

--

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/

[1] 
https://docs.typo3.org/typo3cms/extensions/external_import/3.0.2/Developer/Hooks/Index.html
[2] 
https://docs.typo3.org/typo3cms/extensions/external_import/3.0.2/Administration/Columns/Index.html#userfunc

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


[TYPO3-english] Re: External Import and JSON

2016-09-23 Thread Jeppe Donslund

But if I just could get the value, then I'm glad.
But the value isn't inserted in the database.

I have en ordinary textarea and I just wan't the comma seperated list of file 
names.

'pictures' => array(
'exclude' => 1,
'label' => 
'LLL:EXT:orig_carinfo/Resources/Private/Language/locallang_db.xlf:tx_origcarinfo_domain_model_car.pictures',
'config' => array(
'type' => 'text',
'cols' => '40',
'rows' => '15',
'wrap' => 'off',
),
   'external' => array(
0 => array(
'field' => 'Pictures'
   )
)
),
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] External Import and JSON

2016-09-23 Thread François Suter

Hi Jeppe,

Glad you solved you other issues.


What if a node has child nodes?
I do not get the values from "Pictures" into the database.


That is currently not handled by External Import. Maybe it could be done 
using a hook, but I'm not too sure, as images involve registering them 
with FAL and creating references, which I'm not sure you can really 
trigger from External Import.


It would definitely a desirable feature in the future, but it likely 
requires a lot of work.


Cheers

--

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/

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


[TYPO3-english] Re: External Import and JSON

2016-09-23 Thread Jeppe Donslund

What if a node has child nodes?
I do not get the values from "Pictures" into the database.

"Pictures": [
   "http://images.dk/images/4478.jpg;,
   "http://images.dk/images/4478_1.jpg;,
   "http://images.dk/images/4478_2.jpg;,
   "http://images.dk/images/4478_3.jpg;,
   "http://images.dk/images/4478_4.jpg;
 ],
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: External Import and JSON

2016-09-23 Thread Jeppe Donslund

I found the solution. The "External primary key" is not from the external 
source, it is the field name in the TYPO3 database.

So for now, thank you very much.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: External Import and JSON

2016-09-23 Thread Jeppe Donslund

Hi François

Yes, I did manage to import from my test file. I changed it back to JSON, 
because that is what I get directly from my test file.

But now, when I try to reimport to get data into new files, it won't update the 
records that is already there. I think I am missing something like a uniq id or 
something.
My test file has a number that is uniq for every record. It is a 10 digit 
number.
When I import the file TYPO3 still uses the uid.

Does it make any sense?
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] External Import and JSON

2016-09-23 Thread François Suter

Hi Jeppe,


I want to use the extension externalimport to import external data into
my TYPO3.


Have you solved your issue?

Cheers

--

Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/

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


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-23 Thread Bernd Wilke

status update: proposal for typo3.stackexchange.com 
(http://area51.stackexchange.com/proposals/102804/typo3):

| Before the site is created, it needs people to commit to use it. Right now, 
it's 12% complete. When it reaches 100%, the beta will begin.
| The commitment score is the minimum of three scores:
| 32% 65/200 committers in total
| 12% 12/100 committers with 200+ rep on any other site
| 22% commitment score, based on committers' activity on all other sites and 
how old the commitment is```

AFAIK the next phase (launch as beta) is divided in two parts: 
the first part is private and only comitters are allowed to use the area typo3.stackexchange.com to fill in base data (like answering the  example questions), 
in the second part everyone is allowed to participate and it is watched if the area is used well


bernd
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english