User Login    
 + Register
Bookmark and Share
  • Main navigation
Login
Username:

Password:

Remember me



Lost Password?

Register now!







Re: I cannot create a form?!
Just popping in
rank481e64a60d920.gif
Joined:
2006/5/22 14:26
Group:
Registered Users
Posts: 1
Try xoops modgen it will create everything for you. I mean empty module with admin menu etc

Posted on: 2009/6/25 2:40
_MD_TRANSFER_DESC _MD_TRANSFER


Re: I cannot create a form?!
Just popping in
rank481e64a60d920.gif
Joined:
2008/7/30 15:56
Group:
Registered Users
Posts: 7
Too difficult?

Posted on: 2008/8/10 15:41
_MD_TRANSFER_DESC _MD_TRANSFER


Re: I cannot create a form?!
Just popping in
rank481e64a60d920.gif
Joined:
2008/7/30 15:56
Group:
Registered Users
Posts: 7
Another thing!!

How can I use the navigation menu in the module Admin area??

Thanks again,
Mohammad

Posted on: 2008/8/9 21:52
_MD_TRANSFER_DESC _MD_TRANSFER


Re: I cannot create a form?!
Just popping in
rank481e64a60d920.gif
Joined:
2008/7/30 15:56
Group:
Registered Users
Posts: 7
Another thing!

Is it RIGHT to create a form with this method for my module preferences?

Or there is a better method I saw something in the xoops_version.php in some modules. So what is this method and how it done?

Thanks

Posted on: 2008/8/9 21:48
_MD_TRANSFER_DESC _MD_TRANSFER


Re: I cannot create a form?!
Just popping in
rank481e64a60d920.gif
Joined:
2008/7/30 15:56
Group:
Registered Users
Posts: 7
Oh no!!
Stupid action!!
I have included this:
XOOPS_ROOT_PATH."/xoopsformloader.php"

instead of this:
XOOPS_ROOT_PATH."/class/xoopsformloader.php"

Debug tells me that there is nothing called XoopsThemeForm
Thanks for your help,

Posted on: 2008/8/9 21:43
_MD_TRANSFER_DESC _MD_TRANSFER


Re: I cannot create a form?!
Home away from home
rank4823bd3e90096.gif
Joined:
2004/2/13 1:11
Group:
Registered Users
Forge Developers
Posts: 385
Any error message from the Php debug's mode ?

Posted on: 2008/8/9 4:06
_MD_TRANSFER_DESC _MD_TRANSFER


I cannot create a form?!
Just popping in
rank481e64a60d920.gif
Joined:
2008/7/30 15:56
Group:
Registered Users
Posts: 7
Hi,

What is the problem with this page??

<?php
include("../../mainfile.php");
include(
XOOPS_ROOT_PATH."/xoopsformloader.php");
include(
XOOPS_ROOT_PATH."/header.php");
$testForm = new XoopsThemeForm('eTitle''eName''index.php''post');
$testForm->addElement(new XoopsFormText('Field Label:''fieldname'));
$testForm->display();
include(
XOOPS_ROOT_PATH."/footer.php");
?>


I tried to open this page but I face a white page??

and when I delete these line:
$testForm = new XoopsThemeForm('eTitle''eName''index.php''post');
$testForm->addElement(new XoopsFormText('Field Label:''fieldname'));
$testForm->display();


every thing seams fine!
Is there anything I have to do it in order to create a form??

Posted on: 2008/8/8 21:51
_MD_TRANSFER_DESC _MD_TRANSFER







You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create pdf.
You cannot get print page.

[Advanced Search]