Is it possible to have two post forms in one page?
OK. I know it sounds crazy and pointless, but let me explain myself… I am using the buddypress-sliding-login-panel plugin (http://buddypress.org/community/groups/buddypress-sliding-login-panel/) and I want to insert a mini post form in the sliding panel, so the members can quickly update their activity without having to go to the activity/profile/groups page. Just take a look at the screenshot to get the general idea: http://awesomescreenshot.com/03fox371
The form had to be smaller, so I just copied the post-form.php (in bp-themes/bp-default/activity) and I created a new file named post-form-mini.php and I simply changed the dimensions of the post box.
So far so good… But here comes the problem!
If I change the ids and names of the form and/or the textarea the mini post form doesn’t work at all.
If I simply keep the same ids and names as in the main post form (
- The topic ‘Is it possible to have two post forms in one page?’ is closed to new replies.