Support » Plugin: RSVPMaker » Calendar Form BUG

  • Just something I noticed. In the bottom nav of the calendar shortcode the “jump form” is not loading events properly because it is missing the query parameters for the month/year that the paginated links above have.

    <form id="rsvpmaker_jumpform" action="%s" method="post"> %s <input type="text" name="cm" value="%s" size="4" class="jump" />/<input type="text" name="cy" value="%s" size="4" class="jump" /><button>%s</button>%s</form>', $self,__('Month/Year','rsvpmaker'),date('m',$monthafter),date('Y',$monthafter),__('Go','rsvpmaker'),$page_id);

    should be:

    <form id="rsvpmaker_jumpform" action="%s?cm='.date('m',$monthafter).'&cy='.date('Y',$monthafter).' method="post"> %s <input type="text" name="cm" value="%s" size="4" class="jump" />/<input type="text" name="cy" value="%s" size="4" class="jump" /><button>%s</button>%s</form>', $self,__('Month/Year','rsvpmaker'),date('m',$monthafter),date('Y',$monthafter),__('Go','rsvpmaker'),$page_id);

    cheers!

Viewing 1 replies (of 1 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I appreciate the code suggestion, but I’m not clear what you’re trying to accomplish. Having the cm / cy parameters as both GET and POST variables doesn’t change anything for the better as far as I can see.

    What am I missing?

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.