Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Senior Coder o0O0o.o0O0o's Avatar
    Join Date
    Jan 2008
    Location
    C:\Windows\System32
    Posts
    1,018
    Thanks
    19
    Thanked 9 Times in 9 Posts

    Joomla questions? where to post

    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?
    Please de-reputate me
    © 0o0o0o0

    Its better to rule in Hell then to serve in Heaven

  • #2
    evo
    evo is offline
    waka Ionsurge
    Join Date
    Feb 2005
    Location
    United Kingdom
    Posts
    895
    Thanks
    5
    Thanked 12 Times in 12 Posts
    Here would do, what do you need help with?

  • #3
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #4
    Senior Coder o0O0o.o0O0o's Avatar
    Join Date
    Jan 2008
    Location
    C:\Windows\System32
    Posts
    1,018
    Thanks
    19
    Thanked 9 Times in 9 Posts
    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
    Please de-reputate me
    © 0o0o0o0

    Its better to rule in Hell then to serve in Heaven

  • #5
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #6
    Senior Coder o0O0o.o0O0o's Avatar
    Join Date
    Jan 2008
    Location
    C:\Windows\System32
    Posts
    1,018
    Thanks
    19
    Thanked 9 Times in 9 Posts
    In simple page i use Jqurey method
    Code:
    $.get (abc.php) . .
    to submit the form or get the php value

    but in joomla the functions is called like

    Code:
    index.php?option=com_abc&task
    I am not sure whether i will get any script to work like that because joomla first line

    Code:
    define(JEXEC) . .
    won't let me to get value from those functions as i will not be displaying the value in joomla frame
    Please de-reputate me
    © 0o0o0o0

    Its better to rule in Hell then to serve in Heaven

  • #7
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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.

    http://docs.joomla.org/Routing
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •