AndyB
Well-known member
My Calendar add-on is working great as long as the admin has the Use Full Friendly URLs checked.
The problem occurs when the admin does not have the Full Friendly URLs checked.
This form will not create a proper URL link when the submit button is clicked.
The URL before the Submit button is clicked:
http://www.example.com/forums/index.php?calendar/&month=02&year=2014
This is the incorrect URL after the Submit button is clicked:
http://www.example.com/forums/index.php?month=03&year=2014
This is what the URL should have been:
http://www.example.com/forums/index.php?calendar/&month=03&year=2014
The problem occurs when the admin does not have the Full Friendly URLs checked.
This form will not create a proper URL link when the submit button is clicked.
Code:
<form action="{xen:link 'calendar/', $thread}" method="get" data-redirect="on">
...
The URL before the Submit button is clicked:
http://www.example.com/forums/index.php?calendar/&month=02&year=2014
This is the incorrect URL after the Submit button is clicked:
http://www.example.com/forums/index.php?month=03&year=2014
This is what the URL should have been:
http://www.example.com/forums/index.php?calendar/&month=03&year=2014