Solved

Creating a New Joomla Component - Backend Development

Posted on 2010-09-22
6
974 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 13

Expert Comment

by:StormITSolutions
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 13

Expert Comment

by:StormITSolutions
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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