homejoomlablogministries
articles
guides
tutorials
all
forum
Subscribe in NewsGator Online

Learning Joomla! for the first time? Buy the Joomla! 1.5 Essential training CD-ROM or watch it on Lynda.com.

 

Welcome to Joseph LeBlanc's Joomla development forum. This forum is primairly intended to discuss the development of components I've authored, such as the podcasting suite and Daily Message tutorial. Although I happily answer general questions about Joomla, you may get quicker answers by searching the Joomla forums.

Due to spam abuse, you must register to post in the forums. However, you are allowed to browse the forums without registration. Commercially-oriented, off-topic messages are $100 per word, thank you for understanding!






FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
need help (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: need help
#3076
krautela (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
need help 8 Months, 2 Weeks ago Karma: 0  
hi

thanks to your book I have made some headway in writing my own component.
Now i am at a crucial juncture where i want to add some functionalities to the component but I am stuck.

basically my project involves a project database management.

a project has some organizations involved and individuals involved in different roles.
i have separate table for project details, organization details and individual details. i have another table which has details of projects, organization, individual contact relation details.

now when a person opens the project at the backend, it opens edit view.
in the contacts tab, we show the data from the relation table. here i want to add the functionality of clicking on a link to add new organization to this project. This link would open a form in modal window.

to achieve this i have made different controller to show modal window.

i am using the JHTML::_(behaviour.modal) for opening modal window.
i am trying to use xajax plugin to process the form to update the database.

my main problem is that i am not able to get the values from the modal form to processing function in xajax.

my coding skills are pretty basic at this stage.

can you help me with the above explanation or should i send the code as well?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3089
jleblanc (Admin)
Admin
Posts: 1021
graph
User Offline Click here to see the profile of this user
Re:need help 8 Months, 1 Week ago Karma: 32  
Thanks for buying my book! You're probably best off not using XAJAX: it's pretty old. Since you're using behaviour.modal, you're calling up the MooTools JavaScript framework. I actually haven't done the task you've mentioned here, but it should be possible. Take a look at the code that Joomla's core is using to create the "Insert Image" editor button. This uses a modal to allow you to upload and select the image you want to use. Somehow, that modal is returning the filename back to the first screen through MooTools.

Good luck with the modal!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop