change system table information (newsletter_subscriber) - magento

I am developing website in Magento in which i have used default newsletter feature provided by Magento.
But i want to customize default feature provided by Magento.
customizations i want to do
Change the default table name to "emails"
add fields to the table(found way to do this, but don't know if it's possible after changing table name)
Is this possible to do this customizations?
If it's possible, then how i can do this ?

Changing the default new letter email structure can be done with changing the format of newsletter in your themes locale folder or creating a new newsletter template in admin panel and assigning it throught the configuration menu.
Suppose you want to change the template of unsubscribe of newsletter, In admin panel, we have the option of creating a newsletter template by system/transaction emails. Here you can create a new template. After creating the template as required, In system/configuration, customers/newsletters, Here if we select the tetbox of unsubscription email sender dropdown, You can see your newly created newsletter template. Then save page. I hope it helps u.

Related

Magento adding a new filed on the registration panel

Hi guys i'm trying to add a new field in magento registration panel named hospital address and i need to add more fields... i've done this with some changes in magento core files like register.phtml AccountController.php config.xml Grid.php Account.php CustomerController.php edit.phtml everything has been working but at the end i have found that admin can edit the hospital address but customers can't edit this when they login to account edit page is any one here know this issue and have a solution ? here is the full script http://goo.gl/EBMzM
Thanks
Since magento is based on entitiy attribute model. You can not manage the attribute of the registration field directly. If you are a software developer you can create attribibute in database and change in your code in the same way. If you are not a software developer you can install a module which provide facelity to manage your resistration page. You can search on google by keyword "magento registration field manager" and found verious module for the registration field management.

Magento - New Order mail

I am using Magento 1.6.2.
I need to edit the new order mail. Which file is the template for the items? I need the specific file where the items are being generated and formatted.
I already found it.
app/design/frontend/base/default/template/email/order/items.phtml
To edit the New Order email you go into System -> Transactional Emails and click on 'Add New Template'.
Then you load in the existing New Order template by selecting 'New Order' from the drop down menu in the Template input field and click the 'Load Template' button. In the Template Information section you assign a new name to your new template and make the modifications to it before hitting 'Save Template'.
To apply it you go to System -> Configuration -> Sales and Select the Sales Emails option.
In the Order tab you apply your newly saved template to the New Order Confirmation Template dropdown.
Do the same for New order from Guest if you are allowing guest checkout.
The email templates are located under /app/locale/en_us/template/email and /app/locale/en_us/template/email/sales.
The disappointing thing about email templates in Magento is that they expect store owners to manage these using the backend rather than by editing the template files. Of course, you can always just edit the templates directly, but make sure to keep backups of them before updating to a new version of Magento.
It ends up being a lot of work, and from what I've seen, mostly clients do little more than update the logo. If your client wants to have fully custom email templates, expect a good 20+ hours to get them right (cross email client compatibility, client changes, etc).

Customize Newsletter Template?

i am using Magento 1.5.1.0. I Have already changed all transaction E-Mails in my Magento Project. But i have one last Problem. I have not found a way to change the newsletter Template? Is there a way to change the used template like the other transaction E-Mails?
Regards,
Bertie
I have 1.7 but i think the menu is the same
If i understand your question, in your admin dashboard you should look under System > Transactional Emails > Add new template. From the options field (labeled Template) choose Newsletter ... (there are three templates), load each of them and change them.
Also for the actual newsletter, from admin dashboard chose Newsletter > Newsletter Templates and add a new email.

what's the event name when you create a new invoice in magento?

when you create an invoice in the admin panel, what is the name of that event for an observer? I've tried *sales_order_invoice_register* and *sales_order_invoice_pay* but it doesn't work.
For Magento >= 1.4 there are a couple of options - the best choice would be the event which you've listed, sales_order_invoice_register.
Because the invoice model sets the _eventPrefix property to sales_order_invoice, you can observe sales_order_invoice_save_after.
Make sure that you are using the correct event configuration area: adminhtml vs frontend vs global.

Automatically generating Customer Attribute Form Fields

When you add customer attributes, Magento's admin dashboard for customer's automatically generates the relative form element for that new attribute.
Is there a way to do the same thing on the front end via a controller in a module?
nope, the frontend customer fields are hard coded, check out the phtml inside customer/form to see it.
What are you trying to achieve? Customer attributes are displayed on the form if "Show on frontend" is enabled. However those fields aren't saved from frontend by default. You need to extend fieldsets in your module for that, see config.xml in core Mage/Customer module
EDIT: actually that is true for enterprise edition, on CE you have to edit register.phtml (preferably by making a copy in your theme)

Resources