Jump to content

jafakash cp

Members
  • Posts

    43
  • Joined

  • Last visited

1 Follower

About jafakash cp

  • Birthday 09/04/1989

Profile Information

  • Location
    Trivandrum,kerala,india
  • Activity
    Developer

jafakash cp's Achievements

Newbie

Newbie (1/14)

1

Reputation

1

Community Answers

  1. Hi , All i want a flip book pdf attachment in prestashop . right now i can read pdf attached to a product but i want read it as a flip book . Please see below website url. I want exactly like this https://wizbox.in/catalogues/view/1-star-final-1 is there any plugin for this or how to customise in controller? please help need urgently.
  2. hi , every thing work fine for me now except one . i have two button one for read pdf another for download pdf . download button working fine by using prestashop attachment link. To read pdf i have commented below code in Attachmentcontroller. header('Content-Disposition: attachment; filename="'.utf8_decode($a->file_name).'"'); but i want both read and download functionality . right now only one function will work either read or download. how to resolve this Thanks Jafakash
  3. hi scully , i got a solution as you said i will create manual attachment and each attachment id is stored in corresponding category using text field by overriding admin controller . now i can use that unique attachment id in each category and can fetch where ever i need. i appreciate your quick response If you have a solution for my previous logic , you can share for future development Thanks Jafakash cp
  4. Hi scully, Thanks for the replay . my client requirement will not meet with adding attachment manually and link in short description . I need to add from admin panel as file upload. and am an experianced developer in prestashop i can customise controller or tpl , its not a big deal . i just need a solution only . i hope you can help me. Thanks again for reply Jafakash cp
  5. Hi team, I have a scenario in a project where i need to add a pdf attachment in prestashop category in admin panel . i need to ovveride admin category controller to show upload file for pdf and uploaded pdf should be stored in image category folder . how to achieve this . please do replay asap . am stuck in my task . Thanks Regards Jafakash
  6. hi, i have created an custom cookie variable like $context->cookie->line = $p_line; . now after completing my functionality i just need to unset this variable from context cookie . for deleting cookie variable in php we will do like unset($_COOKIE['mycookiename']); how this method can be apply to above context cookie. Looking forward to prestashop expertise reply. Thanks Jafakash cp
  7. i hope i will get replay from any prestashop expertise as soon as possible ...... waiting for your valuable reply
  8. hi, am working on prestashop 1.7 . i made a tpl file with form to upload image . when button submit i will move upload image to an image folder and call email functionality to add attachment , my email functionality is working fine but in controller (i have added my own controller) i cant move image to a particular folder. my code to move uploaded file is given below. ****************************************************************************************************** if (isset($_FILES['fileUpload']['name']) && !empty($_FILES['fileUpload']['name']) && !empty($_FILES['fileUpload']['tmp_name'])) { $move =$url.__PS_BASE_URI__.'/img/'; //echo __PS_BASE_URI__;die; $uploadedFile = $_FILES['fileUpload']['tmp_name']; if(move_uploaded_file($uploadedFile, $url.__PS_BASE_URI__.'/img/'.$_FILES["fileUpload"]["name"])) { chmod($move, 0755); echo "upload complete";die; } else{echo " 1error";die;} echo dirname(__FILE__).'';die; } ************************************************************************************************************************** function never entering in if(move_uploaded_file($uploadedFile, $url.__PS_BASE_URI__.'/img/'.$_FILES["fileUpload"]["name"])) this condition , always going to else condition. please let me know is there any issue in my code or how to resolve this issue. waiting for your valuable reply
  9. hi , is it possible to call front controller method from a tpl anchor tag? from href call i need to call front controller method . Solution needed for prestashop 1.7 version
  10. Thank u both for the reply... will check both scenario
  11. Hi all, I need a prestashop module for live chat and group chat exactly like https://wizbox.in. its not like technical support live chat , chat can be done as a group for a specific topic too . is there any module available please let me know asap Thanks Regards Jafakash cp
  12. yes after deleting, product delete from compare page successfully and url changes as http://my site url/products-comparison?compare_product_list=1. but when i click browser back button it will goes to last url http://my site url/products-comparison?compare_product_list=1%7C483 shows deleted product also . i just want to hide deleted product in compare page http://my site url/products-comparison?compare_product_list=1%7C483
  13. pls check my scenario after adding two product for comparison i click compare page and my url will be like http://my site url/products-comparison?compare_product_list=1%7C483.(am not providing exact site url bcs of security reason) then i delete product from this page then my url become http://my site url/products-comparison?compare_product_list=1. so basically when i click back button from this page it will show last url http://my site url/products-comparison?compare_product_list=1%7C483. but as my project flow i should not show deleted product and its url when ever i click back button after delete . Hope you unserstand what i need . looking forward to your reply . if naything possible through jquery script also appreciatable Thanks Jafakash
  14. Hi , I would like to share a scenario in prestashop , i have added two product in product compare page. after going to compare page i have deleted one of the product and click browser back button but still it showing old deleted product in compare page . please give a solution for this
×
×
  • Create New...