• I am using custom fields on a certain category and I want to be able to hide the default “Post” box for that category and just use the custom field template.

    I have been able to do this on a past before somehow with a setting in the admin but I can not find that option. How do I go about doing that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    How about using CSS to hide it?
    I did a quick test with this applied to one of my custom field elements:
    after = <style type=text/css>#postdivrich {display:none;}</style>
    It works in IE7 and FF have not tested it in others.

    Thread Starter bruin03

    (@bruin03)

    Where might I place this CSS?

    And why the “after =” part?

    Thread Starter bruin03

    (@bruin03)

    I tried both

    after = <style type=text/css>#postdivrich {display:none;}</style>
    before = <style type=text/css>#postdivrich {display:none;}</style>

    below my field elements and they did not seem to work.

    [Categories]
    type = select
    after = <style type=text/css>#postdivrich {display:none;}</style>

    This is an example that I used. It doesn’t matter if the embedded style rule is before or after the custom field – here it is after.
    I’ve tested it in IE6 and it doesn’t work. But it does work fine in IE7+, FF,Opera and Safari.

    If you use multiple Custom Field Templates, when you load between them it will update the #postrichdiv area fine.

    Are you using the latest version of Custom Field Template?

    Thread Starter bruin03

    (@bruin03)

    Yes, I am using version 1.3.6, which i believe to be the latest version (please correct me otherwise).

    I’m using firefox 3.08 and have placed after = <style type=text/css>#postdivrich {display:none;}</style> after the first item. The main input still appears. I play with the positioning of the after = style, and try using it in multiple places until i get the results i’m looking for.

    Thread Starter bruin03

    (@bruin03)

    I finally got it working after adding it to a number of custom fields.

    Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Custom Field Template] Hiding the Post Textarea’ is closed to new replies.