Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Googlmaps and Xoops form
by novlang1984 on 2011/9/3 8:47:58

Great ! Thank again, that works
Re: Googlmaps and Xoops form
by zyspec on 2011/9/2 23:45:02

Sorry... I've been going just a little too fast...

Inside ./admin/index.php. First insert
le="color: #000000"><?php include_once XOOPS_ROOT_PATH.'/class/xoopsformloader.php';


around line 33.

Then around line 368 change:
le="color: #000000"><?php echo "<td class='even'>"; xoopsCodeTarea("description",60,8); xoopsSmilies("description"); echo "</td></tr>n";


to:
le="color: #000000"><?php echo "<td class='even'>"; $tarea = new XoopsFormTextArea('Description', 'description', 'Enter your description here', 8, 60); echo $tarea->render(); echo "</td></tr>n";


You'll need to something similar in the modPoint() function around line 550.

Sorry for the confusion. By the way, I did load the module this time and actually try the changes and they appear to work.
Re: Googlmaps and Xoops form
by novlang1984 on 2011/9/2 11:12:55

hello

Thanks again :)

But same Error message
le="color: #000000"><?php Fatal error: Call to undefined function XoopsFormTextArea() in D:wampwwwmodulesgooglemapsadminindex.php on line 361

(line 361 is : XoopsFormTextArea('Description', 'html', 'Enter your description here', $rows = 8, $cols = 60);)
Re: Googlmaps and Xoops form
by zyspec on 2011/9/2 3:11:34

The easiest way is to just add
include_once
le="color: #000000"><?php XOOPS_ROOT_PATH.'/class/xoopsformloader.php';

after the following lines (around line 33):
le="color: #000000"><?php include_once XOOPS_ROOT_PATH.'/class/xoopstree.php'; include_once XOOPS_ROOT_PATH."/class/xoopslists.php"; include_once XOOPS_ROOT_PATH."/include/xoopscodes.php"; include_once XOOPS_ROOT_PATH.'/class/module.errorhandler.php';
Re: Googlmaps and Xoops form
by Mamba on 2011/9/2 0:21:20

The version 0.83 is here

Who's Online

214 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits