Topic with no new replies

Fe user syncronization between Magento and TYPO3


Author Message
Written on: 01. 07. 2010 [16:20]
jochematroquin
jochem
Topic creator
registered since: 01.07.2010
Posts: 2
Hi,

I've installed Magento and TypoGento today, and got it working allmost instantly. I've managed to get my shop working within my TYPO3 website (through the plugin CE type), and my BE users can access the Magento Admin Module through the TYPO3 backend. However, I cant get the synchronisation of FE users to work.

I've created a sysfolder (id 11) in the TYPO3 backend which contains a FE user group (id 1) and a FE user. I've inserted these id's in the TYPO3 Connector settings in the Magento Admin Panel together with the TYPO3 database settings. I've also created a magento user which has api access.

I hope somebody can help me with this issue.

Thanks in advance.

Jochem


Written on: 01. 09. 2010 [17:39]
jochematroquin
jochem
Topic creator
registered since: 01.07.2010
Posts: 2
I've managed to get user synch to work out of the box when the user logs in via TYPO3 felogin. But when I use the magento login, the user isn't logged into TYPO3 automaticalluy.

It seems that the following Typo3connect (a Magento extension) function has to be changed in order for user synch to work:

Open the file "/Magento/app/code/community/Flagbit/Typo3connect/Helper/Login.php" add the following code after $GLOBALS['TSFE']->fe_user->createUserSession($tempuser);

// Added code below so login also works in 4.3.x and up
$GLOBALS['TSFE']->fe_user->user = $GLOBALS['TSFE']->fe_user->fetchUserSession();
$GLOBALS['TSFE']->fe_user->fetchGroupData();



Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 228 registered user, 112 topics and 182 answers. On average 0.35 posts are written per day.