Jamit Software Forum
Welcome, Guest. Please login or register.
June 09, 2023, 11:58:19 pm

Login with username, password and session length
Search:     Advanced search
May 5th, 2010 - Jamit Software Launches the Market!
3,080 Posts in 791 Topics by 2,001,735 Members
Latest Member: Anderson64
* Home Help Search Login Register
+  Jamit Software Forum
|-+  Jamit Job Board Customers
| |-+  Plugins
| | |-+  Getting error with mobi plug in
« previous next »
Pages: [1] Print
Author Topic: Getting error with mobi plug in  (Read 4655 times)
whitecollarjobsite
Jammers
Full Member
*
Posts: 23


« on: June 23, 2011, 09:12:47 pm »

When accessing the mobi plugin from a phone my users are getting this error:

: Call to undefined method JBMarkup::append_extra_markup() in /include/classes/JBDynamicForm.php on line 101

I did add the hook as described in the directions and it doesn't seem to matter which type of phone they are using they are all getting this error with the phones. The auto redirect to /?mobi=true is working fine but they are not getting through to the board.

Any suggestions on what I need to add here to JBDynamicForm to get this to work? Here is what is in that section now (including line 101):

###########################################################################


   function append_extra_markup() {

      global $JBMarkup;

      if (isset($JBMarkup)) {

         // Generate any extra markup for the special fields
         //$JBMarkup->clear_extra_markup();
         $JBMarkup->append_extra_markup('before_body_close', $this->get_extra_markup('before_body_close'));
         $JBMarkup->append_extra_markup('header', $this->get_extra_markup('header'));
         $JBMarkup->append_extra_markup('body_after_open', $this->get_extra_markup('body_after_open'));
         $JBMarkup->append_extra_markup('onload_function', $this->get_extra_markup('onload_function'));
         
      }

   }



   ###########################################################################

Any help is appreciated since I would like to have this feature working

JJB Version is currently 3.6.5 right now (and is stable so far)
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.041 seconds with 17 queries.