Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Creating a New Joomla Component - Backend Development

Posted on 2010-09-22
6
Medium Priority
?
980 Views
Last Modified: 2012-08-14
I need some help in developing the Administrator Backend portion of a new component. I have it already showing in the Backend Menu, I just need upon clicking to go straight to a form (like Global configuration), where I can pull the data from my custom table into a form, modify the form values and then just SAVE it. Any simple examples would be much appreciated.
0
Comment
Question by:galgammer
  • 4
  • 2
6 Comments
 
LVL 14

Expert Comment

by:Allan Nisbet
ID: 33740989
Hi

if you have a look at joomla website in the developer section there is a demo of how to make a component I used then when we first started developing components

if you can't find it I'll post a link and some sample code when I wake up

Storm
0
 

Author Comment

by:galgammer
ID: 33743298
Thanks for your reply. If you could re-read my post, I would appreciate it. I have already taken a look at the Hello Greeting demo and it DOES NOT go directly to a form like GLOBAL CONFIG backend. It goes to a listing page.

Thanks.
0
 
LVL 14

Expert Comment

by:Allan Nisbet
ID: 33743602
http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_6_-_Adding_Backend_Actions

This is the link I was talkign about, is this the one you read. It details creating the admin backend interface.

What I would do is look at a component that has what you are after, for instance I used teh csvimproved admin.html.php file which shows how they generate the forms in teh backend to allow you to create the settings pages and the interactive forms for creating custom csv import templates.

Most of the back end files run from a php file a html.php file and various controller files.

The best bet is find a really simple component or one which does what you want and play around with it.

It needs alot of php knowledge to create really intricate admin backends but its not to ohard as most components are open source and you can see how other developers did it.

If you want to post some screenshots of what your trying to acheive or some sample code, (change the variable names if you dont want to be specific about what it is your creating) and ill be able to advise you better

Storm
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:galgammer
ID: 33743697
Yes. This is the one. Again, their example goes to a listing page after clicking on the component in the menu. WeI can't figure out how to get the initial Menu to GO TO the form immediately - IE click on Global Configuration. You go directly to the form to make changes and SAVE. We need to do the same. We have the component name listing on the component menu and when we click on it, we need it to go to a form - not a listing page. We are new to MVS and are having trouble figuring out how to do this.

Any help would be appreciated.
0
 

Accepted Solution

by:
galgammer earned 0 total points
ID: 33749658
http://stonerocket.net/forum/viewtopic.php?f=48&t=11394&start=0

I found great tutorials that really helped us here.
0
 

Author Comment

by:galgammer
ID: 33749673
We solved it ourselves.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question