Client335
|
[Content] tag - 2008/02/03 07:35
Hi,
I'm currently testing the light version to see if it fits all our needs before purchasing the full version. So far I like what I see, but I have some problems with the template.
I want breaks between each content item in the form of either a regular break or a <HR>.
When I check the source code of a mailing, it looks this:
| Code: |
<h3>Title</h3>
Content
<br />
<a href="websitelink">Read more...</a>
<h3>Title</h3>
Content
<br />
<a href="websitelink">Read more...</a>
...etc
|
No breaks. But there is a break between the content and the "read more" link. Where does that come from?
In the template all there is, is the [CONTENT] tag, so I think something else should be edited to achieve this. Problem is, I don't know what and I don't know where (and I really don't want to break anything).
If it is possible to create breaks between the content items shown, your component is perfect for us, and we will buy the full version.
Hope to hear something soon.
Thanks in advance.
|
|
|
| | The administrator has disabled public write access. |
sm2
|
Re:[Content] tag - 2008/02/03 15:35
G'day
The are some ARTICLE tags that can be used in stead of the CONTENT tag. See the online Help included with SM2 Email Marketing for more information, or the Quick Tips on the Message edit page
Hope this helps Tony
|
|
|
| | The administrator has disabled public write access. |
Client335
|
Re:[Content] tag - 2008/02/04 02:53
Thanks for the reply. I put the [ARTICLE] tags in the template, but it doesn't work. It just shows
[ARTICLE] [ARTICLE_TITLE] [ARTICLE_INTRO] [ARTICLE_READMORE] [/ARTICLE]
in the mail sent. Same goes for the [ITEMS] tag.
When I put the [ARTICLE] tags in the HTML box when composing a message, it does work, but formatting (padding, margins, etc) is then lost, and the footer (which is in the template) is displayed above the articles. So basically the mail sent looks like this:
(from template) Top banner image (from template) Date (from template) Footer with unsubscribe link (from HTML box when composing a message) Selected content items
The reason I want to force a break between each content item (or after each read more link (which would basically have the same result)) is because of a problem with alignment in rendered mails. Outlook 2003 shows everything proper, but Outlook 2007, Windows Live Mail and Gmail do not. I've included a link to a screenshot where you can see a sample of this problem.
http://i129.photobucket.com/albums/p229/eaucourante/sm2.jpg
As you can see the alignment of the first two items is correct. The content text of the second item stops before the end of the image that goes along with it (see the small red arrow), which results in the title of the third item being aligned with the content text instead of where it should be (see the big red arrow). The same goes for the fourth item.
I've tried solving this by building the template using tables. It helped some, but as you can see it's still not proper.
BTW, before I tried designing my own template, I tried yours to see how that works. That's even worse as it displays everything... I don't know how to explain, but the screenshot below should tell you enough.
http://i129.photobucket.com/albums/p229/eaucourante/sm2originaltemplate.jpg
I really like your component and all the options, and we do want to buy it and start using it to mail our customers, but if we can't get a template to work it's out of the question. We can't just expect everyone to use Outlook 2003 and the rest is just out luck and gets a crappy looking mailing. I therefor really hope you can help me with this issue.
Thanks in advance.
|
|
|
| | The administrator has disabled public write access. |
sm2
|
Re:[Content] tag - 2008/02/04 03:10
G'day
We do not currently support using the article tags in the template only in the message. We plan to make it available in the template in the next release.
It sounds like there is something wrong with your HTML if it is not displaying correctly in the message html
I suspect you do not include the [CONTENT] tag in your template. The CONTENT tag displays the Content of the Message, not the Joomla! Content Items. If you do not have a [CONTENT] tag in your template one is automatically appended at the end of the message.
Hope this helps Tony
|
|
|
| | The administrator has disabled public write access. |
Client335
|
Re:[Content] tag - 2008/02/04 04:42
That did the trick, thank you very much. I replaced the [CONTENT] tag with the [ARTICLE] tag in the template, which did not work. It is now possible to get everything perfectly aligned.
Now that the alignment is ok, I'm working on fonts and colors. And about this I have one final question. On our website (www.obhm.nl) our content items are formatted like this:
Title (light blue) Content (black) Read more (orange, light blue on mouseover)
I want to have exactly the same formatting in the mailings.
I put "a" and "a:hover" in the CSS part of the template, exactly like it is in the websites CSS:
| Code: |
a, a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #ff9900;
font-weight: bold;
text-decoration: none;
}
a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #74b0e0;
text-decoration: none;
}
|
It appears however that the title of the items shown in the mailing is formatted using "a", resulting in orange titles.
I tried changing the color of [ARTICLE_TITLE] in the message box, but that doesn't work. The "a" in the CSS overrules it.
How can I change this? Or what can I do that the title doesn't listen to "a" but something else instead?
This is the last issue I have regarding the template. If I can get this to work, we can start using your component.
Hoping to hear from you soon. Thanks in advance!
|
|
|
| | The administrator has disabled public write access. |
sm2
|
Re:[Content] tag - 2008/02/04 05:18
G'day
Unfortunately I am not sure I can help much with this. You will have to try some different combinations of things. The issues are that different email clients and web mail systems process html messages differently and therefore there is no 1 correct way of doing things.
However in general we have found that using CSS is often not as well supported as old HTML2 style font tags are.
Hope this helps Tony
|
|
|
| | The administrator has disabled public write access. |
Client431
|
Re:[Content] tag - 2008/10/14 17:39
Hi, i´m interested in purchase the full version of the SM2 component too, but i´m having the same issue with the desing of the templates, i mean, when i send a newsletter with a xhtml template to an Outllook 2007 e-mail client, it doesn´t look very well, equal than the issue that the user "Client335" shows in this link. http://i129.photobucket.com/albums/p229/eaucourante/sm2originaltemplate.jpg
Can someone help me to solve this issue?
Thanks a lot! G
Gabriel
|
|
|
| | The administrator has disabled public write access. |
|