Welcome, Guest. Please login or register.
March 19, 2010, 05:33:52 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem Website Baker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite .
110411 Posts in 15942 Topics by 9294 Members
Latest Member: papirex
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  FORM Module <fieldset> implemetation
Pages: [1] Go Down Print
Author Topic: FORM Module <fieldset> implemetation  (Read 957 times)
Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« on: June 06, 2008, 08:19:12 PM »

Hello,
is there any possibility to avoid the tables in the Form Module and use fieldsets instead?

Best regards,
Stefek
« Last Edit: June 06, 2008, 08:41:17 PM by Stefek » Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
BerndJM
Moderator
******
Offline Offline

Posts: 1677



WWW
« Reply #1 on: June 06, 2008, 08:34:55 PM »

Hi Stefek,

I don't see a change for this without rewriting some of the modules core-files.
Nevertheless, even if you use fieldsets in a form you have to format the output of the fields and their labels in any way - the nearest (easiest) for this is to use tables.

Regards Bernd
Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« Reply #2 on: June 06, 2008, 08:48:37 PM »

I don't see a change for this without rewriting some of the modules core-files.
Yes, I can see that.
I found the way out. It's a kind of "advanced solution" and you will need more time, but sometimes the visual result is very important.
Quote
Nevertheless, even if you use fieldsets in a form you have to format the output of the fields and their labels in any way - the nearest (easiest) for this is to use tables.
Yess thats right, but you can control the output easier.
But I can see the problems by reworking such a module.

In fact tabless ain`t best in order to generate forms - but in this case I can agree, that it is more simple.

Thanks Bernd.
Best regards,
Stefek


// off topic
By the way, your toogleMe Module is running like crazy  grin
I will publish a new site in the next days whre I used it. Thanks again!

« Last Edit: September 04, 2008, 11:23:06 PM by Stefek » Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
BerndJM
Moderator
******
Offline Offline

Posts: 1677



WWW
« Reply #3 on: June 06, 2008, 09:01:05 PM »

in addition:
you must remember the final form is generated in a loop,
for the use of fieldsets one have to do seperate loops for every fieldset and a master loop for the fieldsets themself, in addition there is a need for handling (moving/ordering) the fieldsets also the field to fielset relation, the database-table structure needs several changes ...

I think this would be nearly a new written modul wink
Logged

Recommended site of the day: Help-Projekt | no support via email or pm !!!
Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« Reply #4 on: June 06, 2008, 09:12:03 PM »

You're right
The tables are good enough for a simple form...

... But I'm still working on a way to publish fieldsets without rewriting the module.

BTW:

The Ajax Handling would be great for the repositioning of the fields.
The step-by-step reordering really gives me pain in the a**  cheesy

Best Regards,
Stefek
« Last Edit: September 04, 2008, 11:25:55 PM by Stefek » Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« Reply #5 on: July 11, 2008, 12:36:27 PM »

Hello,
is there any possibility to avoid the tables in the Form Module and use fieldsets instead?

Best regards,
Stefek
All right,
after some try & error I did it:
http://bowling-star-hallesaale.de/bowling/kontakt.php

It's not really good for fieldset, bacause you can use a fieldset for one item at once.
But in small forms I like the look more than a table.

Best regards,
Stefek
Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
diodak

Offline Offline

Posts: 81



« Reply #6 on: July 11, 2008, 01:08:16 PM »

Well done Stefek.
BTW, smth wrong with your footer in Opera.
Logged

Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« Reply #7 on: July 11, 2008, 01:47:18 PM »

Well done Stefek.
BTW, smth wrong with your footer in Opera.

Thanks.
BerndJM told me that the behaviour also exists in FF3.
Is that right?

/// Problem fixed.


Best,
Stefek
« Last Edit: September 04, 2008, 11:26:52 PM by Stefek » Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
diodak

Offline Offline

Posts: 81



« Reply #8 on: July 11, 2008, 01:53:21 PM »

I`ve seen that at form page, looks like you should install opera and ff for testing.
Logged

Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« Reply #9 on: July 11, 2008, 01:57:45 PM »

@deschek

I will do  wink

Thank you!
Stefek
Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
vark

Offline Offline

Posts: 3


« Reply #10 on: August 31, 2008, 06:58:41 AM »

Great idea, Stefek. 

Could you please post all the changes that you made to allowed you to use <fieldset> please?

Thanks.
Logged
Stefek
Backend Theme Team
******
Offline Offline

Posts: 3188



WWW
« Reply #11 on: September 04, 2008, 06:06:01 PM »

Hello Vark!

Sorry that I led you standing for so long.

If you didn't solve your question for now by yourself:
I'm currently working on a form which uses fieldsets and is 100% tableless.

Once I'm ready with this, I will provide a small tutorial on how to do this.

(The tutorial will show HOW TO GROUP Fiedsets with a form module. No core-file must be touched.)


Best Regards,
Stefek
« Last Edit: September 04, 2008, 11:28:22 PM by Stefek » Logged

Bowling in Kiel Halle Aschaffenburg

"Es gibt viele Pfade am Fuße des Berges,
doch von der Spitze aus, erblicken wir alle den selben Mond."
jap. Sprichwort
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!