1
wdsl1
No output. How to use XoopsGroupPermForm
  • 2004/12/13 17:33

  • wdsl1

  • Just popping in

  • Posts: 39

  • Since: 2004/11/3


Hi,
My Code:
include '../../../include/cp_header.php';
include_once 
XOOPS_ROOT_PATH "/class/xoopslists.php";
include_once 
XOOPS_ROOT_PATH.'/class/xoopsform/grouppermform.php';

xoops_cp_header();

//Approver Form
$title_of_form "tester";
$perm_name "team_read";
$perm_desc "tadfasdf";

$module_id $xoopsModule->getVar('mid');
$approveform = new XoopsGroupPermForm($title_of_form$module_id$perm_name$perm_desc);

$xt = new XoopsTopic$xoopsDB -> prefix"topics" ) );
$alltopics =& $xt->getTopicsList();


    
$approveform->addItem("1""titel"6);
    
$approveform->addItem("2""titel2"62);
    
$approveform->addItem("3""titel3"63);


echo 
$approveform->render();
unset (
$approveform);
xoops_cp_footer();
?>


I try to better the team Modul but the first Problem's came with simple thinks like this

Did anyone know why it didn't work?

The most of this code is Copied from News Modul.

thx
wdsl

2
Mithrandir
Re: No output. How to use XoopsGroupPermForm

Are you getting any PHP errors with php debug on?

3
wdsl1
Re: No output. How to use XoopsGroupPermForm
  • 2004/12/15 16:25

  • wdsl1

  • Just popping in

  • Posts: 39

  • Since: 2004/11/3


thx a lot.

i have vergotten to delete some lines in the Code. Now all work fine.

mfg
wdsl

Login

Who's Online

440 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 440


more...

Donat-O-Meter

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

Latest GitHub Commits