Alpine418 Posted January 14, 2020 Share Posted January 14, 2020 Hi, 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): Thanks. Link to comment Share on other sites More sharing options...
Alpine418 Posted January 19, 2020 Author Share Posted January 19, 2020 @Robin S @ryan maybe you can answer my question? Link to comment Share on other sites More sharing options...
Alpine418 Posted August 18, 2020 Author Share Posted August 18, 2020 any comment? ? 1 Link to comment Share on other sites More sharing options...
Neue Rituale Posted September 22, 2020 Share Posted September 22, 2020 I need this too. Link to comment Share on other sites More sharing options...
Alpine418 Posted March 5, 2021 Author Share Posted March 5, 2021 Push. Any help? Link to comment Share on other sites More sharing options...
Jan Romero Posted March 5, 2021 Share Posted March 5, 2021 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 More sharing options...
Alpine418 Posted March 6, 2021 Author Share Posted March 6, 2021 Correct this works. But what is if I dont want a wrapper around tabcontents in the forms? Link to comment Share on other sites More sharing options...
Jan Romero Posted March 7, 2021 Share Posted March 7, 2021 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. 2 Link to comment Share on other sites More sharing options...
cst989 Posted March 22, 2022 Share Posted March 22, 2022 Just bumping this thread from a couple of years ago because it's the top result for "fieldset page as a tab" ? I wanted to say that I think it would be a really good idea if this was baked into the Fieldset Page by default. In fact, I think a tick box to make basically any field live in a tab of its own could be a pretty good idea. At this point a single field can contain so many subfields. There's Repeater Matrix, FieldsetPage, Profields: Combo, tables, textareas, and more. Many of these field types do a great job of reducing the amount of fields you need overall, but also lead to a very cluttered page edit screen. Fieldset Tabs were excellent in the past when we didn't have so many clever fields-within-fields, but now it feels like there could be a better way? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now