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

Phoca Download - download manager
kursus
Phoca Member
Phoca Member
Posts: 11
Joined: 03 Mar 2010, 18:06

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, the form is needed because e.g. of pagination - chaning values in pagination needs this form.

Jan
If you find Phoca extensions useful, please support the project
kursus
Phoca Member
Phoca Member
Posts: 11
Joined: 03 Mar 2010, 18:06

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

Post 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 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Yes
If you find Phoca extensions useful, please support the project
Post Reply