| Post |
|
Guest
| navyseal 1:29 pm June 30, 2008
| |
|
|
Please replace the ??? with your data!
- Your URL: http://???
- The browser used: Firefox
- cforms version: 8.5.1
- Your Wordpress version: 2.5
[desc]:
HI
at first i want to ask if it is allowed to develop plguins that uses / requires your plugin (the tag "cforms contact form by delicious:days " would be always visible) ?
Im trying to develop a plugin to extend the user profile with custom fields. therefore i would like to use the cforms plugin for the input forms, but i only need the genereated forms without the <form> tag and the submit button. are there any functions that generate only these forms?
maybe you can help me with this special problem – sorry for my bad english :D
|
|
|
Admin
| Oliver Munich, Germany posts 6096 8:53 pm June 30, 2008
| |
|
|
While you can of course create a plugin that requires cforms, it is not permissible to
- repackage cforms
- use partial code or in whole as a basis for a new plugin
- change and redistribute cforms
Concerning your problem, cforms seems to be complete overkill, I'm sure you'll find a much lighter way to do it.
|
|
|
|
|
Guest
| navyseal 12:53 am July 1, 2008
| |
|
|
hi
thx for your fast answer! maybe you could give me a small hint what you mean with "lighter" :D my goal is to build a very flexible plugin … maybe you could help me to find a way to generate only the raw input forms – but coding such a function is more like reinventing the wheel – maybe there are functions that i could use :)
thx for your time and help!
|
|
|
Admin
| Oliver Munich, Germany posts 6096 6:20 am July 1, 2008
| |
|
|
but coding such a function is more like reinventing the wheel -
not necessarily, since you need to make it work efficiently and effectively for your purposes. there is no "easy" way of creating a good plugin, it's hard work.
|
|
|
|
|
Guest
| navyseal 7:53 am July 1, 2008
| |
|
|
i agree with you, there is no easy way to create a plugin, but i think its not necessary to recode parts like creating forms (over web ui) when there are already plugins like cforms.
if there is currently no way to generate only the form parts i will code this part in a static way, hoping that maybe one of the following cform versions will support/contain such a function :)
|
|
|
Guest
| navyseal 2:37 pm July 5, 2008
| |
|
|
hey ho! :)
do you provide a function that returns dynamic generated forms as "text" or something else – so it would be possible to use the function in filters.
schöne grüße :)
|
|
|
Admin
| Oliver Munich, Germany posts 6096 2:43 pm July 5, 2008
| |
|
|
HTML is text, too, right ;-)
Check your online Help! page for insert_cform() this function call returns the complete form HTML.
Grüße zurück :)
|
|
|
|
|
Guest
| navyseal 5:29 pm July 6, 2008
| |
|
|
Hi :)
i know this function but i need it for the dyn. generated forms (insert_custom_cform) but this function prints the form instantly – so i could use the filter only at the end of all filters.
|
|
|
Admin
| Oliver Munich, Germany posts 6096 6:44 pm July 6, 2008
| |
|
|
True. I guess you could experiment/get it done with PHP output buffering.
|
|
|
|
|
Guest
| navyseal 11:33 pm July 8, 2008
| |
|
|
thx! i will try this buffer :)
hm i searched in the help to preselect something in the dropdown list. is it actually possible to preselect something ?
|
|
|
Admin
| Oliver Munich, Germany posts 6096 6:49 am July 9, 2008
| |
|
|
preselection of any item is not supported yet.
|
|
|
|