ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to hide fieldname names (SAEF)?

July 13, 2007 7:19am

Subscribe [1]
  • #1 / Jul 13, 2007 7:19am

    Riverboy

    2993 posts

    How you can or can you hide the texts “body, summary and extended text” from showing up in SAEF? I use only one textarea (body) in my SAEF for users and there is no need for that to show these texts at all!

    Cheers:
    - Tuittu

  • #2 / Jul 13, 2007 7:29am

    silenz

    1651 posts

    Remove anything from {custom_fields} to {/custom_fields} (including those two tags) from your SAEF template and replace it with the input for the field you want to use.

    If your “body” field has the ID 2 it would be.

    Body
    
    <textarea id="field_id_2" name="field_id_2" dir="ltr" cols="50" rows="10" onclick="setFieldName(this.name)"></textarea>

    You can lookup the ID under “Custom Weblog Fields” in Weblog Administration.

    EDIT:
    Previewing is a problem using this method.

  • #3 / Jul 13, 2007 7:51am

    Riverboy

    2993 posts

    Hell yeah that helped. And for further issues too if need some fields to show! Thanks!

    Anycase, i run to another problem. Because of the CORE (i dont get that the upload-pop up is included into some corefile) when users are submitting pictures, there is those 3 words again. Again i need to think harder what way i make this simple version of my SAEF with image upload…

    Thank you silenz for that anyway!
    Yours:
    - Tuittu

  • #4 / Jul 13, 2007 7:52am

    Riverboy

    2993 posts

    I dont have any problems with preview. It echos the entry to same page!

  • #5 / Jul 13, 2007 8:19am

    silenz

    1651 posts

    But it doesn’t refill the textarea, does it?

  • #6 / Jul 13, 2007 9:04am

    Riverboy

    2993 posts

    omg. that i didnt “see”. Nope -it clears the field :down:

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases