Page 1 of 1

What's the point of the <form action="'.$this->request_url ?

Posted: 05 Sep 2010, 17:38
by kursus
Hi all,

I guess it's a question for Jan :

What is the point of the :

Code: Select all

<form action="'.$this->request_url.'" method="post" name="adminForm">';
that can be found in the category view template ? (and probably elsewhere). This is the main form that wraps the whole template. I've erased it because of a strange behavior when adding other forms to the template, and notice absolutely no changes.

Is it safe to remove it ? Or is there any hidden surprise ?

Thanks a lot

Re: What's the point of the <form action="'.$this->request_u

Posted: 10 Sep 2010, 15:36
by Jan
Hi, the form is needed because e.g. of pagination - chaning values in pagination needs this form.

Jan

Re: What's the point of the <form action="'.$this->request_u

Posted: 10 Sep 2010, 17:01
by kursus
Ok thank you for your time Jan.

I have set up my defaut pagination to 8 and everything seems normal.
Are you talking about the selector ?

Re: What's the point of the <form action="'.$this->request_u

Posted: 14 Sep 2010, 22:13
by Jan
Yes