then poll will be displayed with that switch
but after pressing 'vote' button or "result"
return link is:
index.php?action=results&poll_ident=6 without "menu=poll"
Is it possible to add 'menu=poll' so whole link will look like that
index.php?action=results&poll_ident=6&menu=poll
I know very well what does <form action=..> means
If only it was so simple, but it wasn't ....
You can safely delete all files from templates folder on your serwer becouse after instalation they are in mySQL base and are taken from there if neaded.
Second problem is that "vote" link is made by form method while 'result" link is made in pure html. Form method uses for example:
<form method="post" action="$this->form_forward">
You can add what you want after forward and before " to change form action but you must do it in mySQL and you have to do it each time when you want to change parameters of form action.
So the very best way is to use variables method ie. "$link" which can be changed in code of your html page, not in mySQL base through phpAdmin.
Its easy to change record in base but this is not a good way of solving that problem.
Anyway, It took me whole half of day to solve it, and I had to add procedures in class_poll.php which change parameters of index.php, as well i had to write mySQL query to change records responsible for templates of form.
Hard work, but it works now.