Jump to content

Fieldset (Page) as fieldset type "Tab"


Recommended Posts


I'm using Fieldset (Page) a lot for my sites. But unlikey the field only support fieldset as fieldset type.

Is there any support to choose the fieldset type for Fieldset (Page), like it is supported for Fieldset (Group)?

Example of the fieldset type selection for Fieldset (Group):




Link to comment
Share on other sites

  • 6 months later...
  • 1 month later...
  • 5 months later...

I was a pretty confused here, but I see now that FieldsetGroup is a Pro Module and FieldsetPage isn’t. Maybe ask in the ProFields-Support board? Otherwise you’ll have to compare the two modules’ code.

I assume you’ve already ruled out creating a standard FieldsetTab and putting it around your FieldsetPage? I just tried that and it looks fine to me. @rjgamer @Neue Rituale


Link to comment
Share on other sites

You mean like this?



Use this very hackish hook and replace the word “tabcontents” with the name of your FieldsetPage field:

$this->addHookAfter('ProcessPageEdit::execute', function(HookEvent $event) {
    $event->return = $event->return . '<script>document.querySelector("#wrap_Inputfield_tabcontents > label.InputfieldHeader").remove();</script>';

Might want to only apply it to certain templates, too, but whatever. Sorry, I couldn’t find an easy way to remove the element from the output directly, but this should be fine.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...