11 years ago
1
Topic

Hello guys,


i hope you can help me here. I try to use a form in a normal content type made by seblod. The user can see data from a product here and if he is interested he should fill a form that i generated.
I created all fields and tried to use them in a normal content type with renderPosition. But my fields do not appear. I think that is correct, but my question is now:


How can i use a form type in a content type, so that i can use both types on one page??

Maybe i can use a module and call it in the template, but thats not a clear way, or?

I hope you could help me with a few lines :-)

Thank you very very much

Kiki

Get a Book for SEBLOD
11 years ago
0
Level 1

Hahahaha, du kennst mich?? Cool :-) Ich schliesse daraus, dass du aus D/A/CH kommst.
Naja, hab mich weiter schlau gemacht und so ohne weiteres scheint es tatsächlich nicht zu klappen. Anhand eines Videos von Daniel Young habe ich gesehen, dass auch er das Formular via Modul einbindet.

Also habe ich einfach ein neues Formular erstellt, zudem eine neue Position (im "normalen Template") und dann habe ich via PHP die Position in mein Seblod-Tpl eingefügt. Dort rufe ich jetzt jeweils mein Formular auf.
Allerdings hat die Sache noch einen Haken: Das Seblod-Form läuft zum Teil mit jQuery und scheinbar beissen sich gerade einige meiner Scripte. Vor allem das von Joomla eingebaute jmigrate macht Stress wie sau :-)
Aber ich bin einen großen Schritt weiter.

----

For other users who don't understand german language: I tried know all the day and i found out, also with a video from Dan Young, that actually its not possible to mix forms and content types. Clear: You cannot use a form in one of your built content types.
But what you can do is calling the form as a module. So all you have to do after, is setting up the module with the form you want to show and then showing the module in your module position. In my case i built a new position in my seblod template.

So in fact now i have my content and my form all in one container like i wanted it do.

Maybe its no the easiest way, but it works for me.

Get a Book for SEBLOD