View Full Version : Joomla questions? where to post

05-08-2009, 04:29 AM
Is there any forum (in CF) here where i can ask some joomla questions.
Their home site forum is not very good. so many posts remian un-answered.

Not sure where to go?

05-08-2009, 10:52 AM
Here would do, what do you need help with?

05-08-2009, 11:46 AM
Post them here if they are general questions, or if they are PHP related in the PHP forum. I understand that some questions don't get answered on Joomla's site because many questions have already been answered somewhere.

PS: I am a Joomla developer, I can probably answer.

05-08-2009, 11:49 AM
i am designing new component using mvc . If i am using php and html then its ok.
But i want to use AJAX(jquery) to submit forms and control navigation.

I am not really sure how to embedd jquery functions in MVC architecture in joomla

05-08-2009, 11:58 AM
Ok thats a big question.

1) Joomla uses mootools as its main JS framework. This is important.
2) MVC doesn't affect jQuery, you just have to use some of the API to include it into the head. I believe its addScript or something like that to add the jquery script to the site.
3) Your jQuery functions can also be put into an external .js file and included the same way, so they only load when the page loads.

05-08-2009, 11:11 PM
In simple page i use Jqurey method

$.get (abc.php) . . to submit the form or get the php value

but in joomla the functions is called like


I am not sure whether i will get any script to work like that because joomla first line

define(JEXEC) . .

won't let me to get value from those functions as i will not be displaying the value in joomla frame

05-09-2009, 04:00 PM
You can do it, I've seen plenty of ajax functions in Joomla. The problem you have identified, files won't run outside of a Joomla system call to help prevent attacks. So you should actually route your urls. So it should submit the form through the Joomla framework to the file index.php?option=com_abc&task=save for example.