I detail my case:
1. I make a copy of a form that is working correctly.
2. I enter the new copy. On a page that is not the "start_page" (standalone form) I make some modifications at the "Read data" level to change the conditions of the query. I don't change anything on the front, there is no javascript code that interrupts the loading due to errors. It only has a couple of php codes that I did not modify.
3. I try to run that page by accessing it from the link "/index.php/component/chronoforms7?chronoform=wall&tmpl=componen&gpage=load&offset=0". and it loads everything blank, it doesn't show me anything.
4. I run the same page again, but in the original form (without the changes in the read data conditions), and it runs fine there.
5. I return to the new form that is the copy, I run the page with administration and it runs fine, but when I run it on the front it still doesn't show me anything. He works in the admin, but not in the front.
As you will see in the url, I am using tmpl=component, it should not be loading the front-end template.
Can you help me please?
1. I make a copy of a form that is working correctly.
2. I enter the new copy. On a page that is not the "start_page" (standalone form) I make some modifications at the "Read data" level to change the conditions of the query. I don't change anything on the front, there is no javascript code that interrupts the loading due to errors. It only has a couple of php codes that I did not modify.
3. I try to run that page by accessing it from the link "/index.php/component/chronoforms7?chronoform=wall&tmpl=componen&gpage=load&offset=0". and it loads everything blank, it doesn't show me anything.
4. I run the same page again, but in the original form (without the changes in the read data conditions), and it runs fine there.
5. I return to the new form that is the copy, I run the page with administration and it runs fine, but when I run it on the front it still doesn't show me anything. He works in the admin, but not in the front.
As you will see in the url, I am using tmpl=component, it should not be loading the front-end template.
Can you help me please?
Something else I just found: in the form that is the copy, I deleted one of the pages that I was not going to need, and I can still access that page even though it does not exist. I just realized that the link of this new form is accessing the page that still exists in the original form.
did you change the alias of the new form ?
what is the default form page ? does it still exist after the copy ?
The default page is very similar in the original and copied format. The only thing that changes is this:
Original default form:
await fetch(`/index.php/component/chronoforms7/?chronoform=Muro-actividades&gpage=load_actividades&tmpl=component&offset=${offset}`)
Copied default form
await fetch(`/index.php/component/chronoforms7/?chronoform=Muro-actividades-perfil&gpage=load_muro_actividades&tmpl=component&offset=${offset}`)
Original default form:
await fetch(`/index.php/component/chronoforms7/?chronoform=Muro-actividades&gpage=load_actividades&tmpl=component&offset=${offset}`)
Copied default form
await fetch(`/index.php/component/chronoforms7/?chronoform=Muro-actividades-perfil&gpage=load_muro_actividades&tmpl=component&offset=${offset}`)
Could someone tell me if they are already working on this case? or what happened that I don't receive more responses?
please remove tmpl=component and test the form, what does it show on frontend ?
I'm sorry but some questions are related to very particular user work and are beyond the general questions we answer here, it's not easy to solve this without having access to the forms on your website and spending sometime checking everything, which is considered a pro support
I'm sorry but some questions are related to very particular user work and are beyond the general questions we answer here, it's not easy to solve this without having access to the forms on your website and spending sometime checking everything, which is considered a pro support
I changed the logic of the application a little, now I'm conditioning some of the Read Data, but PHP Conditions doesn't work for me:
$user_id = 243; //$this->get("userid","");
$arr_data = [];
if ($user_id > 0) {
$arr_data = [['activities.user_id', $user_id, '=']];
}
return $arr_data;
enable the form debug and check the SQL statement executed, does it have this condition ?
You need to login to be able to post a reply.
