-
Posts
43 -
Joined
-
Last visited
About samuelprabhu
- Birthday May 5
Profile Information
-
Location
Coimbatore
-
Activity
Freelancer
Recent Profile Visitors
3,974,141 profile views
samuelprabhu's Achievements
-
Hi!, I am using Prestashop version 1.5.6.2. I am currently working on to provided the unsubscribe link to newsletter email. I just want to know the following details: 1) Is it updating the newsletter field in customer table is enough. 2) Any other is related with this process (newsletter subscribtion) 3) similary vice versa to reactive newsletter.
- 1 reply
-
- 1
-
- newsletter
- unsubscribe newsletter
- (and 2 more)
-
jgamio started following samuelprabhu
-
Custom admin module database operations
samuelprabhu replied to samuelprabhu's topic in Core developers
Thanks Jgamio, I solved the db operations edit and save issues by calling parent::postProcess();.- 2 replies
-
- admin edit add
- admin db operations
-
(and 2 more)
Tagged with:
-
Hi! I am using prestashop version 1.6 and developing custom admin module which completely consist of all the operations in backend only. I am unable to sort certain things and struggling specifically database operations. I have created a model, controller and tpl by referring https://github.com/P...e-Prestashop-15 my doubts are, 1) what is the purpose of postProcess() method? 2) how to differentiate add and update operations? 3) how to load values to the form in case of edit? 4) ajax call to controller? I just need a example for the above things. Anyone there to help to get clear idea.
- 2 replies
-
- admin edit add
- admin db operations
-
(and 2 more)
Tagged with:
-
how to create new admin page in prestshop 1.6.x
samuelprabhu replied to samuelprabhu's topic in Core developers
Thanks a lot.. Job done... One question is there any way to find the difference between add and edit in postProcess() method.- 10 replies
-
- new adminpage
- custom admin page
-
(and 1 more)
Tagged with:
-
how to create new admin page in prestshop 1.6.x
samuelprabhu replied to samuelprabhu's topic in Core developers
Hi! Jgamio, Thanks for your answer. I have created the admin page as mentioned in the link you provided. I still have some doubts in that admin example controller, 1) I need to edit the query that displays the list ? 2) How to get and insert values from form created with helper class as in the example?- 10 replies
-
- new adminpage
- custom admin page
-
(and 1 more)
Tagged with:
-
Hi! How to create new admin page in prestashop 1.6.x. I have followed the below steps in previous occasion: create controllers/admin/AdminPageController.php with the follwing content: class AdminPageController extends AdminController { public function initContent() { parent::initContent(); $smarty = $this->context->smarty; $smarty->assign('test', 'test1'); } } Delete: /cache/class_index.php Create: admin\themes\default\template\controllers\page\content.tpl zzz{$test}zzz At BackOffice -> Administration -> Menus -> [Add New]: Name: Page Class: AdminPage Parent: Catalog Click the [save] button and the menu item should appear at the "Catalog" menu. The above steps worked well in prestashop 1.5.x versions. I tried the same in pretashop 1.6.x, but it is showing blank even after explicitly write the html content in tpl file or give the assigned smartry variable 'test'. My questions are, 1) how to call the custom tpl file in custom admin controller to show tpl content in prestashop 1.6.x? 2) how to send values to tpl file from custom admin controller in prestashop 1.6.x? 3) how to assign the tpl file to a php variable? I need to create custom controller and custom tpl in admin and need to show in admin. Anyone please help me to sort out this with sample code.
- 10 replies
-
- new adminpage
- custom admin page
-
(and 1 more)
Tagged with:
-
Frontoffice shows blank page but backoffice runs fine
samuelprabhu replied to samuelprabhu's topic in Core developers
Hi! EdEichman, Sorry the actual URL is www.sayarjewellers.com (admin url: www.sayarjewellers.com/admincp) and not www.sayarjewellers.in, I have mistyped. Actually I have noticed now relating to this issue that when deactive the added categories, the front office is showing. When adding more category the frontoffice becomes blank and shows no errors. -
Frontoffice shows blank page but backoffice runs fine
samuelprabhu posted a topic in Core developers
Hi! I am using prestashop 1.6.0.14 for my shop. Everything was working fine, recently i have updated few products. After that i am facing a strange issue, that my frontoffice shows blankpage and not showing any error even after turning on the error report [ define('_PS_MODE_DEV_', TRUE); ]. My backoffice works fine with no issue. I have tried to clear cache by manually as well as in backoffice. But still no use, anyone please help to sort out this issue. This is my URL: www.sayarjewellers.in. -
Hi! Silistre, Can you say how you sorted out this issue. Because I too have the same issue.
- 5 replies
-
- admin panel
- save
-
(and 3 more)
Tagged with:
-
Hi! Me too facing the same problem.... some one help me sort this issue...
- 4 replies
-
- mobile view
- responsive
-
(and 1 more)
Tagged with:
-
NemoPS started following samuelprabhu
-
rocky started following samuelprabhu
-
vekia started following samuelprabhu
-
Hi! All, I need to know, how to get the default lang in php/tpl? When i tried to run the query in local by joining the language table and defaultly id_lang=1, it is working in local. but when I tried to run the same in my website. It displays the records for all languages, eventhough I disabled other languages. Kindly help me...
-
Layered Navigation - Url Link
samuelprabhu replied to mackna's topic in Configuring and using PrestaShop
Thanks Threeopus3, Re-indexing done the trick.... -
Thanks nemo, This issue has been sorted out by uploading directly into server. It is related to host issues and not related to prestashop.
- 6 replies
-
- AdminModulesController
- AdminAttachmentsController
- (and 1 more)
-
Hi! All I am having issue in redirect the url to particular page. for eg, When i try to redirect to the below link: http://localhost:90/silverslane/index.php?id_category=3&controller=category&id_lang=1&id_lang=1&orderby=price&orderway=asc#/wt-1_gram it automatically changes to the below url and not showing the desired page. http://localhost:90/silverslane/index.php?id_category=3&controller=category&id_lang=1&id_lang=1&orderby=price&orderway=asc#/. The same issue I am facing in website also. I have tried to turn on friendly urls, but no use.. Kindly help to sort out this issue.