Forum Discussion

peterlu's avatar
peterlu
Champion
10 years ago

custom post / message meta data on certain node(s)

We all know that professional service team can help set up custom meta data for messages. Lets say we have 3 forum boards, and we only want to set up custom meta data for messages on 2 boards. Is i...
  • HaidongG's avatar
    10 years ago

    Hi peterlu 

     

    I assume that you want to add two metadata fields to blogA and blogB, but not all blogs.

     

    It can only be done via Professional Services. basically, we will 

    1) add metadata to the message node, specify that it is for blog and root-only (no reply)

    2) change message post form layout to include those two fields

     

    after that, non blog articles will not be blocked as the metadata is for blog only. but all blogs, will have two additional fields, so we have to 

     

    3) add some java class, which will check the node id and exclude the two fields in the form layout before post page loads. In another words, we can hide the two additional fields from server side, without CSS or JS.

     

    I hope that the above explaination helps.