Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Group membership

  • Beginning Developers

    Beginning Developers

    This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking

Activity

  • dobbo replied on the discussion topic Elgg Ajax call with JQuery Mobile
    Just wanted a give this a little bump to see if there are any ideas on how to solve this issue.  view reply
  • dobbo replied on the discussion topic Elgg Ajax call with JQuery Mobile
    actions/ajaxTester/ajaxTester.php   <?php $strInput = get_input('testInput');   system_message("your input: ". $strInput); forward(REFERRER); ?> view reply
  • dobbo replied on the discussion topic Elgg Ajax call with JQuery Mobile
    views/default/forms/ajaxTester.php <h3>Ajax Tester</h3> <div data-role="fieldcontain"> <label for="testInput"></label> <?php echo elgg_view('input/text', array( 'name' => 'testInput', 'id' =>... view reply
  • dobbo replied on the discussion topic Elgg Ajax call with JQuery Mobile
    pages/ajaxTester.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">   <meta name="viewport"... view reply
  • dobbo replied on the discussion topic Elgg Ajax call with JQuery Mobile
    Not sure where to post the plugin, so am posting the code here: Start.php <?php  // register for the init, system event when our plugin start.php is loaded elgg_register_event_handler('init', 'system',... view reply
  • dobbo added a new discussion topic Elgg Ajax call with JQuery Mobile in the group Beginning Developers
    Hi there, I'm trying to post a form using JQuery Mobile and Elgg.  As you may know, JQM defaults to Ajax for page changes including form submission.  The problem I have is that upon submission, I keep getting an 'undefined' back from the...
    • actions/ajaxTester/ajaxTester.php

       

      <?php

      $strInput = get_input('testInput');

       

      system_message("your input: ". $strInput);

      forward(REFERRER);

      ?>

    • Just wanted a give this a little bump to see if there are any ideas on how to solve this issue. 

    • you're using jqm;s pageinit() api. i don;t think you'll find many people here @elgg comm who have worked with that already or people wh have time to dive in to learn something.. so maybe that's why u r getting no 'answers'. but try explaining more details of the "'undefined' back from the action..." in elgg context and maybe someone will know what's going wrong.. ;-)

  • dobbo replied on the discussion topic Login Errors - system_message and register_error?
    Thanks iionly. I will check it out and respond. Given the MVC nature of the app, I am assuming that the error codes are separate from any view that is displaying them so hopefully I can still display the errors in my custom login. Thanks again.  view reply
  • dobbo replied on the discussion topic Login Errors - system_message and register_error?
    Hi iionly, I actually want to display the error messages but am not sure how they are made available. I have tried register_error() and system_messages() but the error messages are not contained within them. Any idea how to obtain the error... view reply