Jump to content

kalai20078

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Location
    India
  • Activity
    Developer

kalai20078's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. You will not get help here because i have searched a lot but not getting any answers or modules. Now i hired a prestashop developer to do the same. so i recommend you to hire a dev to do your job....
  2. Yes AkrOpad Thanks! The automatic email function will be very handy. ill be looking forward for the next release....
  3. Hi AkrOpd After configuring the settings, if a new user registers then how the voucher is generated and how the new user will get notified about the offer voucher code.... In my case there is no mail sent to the customer and i dont have any clue wether the voucher generated or not... Nothing happens after a new registration happens...
  4. Hi All Am getting the following error when trying to configure the module after the successful installation in PS 1.5.4 [PrestaShop] Fatal error in module discount: Call to undefined method Category::hideCategoryPosition() Any help please..
  5. Hi smartdatasoft Thankyou for your response i actually followed the post you have give in your response, still i cant make it work i have added a post in the below link the same ill past it here... http://www.prestashop.com/forums/topic/763[spam-filter]hook-modules-into-cms-page/page__st__20 any help would be greatly appreciated. Am using PS 1.5.3.1 I want hook a module which already installed in home page and i have duplicated the module uploaded into the modules directory. I followed exactly the same steps mentioned here in this post as followes #1. Created a hook entry in PS_Hook table (HOOK_DESIGNMYSHIRT) #2. In cms.tpl file from Module/Mymodule/cms.tpl i added the following {if ($cms->link_rewrite == 'designmyshirt')} {$HOOK_DESIGHNMYSHIRT} {/if} #3. Im cms.php file from the root directory i added the following $smarty->assign(array( 'cms' => $cms, 'HOOK_DESIGHNMYSHIRT' => Module::hookExec('designmyshirt'), // Custom hook for mycmspage 'content_only' => intval(Tools::getValue('content_only')) )); $smarty->display(_PS_THEME_DIR_.'cms.tpl'); #4. In the modules folder the module php file mymodule.php i added the following public function install(){ if (parent::install() && $this->registerHook('HOOK_DESIGHNMYSHIRT')) after at the end of this same file i added the below function function hookdesignmyshirt($params) { if ($xml = $this->_xml) { global $cookie, $smarty; $smarty->assign(array( 'xml' => $xml, 'title' => 'title_'.$cookie->id_lang, 'text' => 'text_'.$cookie->id_lang )); return $this->display(__FILE__, $this->cms.'.tpl'); } return false; } After this i installed the module and checked in the BO position. the module is displayed in the hook in BO When i check the CMS page nothing is displayed even if i configure the module from BO. I checked the Apache error log i get this following error Notice: Undefined index: HOOK_DESIGHNMYSHIRT in G:\\WAMP Server\\wamp\\www\\rave\\cache\\smarty\\compile\\e2fae568d255bdaa47e61a9405a623865dd4d436.file.cms.tpl.php on line 40, referer: http://localhost/rav...70f78b7d317be98 I want this module to be placed in center of the CMS page... Have i did everything correctly please help me to solve this issue.... Thanks....
  6. Hi @codemj Am using PS 1.5.3.1 I want hook a module which already installed in home page and i have duplicated the module uploaded into the modules directory. I followed exactly the same steps mentioned here in this post as followes #1. Created a hook entry in PS_Hook table (HOOK_DESIGNMYSHIRT) #2. In cms.tpl file from Module/Mymodule/cms.tpl i added the following {if ($cms->link_rewrite == 'designmyshirt')} {$HOOK_DESIGHNMYSHIRT} {/if} #3. Im cms.php file from the root directory i added the following $smarty->assign(array( 'cms' => $cms, 'HOOK_DESIGHNMYSHIRT' => Module::hookExec('designmyshirt'), // Custom hook for mycmspage 'content_only' => intval(Tools::getValue('content_only')) )); $smarty->display(_PS_THEME_DIR_.'cms.tpl'); #4. In the modules folder the module php file mymodule.php i added the following public function install(){ if (parent::install() && $this->registerHook('HOOK_DESIGHNMYSHIRT')) after at the end of this same file i added the below function function hookdesignmyshirt($params) { if ($xml = $this->_xml) { global $cookie, $smarty; $smarty->assign(array( 'xml' => $xml, 'title' => 'title_'.$cookie->id_lang, 'text' => 'text_'.$cookie->id_lang )); return $this->display(__FILE__, $this->cms.'.tpl'); } return false; } After this i installed the module and checked in the BO position. the module is displayed in the hook in BO When i check the CMS page nothing is displayed even if i configure the module from BO. I checked the Apache error log i get this following error Notice: Undefined index: HOOK_DESIGHNMYSHIRT in G:\\WAMP Server\\wamp\\www\\rave\\cache\\smarty\\compile\\e2fae568d255bdaa47e61a9405a623865dd4d436.file.cms.tpl.php on line 40, referer: http://localhost/rave/kalai/index.php?controller=AdminCmsContent&token=4b15a61cf16e9ba9b70f78b7d317be98 I want this module to be placed in center of the CMS page... Have i did everything correctly please help me to solve this issue.... Thanks....
  7. Hello Fabien, This is a useful topic. I Want to hook a module in my CMS page how can i do this with the help of your guide here. If you can guide it would be great... Thanks...
  8. Hi Raven, This is a really good guide for a newbie to understasnd and create hi/her own custom hook. It would be better if you could associate this tutorial with CMS page. I mean How to create Hook and hook a module in a CMS page. in his way this tutorial will be more useful for those who want to create a hook and hook their modules to their CMS pages..... The reason why i suggest this to you because this guide written in such a way that every one can understand.... Thanks!
  9. Hi all How can we hide all the products from a particular category or categories in products page or in the product display module in the products page. I have a custom module which shows custom products in a cms page and i need to hide these products in the prestashop's default products page. How can i do this... Thanks!
  10. Hi I have a problem in PS1.5.3 with product custom fields. i want my customization fields to be just a text fields not a text area fields. my current code is <textarea type="text" style="width:50px; height:17px;" name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="1" cols="10" class="customization_block_input" />{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}</textarea> and i have changed this to <input type="text" style="width:50px; height:17px;" name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="1" cols="10" class="customization_block_input" value="{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}"/> to make all the fields as just a text filed. it displays the data from the db but am unable to Save or Update the custom data's. if i revert it to the textarea code its working fine. Please help me to fix this.... and also want to know, how can i make this Customization part common for all of my products (not interested in any modules but through code). is there any way to do this. my products are all having the same customization it would be a lot easier to refer the same custom part instead of adding it each time when you add the product... Thanks...! Any helps Please
  11. Hi All Am planing to create a custom Shirt store. Customers can able to select the mandatory shirts attribute like size and fit (this will always available in products page) and these can be done using the products attributes feature. now i want to enable my customer to select their custom shirt sizes like Chest, Waist etc.. if they wish to. this is an optional feature and i want to provide a link as "Custom sizing" at the product page which should opened as a popup. the default shirt attributes Size and Fit will always be available to the customer. if they want to use custom sizing then they can click on the link to select the relevant attributes. How this can be acchieved. is there any modules could help? or through custom code if so how? please refer to the screen shots to get the idea Any help greatly appreciated... Thanks!
×
×
  • Create New...