X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Customer Emails - Styling the Signature (https://forum.x-cart.com/showthread.php?t=64319)

rwalker 07-18-2012 03:46 AM

Customer Emails - Styling the Signature
 
Hello

I want to style the signature of each customer email. I know the template and understand that the wording will be in labels edited through Languages.

What I'm looking to do is change the HTML or CSS for colour, size, font etc, plus insert and image at the end of the signature (I can do the image bit in the signature.tpl.)

For instance the persons name is to be "font-size: 19px; font: color: #f7941e;"

The email and fax will be different again.

I've looked throught the common files/css but can't see anything - or has it to be done inside a .php file?

Thanks

Robert
4.4.1 gold

pauldodman 07-18-2012 04:05 AM

Re: Customer Emails - Styling the Signature
 
try looking in skin/common_files/mail/html/signature.tpl

rwalker 07-18-2012 04:15 AM

Re: Customer Emails - Styling the Signature
 
Thanks for the quick reply.

yes, I've looked there. Are your saying I can style the elements from within that template - I did notice there is a font size command there.

Robert

chiactivate 02-21-2013 06:27 PM

Re: Customer Emails - Styling the Signature
 
I can't find out which file to change. Please help!

I want to change the email template when the profile is modified.

what's the different between folders:

/2-columns
/common_files

Both folders contain the same file:


/2-columns/mail/profile_modified.tpl
/common_files/mail/profile_modified.tpl

And both files have the same code, so confusing.

pauldodman 02-22-2013 01:20 AM

Re: Customer Emails - Styling the Signature
 
X-Cart allows you to choose from various pre-installed templates.
All the templates will use standard files called from common_templates, unless that file has been modified for the particular template you are using.
In which case the template in the other folder is used.
So if you are using the 2-columns template, then the files in that folder are being used, and take precedence over those in common_files.

So in this instance, you need to alter the file in 2-columns/mail

By default, the 2-columns template doesn't have any custom mail templates, so that will explain why they are the same. But as it is in that folder, it is that one that is being used, as opposed to the one in common_files.

However, be aware, that you could change this template and not get the result you were after. If you are using html mail, then the templates will be in the mail/html folder.

chiactivate 02-22-2013 10:35 AM

Re: Customer Emails - Styling the Signature
 
found the file :

/common_files/mail/html/profile_modified.tpl


All times are GMT -8. The time now is 05:35 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.