11
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/12 13:43

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


Ok, multilanguage problem is solved. htmlentities() was used without passing the used charset .

Please upgrade to the latest build, it should work now.

And the tag should work alright and everywhere. You can see a demo page here:http://www.dylian.eu/modules/content/?id=2 .

I think a WYSIWYG editor is the only thing that could cause problems with the tag. Do you use one and if so wich one do you use?

Greets Dylian.



12
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/11 23:00

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


Ok, first I don't use Article 2 so i can't tell you exactly what to do. But the steps explained in the readme (docs/README.txt) should work for all content modules.

About you multi-language problem i don't really get it... The characters aren't displaying right? Or what do you mean?

And if you use a content module you could create one form for each language and show the form in the right language on one page. (Multi-language module like xlanguage is required).

Example:
Say you want a form in Dutch and English.
STEP 1: Create 2 forms with the same questions, one in Dutch and the other in English.
STEP 2: Create a new page in your content module.
STEP 3: Place this tag in the content of the page: [nl][xform id=NUMBER-D][/nl][en][xform id=NUMBER-E][/en] (Replace NUMBER-D with the id of the Dutch form, and NUMBER-E with the id of the English form.)
STEP 3: Save the page you created.

Above is just a example, so the steps could be a little different, but generally it should work.

Greets Dylian.

BTW, i discovered my xform tag isn't very secure, since everyone who's allowed to post content on your website could use it. So if a user uses it in a comment the tag will work, and the requested form will be loaded in the comment. So I think i'll change the tag to [xform id=NUMBER pass=TEXT]. (NUMBER should then still be replaced by the id of the form you wan't to load and TEXT should be replaced by a password that will be set in the module settings. This way only people who know the password can load a form.



13
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/11 17:07

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


Quote:
insert the form into a content page?

Yes that is what i meant... I also did this myself, look at:http://www.dylian.eu/modules/content/?id=2 for an example .

And I'll take a look at the user access problem

Greets Dylian.

BTW Please try to put everything in ONE message. I't makes reading a lot easier .



14
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/11 14:31

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


Quote:
I have a question about email. when you say email & database, where does the email go? to the user or to the site admin?
You can set the email adress the mail should be sent to in the form settings. (The option is only available when you choose the email or both option)
Quote:
oh, it might also be a good idea if you could have a comment box above or below the form for the webmaster.
You could use a content page for this purpose.
Quote:
Xforms doesn't generate a block, which is ok. I put a direct link to it in the html of my theme...
No it doesn't need it's own block since you can just place the [xform id=NUMBER] tag in a custom block. (Don't forget to replace NUMBER with the id of the form).
Quote:
but the problem is, because there is no block you can't specify user access.
Yeah, an option to select wich groups get access to your forms will be added later (I'm still figuring out how to do it )
Quote:
I want people to be able to use the form i created without having to register on my website.

For the moment you could set user access to the module for the anonymous group.

Hope this helps, Dylian.



15
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/10 23:15

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


@chefry: Please try the latest build this should solve your problems. (Except for the required field problem, but i'll try to solve that ASAP). And i'll definitely try to add a "Add blank line" option or something like that (Great idea, thanks )

AND: The latest version allows you to place a form everywhere you want to . You can do this by placing the xForms Go Tag.
So just place [xforms id=NUMBER] (Where you replace NUMBER with the id of the form) anywhere you want to, and the form will be loaded right there

I hope you all enjoy using this module as much as i enjoy developing it

(And again:)
The module can be downloaded [HERE] and [HERE] you can check if you run the latest version.

Greets Dylian.



16
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/10 13:30

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


Quote:
However, I am missing one major feature that would make it perfect. Would it be possible to include a 2 or 3 level categorization of forms?


Yes you could do this by using a content modules that allows categorization.

Because xForms itself will not get a user area. It will only allow you to insert a bbcode/smarty tag (Haven't decided what to use yet) where ever you want to display a form. So for example in a categorized content page .

Greets Dylian.

BTW I think i'll go for a bbcode kind of tag like: [xform id=1]



17
Dylian
Re: xforms - mails sent twice
  • 2010/3/10 13:11

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


@peterr: Sorry, i don't offer support for the old version of xForms anymore. The new version is completely rewritten so it would be to many work to maintain both versions .

@noo-b: Maybe someone else can help since the old xForms is based on Liaise.

Greets Dylian.



18
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/3/7 9:42

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


Ok,, as promised I've continued the development of xForms. Yesterday i added a page to show the responds (Just click on the "export" link for a form and you'll see it,, later on I'll replace this with a "responds" link ).

And today i'll start adding the xoops(multi)mailer.

[edit]
Ok, mailer is added now and seems to work fine . (Although the layout of the mail could be better )
The only thing that i still need to add is the preload that creates a smarty tag for loading a form in any page you want . (I hope this also explains why i didn't create a main page )
[/edit]

Greets Dylian.

BTW Please upgrade to the latest version found [HERE], and tell me what you think must be fixed before the first RTT (beta) release. ([HERE] you can check if you run the latest version.)



19
Dylian
Re: xForms 1.0 (Rewritten)
  • 2010/2/28 19:54

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


The module isn't finished yet, and shouldn't be used on public website yet.

I'm currently very busy with school, so further development of the module is currently stopped. Next week (or this week,, deppending on what you see as the first day of the week ) i have practice exams and after that i'll continue the development .

So please have patience...

Greets Dylian.



20
Dylian
Re: Contact form - store data in database
  • 2010/2/17 11:03

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


You could try the rewritten version of xForms.

The module itself doesn't provide an option to search trough the submitted data,, but it wouldn't be hard to make a search page. (I think,, never tried so can't be sure).

You can find more information [HERE].

But if you need a module right now, then i think formulize would be an option. (I personally can't work with it , but maybe you can figure it out )

Greets Dylian.




TopTop
« 1 (2) 3 4 5 ... 11 »



Login

Who's Online

180 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

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

Latest GitHub Commits