Skip to main content
Topic: confirmation email procedure, missing file : default_layout.php (Read 1269 times) previous topic - next topic

confirmation email procedure, missing file : default_layout.php

Hi,
in app/controllers/indexController.php from line 218 to 237
Code: [Select]

$mailer=new Mailer;
if($mailer->send_mail($email,$mailtitle,$mailbody) == true){
$view_data=array("status"=>true,"user_email"=>$email);

$this->view->render("index/emailverification.php" , $view_data , "default_layout.php");
}
else{
$view_data=array("status"=>false,"user_email"=>$email);

$this->view->render("index/emailverification.php" , $view_data , "default_layout.php");
}

}
else{
$this->view->render("errors/error_general.php" ,"Email is Already Verified","default_layout.php");
}
}
else{
$this->view->render("errors/error_general.php" ,"Email is not Registered","default_layout.php");

the view is set to render using default_layout.php, but the file is not generated during Publish.

All flow as intended putting the missing file : default_layout.php in app/views/layouts duplicating main_layout.php or info_layout.php

Re: confirmation email procedure, missing file : default_layout.php

Reply #1
Hi Abbadon1334

Thanks for the update.

This issue has been fixed on the new release version (2.6 and 2.4)

Thanks for your great support