| Author | Message |
|---|---|
|
Written on: 30. 01. 2011 [19:40]
|
|
|
jorger
Jorge
Topic creator
registered since: 30.01.2011
Posts: 5
|
Hi to everybody, Could someone tell me how to configure the general settings in typogento 1.0 and which fields are necessary? Thank you |
|
Written on: 31. 01. 2011 [12:22]
|
|
|
erik.dahlin
erik
registered since: 02.11.2010
Posts: 11
|
Hi, There's quite alot of things to configure (depending on what functionality you're after). But, here's an explanation of the EM-conf for fb_magento. path to Magento root [path] The server filepath to your magento installation. /var/www/www.mysite.com/magento/ Frontend URL to your Shop [url] base url for your magento installation http://www.mysite.com/magento/ Magento User which has API access [username] Create an API user in magento (with full access) and enter its username here Password of the Magento User Create an API user in magento (with full access) and enter its password here enable automatic Magento Header int...[auto_header] This option will include magento headers (css/js) automaticly. To increase performance I suggest you do it through TS only on pages where you're shop is at. enable Realurl Functions[realurl] Real url support. To configure this additionaly see the real url manual. Namespace of the Magento Modul (com...[namespace] Not sure what this is for, never changed it. Guessing you need to specify this if you change the namespace of the typogento plugin for magento. Website ID (default is 1)[website] If you have created additional websites in magento you can specify its ID here. |
|
Written on: 31. 01. 2011 [23:14]
|
|
|
jorger
Jorge
Topic creator
registered since: 30.01.2011
Posts: 5
|
Thank you Erik for a quick respond it's so useful. These fields that you described me are in the typo3 extension, but i would like to know if you could describe me those which appear in the magento extension. I mean the general settings and typo 3 database fields and if it's necessary to fill all of them because in the documentation it doesn't tell anything about them. I just want to use the same users in both pages, typo3 and magento. Thank you |
|
Written on: 01. 02. 2011 [08:27]
|
|
|
erik.dahlin
erik
registered since: 02.11.2010
Posts: 11
|
Here goes: PID TYPO3 Frontend Users The folder you keep your feuser-records in, or want to store customers from magento in. Group uid TYPO3 Frontend Users The group to be used for feusers. Permit direct magento access (without going through typogento). Never used this but I guess it does what it sounds like. Allow frontend direct access for user agents Not sure what this is for, never used it. Sounds like you can use a regExp to filter access for certain user agents. Redirect URL if access is forbidden A path to the page that shows if access is denied The Typo3 DB settings below are those used by typo3. If you dont know them you can find all of them in yourtypo3site/typo3conf/localconf.php. Use quixplorer-extension to view the file if you dont have access to server filesystem. Typo3 DB Host $typo_db_host in localconf.php Typo3 DB Username $typo_db_username in localconf.php Typo3 DB Password $typo_db_password in localconf.php Typo3 DB Name $typo_db in localconf.php All of these settings are needed for feuser synchronization (except for the access parts). Though I cant guarantee that it works 100% (it didnt for me anyway). |
|
Written on: 01. 02. 2011 [21:20]
|
|
|
jorger
Jorge
Topic creator
registered since: 30.01.2011
Posts: 5
|
Thank you a lot, I will try to conect both applications this weekend and i will tell you if i could or not. |
|
Written on: 06. 02. 2011 [20:07]
|
|
|
jorger
Jorge
Topic creator
registered since: 30.01.2011
Posts: 5
|
Hi, I'm trying what you wrote me but it doesn't work because i've got an exception. Maybe is because i still don't understand how to fill this fields PID TYPO3 Frontend Users and Group uid TYPO3 Frontend Users. The exception that i've got is this one t3lib_exception thrown in file C:\Programme\xampp\htdocs\kunde_433\typo3conf\ext\fb_magento\lib\class.tx_fbmagento_tools.php in line 51. 3 tx_fbmagento_tools::displayError("Access denied!", boolean) C:\Programme\xampp\htdocs\kunde_433\typo3conf\ext\fb_magento\mod_admin\index.php: 00168: } 00169: 00170: tx_fbmagento_tools::displayError($msg, true); 00171: } 00172: 2 tx_fbmagento_modadmin::accessDenied() C:\Programme\xampp\htdocs\kunde_433\typo3conf\ext\fb_magento\mod_admin\index.php: 00057: 00058: if(empty($BE_USER->user['tx_fbmagento_group'])){ 00059: $this->accessDenied(); 00060: } 00061: 1 tx_fbmagento_modadmin::main() C:\Programme\xampp\htdocs\kunde_433\typo3conf\ext\fb_magento\mod_admin\index.php: 00176: // Make instance: 00177: $SOBE = t3lib_div::makeInstance('tx_fbmagento_modadmin'); 00178: $SOBE->main(); 00179: $SOBE->printContent(); 00180: any idea? thank you |
|
Written on: 07. 02. 2011 [08:05]
|
|
|
erik.dahlin
erik
registered since: 02.11.2010
Posts: 11
|
From what I can tell you are trying to access magento from the typo3 BE module. What you need to do is: 1. Edit your backend user through "user admin". 2. Go to the last tab (called extended). 3. Change the "Magento role" -dropdown to admin or whatever you want. The BE-module should now work. The pid and group of FEusers is just for the frontend usersync. Notice that backend users and frontend users are two different things. |
|
Written on: 09. 02. 2011 [23:28]
|
|
|
jorger
Jorge
Topic creator
registered since: 30.01.2011
Posts: 5
|
Thank you Erik, Now i have connexion but it still doesn't work because it shows a php error. The error is that one: Fatal error: require_once() [function.require]: Failed opening required 'magento/app/Mage.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\segre\typo3conf\ext\fb_magento\lib\class.tx_fbmagento_interface.php on line 98 Anyway thank you again for your time |