Closed (works as designed)
Project:
Drupento
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Nov 2010 at 06:14 UTC
Updated:
10 Nov 2010 at 15:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
mdeltito commentedYour paths need to be the full path to the file/directory.
There is an example in the README of printing a category menu - this could easily be adapted to print out a list of products. As for the "Magento Test Login", that is left over from debugging the drupento_auth module. That will be removed in the next snapshot.
This module requires some knowledge of Magento and the Magento API - I would suggest getting up to speed with that before trying your hand with this module.
As I mentioned previously, full docs + tutorials are in the works.
Comment #2
mannejkumar commentedSorry for disturbing you. here i am attaching screenshot of drupento settings page. i am new to magento and i dont know about api. can you tell me do i need to create any custom api or file ? i didnt find any api folder in my magento store.what is callback config file? do i need to create that file also? i will wait for your documentation.may i know how much time it will take ?
Comment #3
mdeltito commentedYour settings look correct, except for the Magento install path - that needs to be absolute as well.
All you need to do to get up and running with the API is create an API role/user. There is likely a guide out there on setting this up, but basically:
1) Log in, Go to System/Web Services/Roles
2) Add a role with the permissions you need (you can just add all for development)
3) Go to System/Web Services/Users
4) Add a user with that role, noting the username/password - this is what you will enter in the Drupento config
The Magento API allows you to connect to Magento as a web service. Drupento helps you to use the API to get data from this service and cache it for use in your Drupal or Magento theme.
Comment #4
mannejkumar commentedThank you i will try
Comment #5
mannejkumar commentedhi mdeltito i created api user name in magento side and i changed settings.now i want to show my magento store in drupal side.i saw your callback function.
where do i need to call that function
which code i have to write in that callback.php?
and how to display magento store in drupal side? plzz help me
waiting for your reply
Thanks
jagadeesh
Comment #6
mdeltito commentedmannejkumar,
The callback file should contain the functions whose output you want to cache. This output can be anything, but getting data from the API and returning output (html) is likely what you are after.
This is all documented in the handbook. It sounds like you haven't worked much with Magento or the Magento API, in which case you will definitely want to start there rather than with this module. It will be difficult to get this module working how you would like without doing so.
I'm closing this issue, as I feel the original problem is resolved.