The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Gazette (http://www.thevbgeek.com/forumdisplay.php?f=56)
-   -   How do I change the Style? (http://www.thevbgeek.com/showthread.php?t=5427)

mrdon 11-18-2009 09:04 PM

How do I change the Style?
 
I have GAZ up and running, it works great!

How can I get GAZ to send the emails using the same style that I am using on my board?

Thanks,
Brandon

Morgan 11-19-2009 05:13 PM

The newsletter.php page uses your forum templates for viewing in a browser. The preview link from the ACP uses the GAZ templates for a preview of what is sent to the email reader.

The header of the preview is the gaz_html_header template. You need to edit that template so that the header appears as you prefer. For reasons discussed here you cannot use relative links, JavaScript, external/non-inline CSS.

There are the gaz_html_header, gaz_html_navbar, and gaz_html_footer templates that you can edit for each style as you prefer. Use absolute http:// links, not relative links, do not use JavaScript, use inline CSS, not external CSS files, etcetera, so that you have a better chance that the receiver's email reader does not strip out parts of the HTML email.

If you try to use exact replicates of your forum templates, it will not look good in an email reader, as many email readers strip out/do not permit the "fancy" stuff you can use on a webpage. There is further explanation about this on this page.

After you make edits to the GAZ templates, go to the ACP -> GAZ -> Issues -> click the issue -> check the Refresh Layout box -> Save -> do another preview to see the changes.

mrdon 11-30-2009 07:47 PM

Thanks for the info, this really helps!


All times are GMT. The time now is 10:56 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.