Hi,

Thanks for a great module - it gets installed on all my sites as a matter of course now.

Are there any plans for a Drupal 7 version?

Cheers, Joe

Comments

nedjo’s picture

No. I wrote this years ago as a proof of concept and have never used it myself. I'm focused on other modules and don't have time to maintain it. If another maintainer stepped forward, I'd be happy to pass it on.

joecanti’s picture

ok - thanks for the reply. I'll leave the post open for now to see if anyone wants to chime in.

Anyone reading this want to convert to D7?? Is there a need for it??

Another good reason for me to stick with D6!

Many thanks, Joe

sachbearbeiter’s picture

thanks to nedjo for this "must have" module for people without developer skills ...
it would be nice, if someone would take care of it ...

alex.pilon’s picture

I'd be interested in taking this over.. I don't have a lot of drupal 7 experience yet, but I do have a developer background.

nedjo’s picture

Title: Any plans for D7 version of Formfilter? » D7 version of Formfilter

@alex.pilon: great! I've added you as a maintainer. Please create a new git branch for D7 work. Feel free to apply your changes to that branch incrementally--don't feel like you need to apply everything at once. If you need review or clarification, please post here. If you look over the code and find that a straight upgrade seems the best place to start, please go ahead. If you think it makes sense to do significant refactoring first, please open one or more new issues and explain the changes you're making.

Thanks!

alex.pilon’s picture

Cool, thanks!

joecanti’s picture

This sounds great!

I cant help with coding but I'll help with testing and anything else I can.

Many thanks,

Joe

sachbearbeiter’s picture

excellent - if i can help with some money ...

i think as maintainer you can include: http://www.chipin.com/

i'm not a developer - so i can only test ...

alex.pilon’s picture

I have transitioned to a new job and have not had a lot of time to work on this. I am going to try and get a jump on it this evening.

sachbearbeiter’s picture

maybe both modules should move together: http://drupal.org/project/nodeformsettings

nodeformsettings is not so generic (for a lot of usecases formfilter is the best :)

AtomicTangerine’s picture

sub and bump I suppose, has this moved forward at all? Very interested.

alex.pilon’s picture

I have committed a D7 branch if you want to take a look at it.

flyonthewall’s picture

I am happy that you are porting this to D7 as I am making the transition now.

I have the D6 FormFilter on many client sites and they absolutely love the fact that I can hide most form elements from their moderators since they just want them to have access to certain fields on certain content types.

I am happy to help test out your version. Where is the D7 branch at? I am confused....is this going to be part of #10?

nedjo’s picture

Status: Active » Fixed

@alex.pilon: Thanks!

I've applied a few additional fixes. Could use a lot of further going over but may basically work. I've posted a dev release for Drupal 7 but I won't post any supported or stable releases unless a new maintainer steps forward.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Lirkun’s picture

Need this module badly for D7 =(

The dev version looks not to be working, or I didn't get something.
It installs perfect and then I have only config settings for it. All forms everywhere looks like without module.

I just need to hide several Ubercart fields, and can't do this using CCK or something else =(

Also have this error "Notice: Undefined index: body_filter в функции formfilter_ui_form_alter() (строка 126 в файле /home/www/unterbau.com.ua/htdocs/sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module)." while adding new node (of any type), when "Simplify node form" is checked in setting. Form "Advanced options" is empty. (p.s. Sorry for offtop, but I didn't see sense to open new topic for now)

joecanti’s picture

There is a D7 module called simplify - has anyone tried it out? From first look it doesn't look like it has the same control as form filter, but I could be wrong?

cheers, joe

Yuri’s picture

I get this error when installing the latest D7 dev version on http://drupal.org/node/1243324 (downloaded 09/22/2011).
Using Drupal 7.8

Warning: array_unshift() [function.array-unshift]: The first argument should be an array in formfilter_ui_form_alter() (line 95 of /home/office/public_html/sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module).
alex.pilon’s picture

Hey guys, I'll check out the error messages you guys are getting. Lirkin did you find a way around this problem? I should be able to get this fixed up in a day or two.

Thanks

alex.pilon’s picture

Hi Yuri, Can you try the latest dev release?

@Lirkun can you try the latest development release? I have made some fixes to the module to resolve several port issues. I have it working on a D7 install. Keep in mind that when you apply the filters, you need to look at the form with a user who does not have the view forms without filters permission. Looking forward to hearing how you make out.

Thanks

jlea9378’s picture

Formfilter appearing on the update.php script with errors was driving me crazy, so I added the following if statement to the ui module. Might be something you want to add also:

function formfilter_ui_form_alter(&$form, &$form_state, $form_id) {
  global $user;

  if ($form_id == 'update_script_selection_form')
    return;