Calling Magento API Script from Admin Backend - magento

Ive writte a little Magento API script which gets some order data and writes it to a *.csv file.
Is it possible to make it so that the scipt can be run from the Admin Backend? For example can I add a button to the Admin area that will run my script?
Thanks in advance for your help!

Yes it is possible... but I don't think that will be the right approach. Could you elaborate a bit more in what needs do you have to get order information out of Magento by using the API?
If you are going to extract information out of Magento from another system then the API will be your best solution, but if in turn you have access to the admin try thinking other ways to get this job done without using the api.

Related

Is it possible to set content related permissions on cartalyst/sentinel?

i'm new to laravel and cartalyst/sentinel, but for this project i'm facing out an authorization problem:
I have to set User CRUD permissions for the single content, and i'm facing out how to do id with cartalyst/sentinel.
(a lil' example: if i have a blog, i wanna set User CRUD permissions separately for each article).
Can anyone help me to find some documentation about something like this?
I have already implemented this kind of permissions with CakePHP, but is the first time i'm using laravel.
Thank You
The way I think you'd best go about this is by setting the users permission by using the article ID. You could give a user permissions like this: "articles.14.read":1,"articles.24.*":1. 14 & 24 being IDs of articles I made up.
At the last seems noone never has been capable to solve this problem, and i cant test the solution proposed. So i've falled back to the ACL stock support of Laravel 5.0.
Baybe i'll retry when i need the multisession system or other things from sentinel.

Website Login Issue developed in magento

I have a website developed using magento . Previously i was able to login. But right now, login is failed. Infact any operations that interacts with user table is failing. I need to know what is the issue. How do I figure it out?
First clear try to clear your log file
second make sure you have not upgraded your Magento
and 3rd make sure that you db is accessible in your Magento
-Harry P

How to add simple custom form to magento admin panel

First of all let me clear what i want to do, here is my problem. I have my magento project running on server. Now my client is asking me to add a module like this, please have a look
http://www.chinaglaze.com/Try-On/index.html
Also he want that he can manage images and color codes from the Magento Admin panel. I have not much experience in magento extension development.
Please provide me reference if there is any magento extension already exist so that i can use that other wiase how to do it.
If you want a Magento frontend view which is admin manageable (with your own custom database tables) try this piece I wrote: link. Hope it suits you.
You should add a custom module to add that.
Check this link
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_create_an_admin_form_module

Django multi-image upload in admin panel with ajax - some example

I find many articles with multi-image and plugins:
https://github.com/blueimp/jQuery-File-Upload
https://pypi.python.org/pypi/django-multiuploader etc.
But I don't know how use it in django admin when I have ImageField. I want to do gallery.
Now I have inline adding image in albums. Please help me and give some full example :) (I'm newbie)
We use django-jfu to upload many files outside the admin.
Interfacing to the admin is certainly possible by creating a custom admin method to invoke jfu. Add a completion button to the jfu upload page that creates the desired db records when the user is done uploading files. These would then be available within the admin.

How to Develop Codeigniter Admin Panel

Hi i'm new to codeigniter.
I have developed this website using CI.
http://maxmovies.in/fattto
Now i want to create the admin panel for this website.
I want the url like this to access the admin panel.
http://maxmovies.in/fattto/admin/
First i thought adding a admin controller and proceed with that.
But my back-end will have around 25 pages.
I don't think adding 25 functions in the single controller is not
good idea.
I searched and got some tutorial but i'm not clear with that.
So can any one help me to config the admin panel for my website?
Thanks to all and sorry for if my english is not good.
create fattto/admin folder in controller view and module and set all code in this folder
when u write http://maxmovies.in/fattto/admin/ it open admin panel whatever code u write
You could organise your controllers into sub-folders, which would give you the desired effect.
The use of Routing could also help you achieve what you want, which will allow you to map a URL to a particular controller/method.

Resources