Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 806 Vote(s) - 3.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display a form in prestashop

#1
I would like to show a form in prestashop module and would like to store that value in database. How is it possible?? Is there any prestashop expert ??
Reply

#2
You should take a look at all the modules available in the modules/ directory.

If you want to display a form in the back and/or the front office, you'll have to override different methods of the Module class, and you'll have to use the different hooks available..

Best regards,
Reply

#3
You may use custom HTML block and add your form code inside that. And off course have to use a hook to show up that HTML block in the site.
There are lots of free Custom HTML block modules available.
Reply

#4
Try this free module :

[

[To see links please register here]

][1]

With this one you can add HTML in some hooks from back-office.
Everything is stored in database.
You should use Helpers and Tools class (Helpers show forms and Tools::getValues() does what it says...)

In MegaBlock there is also TinyMCE available. Have a look, this module is really useful ;-)


[1]:

[To see links please register here]

Reply

#5
you can develop a module by using hooks based on the hooks used the form will be displayed in that position in prestashop while using hooks you need to assign a tpl file in that tpl file you can write the codings to display a form

And also you can develop a module with a separate controller and you can assign a tpl for that controller.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through