How to add new forms in magento - magento

I have to add some forms for various purpose like getting info from client regarding a product, getting query from customers, some lead forms.
So how can i add new forms in magento other than having new module for forms. The form will be working with some custom db tables or need to mail them to admin/customer.
Please help me out. Thanks in advance

Since Magento is built on MVC model, i think u should add module in order to use any form.
And if you are reluctant in using them, then there is a possibility of having plain php pages outside magento folder and add those links inside magento either using static blocks or CMS Pages..

Related

How do I get Magento 2 data to use in the template?

I am starting in the Magento development world, and I'm creating a new theme.
On my theme, I have a block which displays business contact info, but I don't know how to get the data from the store.
I have to make a custom menu as well, but stop in the same problem: getting category data from the store.
I also wanted to know if there is any place where you can find more references on this data return issue, such as what available methods and classes are available, for example.
Where do you want to display the custom data ? In a product page or your custom module's separate page ?
If you want to use custom block in sidebar you can follow steps given here
https://aureatelabs.com/magento-2/how-to-add-a-static-block-in-a-sidebar-column-magento-2/.
Here are some ref you can use:
https://itectec.com/magento/magento-magento-2-get-custom-module-data-in-theme-phtml/
https://code.vky.co.in/display-custom-module-collection-data-frontend-magento-2/

How to add simple custom form to magento admin panel

First of all let me clear what i want to do, here is my problem. I have my magento project running on server. Now my client is asking me to add a module like this, please have a look
http://www.chinaglaze.com/Try-On/index.html
Also he want that he can manage images and color codes from the Magento Admin panel. I have not much experience in magento extension development.
Please provide me reference if there is any magento extension already exist so that i can use that other wiase how to do it.
If you want a Magento frontend view which is admin manageable (with your own custom database tables) try this piece I wrote: link. Hope it suits you.
You should add a custom module to add that.
Check this link
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_create_an_admin_form_module

Add static javascript to every page of joomla

Im completely new to Joomla development. I need to develop Joomla plugin that adds static javascript to the footer of all the pages of a Joomla site. Also, the plugin would need to save 2 fields in database, and access these fields on per page basis. Also, Admin panel is needed.
Now, my questoion is, where do i start? Joomla plugin development is a big task, so if I can get some pointers as to where to start, it would be very supporting.
Im not asking for direct code, but just the right direction to start.
Thanx in advance....
Joomla has three types of extensions (what you refered to as plugin): components, modules and plugins, where each has a different purpose.
If you need to add javascript to all pages, the best place is your template. If you don't have access to template, just building an extension, then you have to create a content plugin.
If you need to create extension with admin panel which also works with database, you need to create a component. The best place to get started is tutorial Developing a MVC component for Joomla 2.5

Magento: adding product from frontend form

I have magento demo shop and for example i want registered user to be available to post a product from frontend? Can anyone hook me up with some code showing how to make it? Is it even possible in magento?
It's certainly possible. It actually shouldn't be all that difficult. You're going to create a module, programmatically create an order, and link this page from somewhere. You should be able to hack one together with the following resources:
Programmatically Creating Orders - Inchoo
Creating a Custom Module part 1-8
yes dear it is possible, you have to create a module for that and i think you give to link/tab in customer account page in front side.in account page you provide form of add new product.you have also provide all option like in magento back end. but some customization are required

joomla integrating external php signup form

I have a joomla website.here is the link
link for siteI want to integrate a external php signup and login form.I create a php signup form.It works perfecly.
signup linkBut the problem is i dont know how to integrate that form to my joomla web pages...I want to secure my web pages..Only registered users can view my page....please help me..
Why have you create your own register form? Joomla already has the one. To see it follow the link index.php?option=com_user&task=register, Login for there index.php?option=com_user&task=login. If you need more fields to be filled out during registation you may you Community Builder. This extention allows to add to user profie as many fields as you want
It is also possible to use Chronoforms to allow for registration that brings in multiple fields as well without having to bring in an external file for registration/login.
Using the tools Joomla has to stay within Joomla is really the best way to go about it. It will allow you to keep your sanity and keep things as uniformed as possible.

Resources