1
offmct
Re: javascript for calendar appears before the html tag
  • 2004/10/29 8:22

  • offmct

  • Just popping in

  • Posts: 3

  • Since: 2004/9/9 2


I couldn't view the forum. It says I don't have the permission to view it. I tried to register but I still can't view it.



2
offmct
javascript for calendar appears before the html tag
  • 2004/10/29 7:35

  • offmct

  • Just popping in

  • Posts: 3

  • Since: 2004/9/9 2


Why is it that the javascript for calendar appear before the opening html tag? I think it is calendarjs.php that gets written before the opening html tag (even before the dtd). I am using XOOPS version 2.0.5.1. Thanks in advance!

Here is my script:
<?php
include "header.php";
$xoopsOption['template_main'] = "grpsched.html";
include 
XOOPS_ROOT_PATH "/header.php";
include_once 
XOOPS_ROOT_PATH "/class/xoopsformloader.php";

$tform = new XoopsSimpleForm('''topform''index.php''POST');
$calNow = new XoopsFormTextDateSelect('Now''DateNow'15time());
$tform->addElement($calNow);
$tform->assign($xoopsTpl);

include 
XOOPS_ROOT_PATH "/footer.php";
?>


and here is my template:
<{$topform.javascript}>
<
form name="<{$topform.name}>" action="<{$topform.action}>" method="<{$topform.method}>" <{$topform.extra}>>
  <
table>
    <{foreach 
item=element from=$topform.elements}>
      <{if 
$element.hidden != true}>
      <
tr>
        <
td><{$element.body}></td>
      </
tr>
      <{else}>
      <{/if}>
    <{/foreach}>
  </
table>
</
form>



3
offmct
How to get module admins
  • 2004/9/9 23:47

  • offmct

  • Just popping in

  • Posts: 3

  • Since: 2004/9/9 2


Hey there! Is there a function to get the module admins?... Maybe like getModuleAdmins($mod_id)? If there is none, is there a way to get the module admins besides directly querying from the database. This is because i would like to display the admins of a certain module.




TopTop



Login

Who's Online

121 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

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

Latest GitHub Commits