hi pls help me how i load form into plugin

185 views
Skip to first unread message

vahid hajipour

unread,
Nov 28, 2011, 7:27:54 PM11/28/11
to joomla-dev...@googlegroups.com
hi
pls help me
how i load form from administrator/components/com_x/forms/x.xml  into plugin by jform class?
jimport('joomla.form.form');
JForm::addFormPath(JPATH_ADMINISTRATOR.DS.'components'.DS.'com_hoteljoomina'.DS.'models'.DS.'forms');
$form = &JForm::getInstance('jform', 'hoteljoomina', true, array('array' =>
true));

IS THIS TRUE OR NOT ?


IF (NOT TRUE )
ECHO "WHATS TRUE SYNTAX";


ECHO "TNX  :|";

Cook Self Service

unread,
Jul 31, 2012, 2:02:06 PM7/31/12
to joomla-dev...@googlegroups.com
Hi Aman,


Thanks for your suggestion.

JForms is already implemented in V2.0. (to come)
Actually I am working to implement a good jQuery Formvalidator.

I know that the version 1.x lacks on the code. It is just a draft.

V2.0 is coming with amazing generated code. (very clean and light)

I hope the beta on the 1st of september.


Stay in touch.

Kind regards.


Jocelyn.



Le 31 juil. 12 à 19:20, khanakia a écrit :

Hi
Go to this post
http://oyeblog.com/joomla-load-xml-form-in-php-file-or-joomla-create-form-from-xml-file

This post has full explanation how to load your custom xml file in your joomla code.

--
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-framework/-/00m3pZEnVNEJ.
To post to this group, send an email to joomla-dev...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-frame...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-framework?hl=en-GB.

Cook Self Service

unread,
Jul 31, 2012, 2:30:45 PM7/31/12
to joomla-dev...@googlegroups.com
I want to apologize for the previous message sent to the list. I tought I was answering to a customer ticket. Sorry for mistaking.

I wish you a happy summer to everybody !!


Kind Regards.

Jocelyn.
(Cook Self Service)
Reply all
Reply to author
Forward
0 new messages