Jump to content

kiransharma

Members
  • Posts

    12
  • Joined

  • Last visited

About kiransharma

  • Birthday 10/07/1985

Contact Methods

  • Skype
    sharmakiran71

Profile Information

  • Location
    India
  • Activity
    Developer

kiransharma's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Yes @elpatron, Thankx fro your help, Now i got clear idea what to do, I was little confuse to set clickable link. Rather than using their default syntex for this i had to built my own form for admin, Now things working fine. +point for your comment.
  2. Yes got something on track, but it will show as desc ( below the field where i want to show link ), as desc is use to show element description below it. so what i had to do to show with proper align ment like <lable>URL :</lable><a href="asdfsdf">Click here</a> and another thing is how can i give href url which came from database as in above array we use 'name'=>'url'?
  3. Yes i had put this, as It shows warning message with link, But how can i use this in randerForm array... as shown above. Can't got proper way, I also had attach one image in first comment..
  4. Very thankx for reply @elpatron, I just thought that... to make function to show HTML output, but how i replace with this code as I use rander form and my current syntex is like below which i want to convert in clickable link. public function renderForm() { $this->fields_form = array( 'legend' => array( 'title' => $this->l('Contact Request'), ), .... .... array( 'type' => 'textarea', // Change might be here 'label' => $this->l('Url:'), 'name' => 'url', 'cols' => 30, 'rows' => 4, 'required' => true, 'desc' => $this->l('Product Url'), ), Here type is given as 'textarea', So, type will be html or anything else...
  5. Hi, I had created listing for contact detail and on click on contact listing the it show edit page. I had url in contact edit page which currently i show in textarea the screenshot is as below. My current code in AdminContactRequest.php file is as below, public function renderForm() { $this->fields_form = array( 'legend' => array( 'title' => $this->l('Contact Request'), ), .... .... array( 'type' => 'textarea', // Change might be here 'label' => $this->l('Url:'), 'name' => 'url', 'cols' => 30, 'rows' => 4, 'required' => true, 'desc' => $this->l('Product Url'), ),
  6. Hi @fgarciarico, As you see I do not got any idea from forum members as no reply got. But currently i made thing work by R&D as follow, ( First i thought to make module but currently i am using ) -- I had change in core files, I prepare contact form html in product.tpl file and controller code in product controller file. In product file i also code for mail with current product page url which will receive to admin. -- I also made one contact request table, so admin can also see contact request listing from backend and can edit it. if you want functionality like i made reply to this thread, i will give detail idea. still one thing is I neither got proper documentation for functionalities nor much forum help.
  7. @DrGren Thankx for your post #13 Just one correction, Use $this->fields_list = array( insteadOf $this->fieldsDisplay = array( +1 for this.
  8. Hi, I had table as ps_contact_list in which i had dummy data from contact form. Now, I want to list that data in Admin Panel, so which is the best way to show data in admin panel. I want to show listing same like employee and product listing. Plz can somebody give flow to create this functionality for Admin.
  9. Hi, I am newbie to prestashop, I want to know how can I add Contact form on product detail page, My requirement is like, { I had set system in catalog mode } - I want to add Contact Form on each product detail page, from where mail sent to admin with current url (product detail page url), and Contact form entry in database so admin can see order detail (contact requests) from Admin Panel. Is there any ready-made module or I had to create my own module??? I am using prestashop latest version 1.5.0 ( released on 13 sep 2012 ) The contact form something look like I attached with current topic. Thankx, Kiran Sharma
  10. first log in to back office then Click Preference tab then Click Products sub tab then Choose Yes to “Catalog Mode” and click Save or for partucular product you can use this url of current post, http://www.prestashop.com/forums/index.php?/topic/79350-solved-prestashop-14-how-to-activate-catalog-mode/page__view__findpost__p__443587
×
×
  • Create New...