Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-07-16 16:44:01

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_form_toggle: Toggle form-visibility

LOL! This is why I develop plugins :D.

I can definitely add a plain class to the h3’s too.

Offline

#14 2008-07-16 18:55:29

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: jmd_form_toggle: Toggle form-visibility

Jm, this is a great plugin!

I was wondering whether it’s possible to add a preference tab to specify what form types should come up collapsed/expanded by default.

I mostly work with article and misc and would like the others to appear/stay collapsed. As things are now, I can collapse them, but when I click a form to edit it, all the other form categories expand again.

Cheers Martin

Offline

#15 2008-07-16 19:08:55

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: jmd_form_toggle: Toggle form-visibility

masa wrote:

I mostly work with article and misc and would like the others to appear/stay collapsed.

#type_comment,
#type_file,
#type_link{
display:none;
}

Offline

#16 2008-07-16 19:12:37

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_form_toggle: Toggle form-visibility

Getting those lazy thoughts again – how about moving the CSS to Presentation>Style, so it’s easier to edit?

Offline

#17 2008-07-16 19:38:48

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: jmd_form_toggle: Toggle form-visibility

@Dale: Thanks, should have thought of that myself!

@Jon-Michael: Yes, that would be more convenient.

Offline

#18 2008-07-17 10:59:40

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: jmd_form_toggle: Toggle form-visibility

cool


Nico

Offline

#19 2008-08-08 00:37:11

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: jmd_form_toggle: Toggle form-visibility

ah, where have i been?! you did my request, yay! (gives cookies) :P

Last edited by Ruhh (2008-08-08 00:37:48)


<txp:Ruhh />

Offline

#20 2008-08-11 08:26:38

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: jmd_form_toggle: Toggle form-visibility

sorry to double post. i modified to put them on collaped by default, however, i have to click twice to expand. what can i do so i only have to click once to expand??


<txp:Ruhh />

Offline

#21 2008-08-11 17:39:45

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: jmd_form_toggle: Toggle form-visibility

Whoops, I forgot I fixed that awhile ago. 0.3 is up.

  • CSS can be edited from Presentation>Style>jmd_form_toggle
  • Toggle now works for pre-hidden types
  • “plain” class added to h3’s for admin-facelift compatibility

Last edited by jm (2008-08-11 17:42:27)

Offline

#22 2008-08-11 19:55:26

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: jmd_form_toggle: Toggle form-visibility

thanks! :D


<txp:Ruhh />

Offline

Board footer

Powered by FluxBB