Stokie Worm Posted September 21, 2015 Share Posted September 21, 2015 Hi i am trying to find the tpl file so i can edit and change the layout of certain content within that page, can anyone please advise me of which file i need to edit Regards Chris Link to comment Share on other sites More sharing options...
Stokie Worm Posted September 22, 2015 Author Share Posted September 22, 2015 Ok so i found the correct file to edit which is IndexController in controllers/front/ The next issue i have is i need to allow <br /> tags or something similar to seperate the flow of content in this section of the page, here is my code and what it looks like and if anyone can point me in the right direstion to make an unordered list that would be most grateful. Db::getInstance()->executeS("INSERT INTO `ps_customer_thread`(`id_shop`, `id_lang`, `id_contact`, `id_customer`, `id_order`, `id_product`, `status`, `email`, `token`,date_add,date_upd) VALUES ($id_shop,$id_lang,0,$id_customer,0,0,'".$status."','".$email."','".$token."','".$dateadd."','".$dateupdate."')",'INSERT'); $id_customer_thread = Db::getInstance()->Insert_ID(); //echo $id_customer_thread; //$message = $_POST['message']; $parts = $_POST['products']; $parts = implode(",", $parts); $message = ''; $message = "Dear Bob / Chris, Customer : ".$_POST['firstName']." ".$_POST['lastName']." requested a quote for parts on the following vehicle : ".$_POST['vehiclemodel']." ,".$_POST['vehicle_registration'].", ".$_POST['vehicle_make'].", Parts : ( ".$parts." ). Inquiry Message: ".$_POST['message'].", Response at ".$_POST['email']."."; Db::getInstance()->executeS("INSERT INTO `ps_customer_message`(`id_customer_thread`, `id_employee`, `message`, `date_add`, `date_upd`) VALUES ($id_customer_thread,0,'".$message."','".$dateadd."','".$dateupdate."') "); } else Link to comment Share on other sites More sharing options...
Stokie Worm Posted September 22, 2015 Author Share Posted September 22, 2015 just like this Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now