Not understanding newsletter properly - magento

I am developing one website. For now i just need to design home page for it.
So i made changes from cms/home/content(I am not sure it's good idea or not).
I added newsletter to home page. it's displaying in the top left.
I want to put it at specific position around the middle of the page.
So how i can change the position of the newsletter?
And when i enter any email it gives message "Thanks for your subscription".
will it make entry to automatically to any table or i have to do it manually ?
Can i change this message "Thanks for your subscription". ?

for newsletter file call from
app>design>froentend>YOUR_PACKEGE_NAME>YOUR_THEME_NAME>template>newsletter>subscribe.phtml
you can change design from css
and message come from
/app/code/core/Mage/Newsletter/controllers/SubscriberController.php
$session->addSuccess($this->__('Thank you for your subscription.'));
This can also be edited in /app/locale/en_US/Mage_Newsletter.csv file, and any other language that you wish to support.
instead of en_US you can check from your language pack
Change "Thank you for your subscription.","Thank you for your subscription."
to
"Thank you for your subscription.","This will be my new message, that I wish to display to users, after subscribing."
and subscriber user details you get from admin
Newsletter >Newsletter Subscribers

Related

Joomla 3: Customize the greeting text of login module

I would like to edit the joomla 3 log in greeting and I have no idea how to do that at the moment.
Greeting usually goes "Hi, username/name". I want it to go like "Hi, Mr username/name". I want the title of the user to preceed his or her name.
Now, I have already set up the database table for the title. I have already edited the joomla php and xml files to get these tables to show on my registration pages and user pages at the backend. So all that is left is calling the user's title to display before his/her name. Can anyone assist please?
You can go with a Language Override for the mod_login.
Steps:
In backend, go to: Extensions -> Language Manager
From the left sidebar, click on: Overrides
From the Toolbar (top) click the "New" button, to create new Language Override.
In next screen add the following:
Language Constant: MOD_LOGIN_HINAME
Value: Your desired salutation, e.g. Hi Mr. %s,.
This will result to a greeting like: "Hi Mr username".
As a side note, I can't imagine what kind of changes you did on Joomla php and xml files and the database tables and how they could be related to changing the greeting text of the login module. Whatever the case, you want to make sure that you don't touch any Joomla core files and count the future of your site on such modifications.

Translation Not Working from Magento Admin

I have a situation where in the actions I trigger from Admin website do not translate my content. I have custom modules in magento and one of them is responsible for sending out emails. The email contents are to be translate according to the locale of the store. While everything works fine when done automatically. But when I trigger this sending of emails from the admin panel the translations aren't working.
For example, my code uses the magento magic method,
__("Text to be translated")
and when the corresponding text is translated in my website. But when I trigger an action from the admin, the same content is not translated.
My translate.csv is currently located in,
app
design
frontend
MyModule
default
locale
country
translate.csv
Any help will be appreciated.

Display product name on sendfriend page

I need to pull in the product name and display it at the top of the send to a friend page template.
So, when a user clicks on send to a friend from a product page it (the product name) is at the top of the send to a friend page, above the form itself. Not in the email template (although that is useful - I have seen answers on this elsewhere).
I am very new to Magento and have been asked to do a few modifications and tidy up a few things, but am really a front end dev and have no Magento experience. Any pointers in the right direction would be great help to me.
Also, could anyone recommend a decent Magento Developer book that a Front End Developer with good HTML, CSS & JavaScript (but not so great PHP) would find useful?
Copy the sendfriend template in app/design/frontend/base/default/template/sendfriend/send.phtml
to your theme. Then you can modify it. You shouldn't modify magento core files.
You can print the product name wih echo Mage::registry('product')->getName(); The product is added to the registry in Mage_Sendfriend_ProductController.

Hide product options in email template for customer only not for admin

I want to customize email template for new order mail. I want to hide product options in mail for customers only, but want to show these product options in administrator mail.
I am attaching a scrren-shot.
Please help me anyone who can get done this task.
Thanks in advance!
This isn't going to provide a full, free answer, you'll still have to work for it after this; but this should point you in the right direction.
First you have to set up Mage to send e-mail to more than one user
Second, you're going to have fun with the transnational e-mails:
Create another depend (this works like a psuedo if statement) to work on the sender e-mail address
use the default layout handle="sales_email_order_items" order=$order for admin e-mails
use a custom call or adjustment to layout handle="sales_email_order_items" order=$order and display quantity and title, but no details.

Joomla, standard contact-form in article

I have site on joomla.
I have page contact (html-text and picture).
In the end of this page, how to add standard joomla contact form?
In the components menu in the admin go to contacts.
Create a new contact and fill in the information.
You can use street address for text if you want, that is at the top or you can use miscellaneous information.
Make sure to include an email address or a link to a user so that the user's email is used.
Then make a single contact menu link to that contact from whatever menu you want it shown on.
You can either use a component for this from the Joomla! Extensions Directory. Else you can build one yourself using basic html markup.

Resources