Skip to:
Content
Pages
Categories
Search
Top
Bottom

2 text area in my homepage


  • totoff
    Participant

    @totoff

    hi,
    i am working on a website and i am stuck.
    i am using buddypress, and i would like to have in my homepage 2 texts area, 2 fomr, each text area is linked to one group.
    2 groups :
    each group can be accessible from Homepage and give the right to each user to post from the homepage to the group.
    here is the code i used but the problem is i can post from the first text aera but not from the second one:

    <form action=”http://i-have-dreams.com/activity/post/” method=”post” id=”whats-new-form-homepage” name=”whats-new-form” role=”complementary”>

    <h5>Publier un rêve dans I had dreams </h5>

    <div id=”whats-new-content”>
    <div id=”whats-new-textarea”>
    <textarea name=”whats-new” id=”whats-new” cols=”20″ rows=”10″ style=”height: 100px;”></textarea>
    </div>

    <div id=”whats-new-options” style=”height: 40px;”>
    <div id=”whats-new-submit”>
    <input type=”submit” name=”aw-whats-new-submit” id=”aw-whats-new-submit” value=”Publier” disabled=””>
    </div>

    <input type=”hidden” id=”whats-new-post-object” name=”whats-new-post-object” value=”groups”>
    <input type=”hidden” id=”whats-new-post-in” name=”whats-new-post-in” value=”4″>

    </div><!– #whats-new-options –>
    </div><!– #whats-new-content –>

    <input type=”hidden” id=”_wpnonce_post_update” name=”_wpnonce_post_update” value=”2b6b6a3977″><input type=”hidden” name=”_wp_http_referer” value=”/groups/i-had-dreams/”>
    </form>

    2. for i have dreams group:
    <form action=”http://i-have-dreams.com/activity/post/” method=”post” id=”whats-new-form-homepage” name=”whats-new-form” role=”complementary”>

    <h5>Publier un rêve dans I have dreams</h5>

    <div id=”whats-new-content”>
    <div id=”whats-new-textarea”>
    <textarea name=”whats-new” id=”whats-new” cols=”20″ rows=”10″ style=”height: 100px;”></textarea>
    </div>

    <div id=”whats-new-options” style=”height: 40px;”>
    <div id=”whats-new-submit”>
    <input type=”submit” name=”aw-whats-new-submit” id=”aw-whats-new-submit” value=”Publier” disabled=””>
    </div>

    <input type=”hidden” id=”whats-new-post-object” name=”whats-new-post-object” value=”groups”>
    <input type=”hidden” id=”whats-new-post-in” name=”whats-new-post-in” value=”2″>

    </div><!– #whats-new-options –>
    </div><!– #whats-new-content –>

    <input type=”hidden” id=”_wpnonce_post_update” name=”_wpnonce_post_update” value=”2b6b6a3977″><input type=”hidden” name=”_wp_http_referer” value=”/groups/i-have-dreams/”>
    </form>

    what i have done is i copy the code from each group with firebug but i guess it is not correct, i made something wrong.

    can someone help me on that?
    is that possible?

    thanks,

    Christophe,

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘2 text area in my homepage’ is closed to new replies.
Skip to toolbar