Joe Yaya Registered Users
 Ventrian Active Member Posts:32

 |
| 7/24/2007 2:08 PM |
|
Is there a way to get the article text to flow around an image in the way you see it here:
http://www.bloomberg.com/apps/news?pid=20601103&sid=aslvVeBAyehQ
I actually looked at the style sheets and HTML in the above URL and tried to imitate them within the scope the news article templates without success.
I am trying to edit view.item.html in the template editor along with style changes with no success.
Any ideas?
Joe |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:21062


 |
| 7/25/2007 6:18 AM |
|
| Shouldn't this just be a modification of the template with the alignment attribute set on the image tag? |
|
Scott McCulloch Site Administrator |
|
|
Jack Hoelz Registered Users
 Ventrian Master Posts:899


 |
| 7/25/2007 7:02 AM |
|
Scott, I have this trouble too. You can set the alignment but the text will not wrap.
I use all div tags for the templates and no tables. My guess is there is a way to do this with css but I can't quite get it to work.
I'll send you a template if you want to mess with it. I would love to get this working. |
|
Get The Net!!
Jack Hoelz |
|
|
Joe Yaya Registered Users
 Ventrian Active Member Posts:32

 |
| 7/25/2007 7:10 AM |
|
Scott,
Thanks your reply.
That is exactly what I thought but you get a variety of results depending on how you do it. Its possibly quite simple. I've tried about 6 variations of things including styles, divs, spans and whatever.
Remember, that I don't have direct access to the image tag because it all gets taken care of by token replacement... Unless there is something I don't understand.
Joe |
|
|
|
|
Scott McCulloch Administrators
 Ventrian Master Posts:21062


 |
| 7/25/2007 7:16 AM |
|
| Isn't there an [IMAGELINK] tag so you can form your own tag? |
|
Scott McCulloch Site Administrator |
|
|
Jack Hoelz Registered Users
 Ventrian Master Posts:899


 |
| 7/25/2007 7:28 AM |
|
Scott, just sent you a pm
If you feel like it see if you can get this to work with the IT-News template |
|
Get The Net!!
Jack Hoelz |
|
|
Joe Maier Gold Membership
 Ventrian Wiz Posts:183

 |
| 7/25/2007 8:02 AM |
|
Hi folks,
i think i did what you want on my private site: www.wolfsbau.de
See the latest news module on the home page.
Here's what i did:
In the view settings of the latest news module, i applied a css class "HomepageNewsFeatured" to the parent element, containing the news teaser and the image. In my case this is a table cell tag.
Then i defined the css-properties of the img tag within this td-tag in the Portal stylesheet:
td.HomepageNewsFeatured img {
float: left;
margin-right: 10px;
margin-bottom: 10px;
}
Hope this helps,
Joe
|
|
maiersoft internet solutions - www.maiersoft.de Get your own managed DotNetNuke-Portal
|
|
|
Joe Yaya Registered Users
 Ventrian Active Member Posts:32

 |
| 7/25/2007 9:21 AM |
|
That's great! I'll give that a shot. I am trying to do it when on the part where one actually views the article so i hope there isn't some subtle issue when I try your solution. That said, your layout gives me great ideas on how to improve mine. It's quite good.
Thanks!
Joe |
|
|
|
|
DNN Professor Gold Membership
 Ventrian Master Posts:767


 |
| 7/25/2007 10:21 AM |
|
Hi JoeYaya,
Another interesting thing you can do with the templates is embed Google Adsense and Clickbank ads by working with div tags in the View.Item.html file.
|
|
Buck Anderson - DNN Professor
http://DNNprofessor.com
http://twitter.com/DNNprofessor
DotNetNuke Training - XMod Training Coach and XMod MVP
 |
|
|
Jack Hoelz Registered Users
 Ventrian Master Posts:899


 |
| 7/25/2007 2:08 PM |
|
THANK YOU! Worked likae a charm!
Now the next thing is to get the images resized on upload - darn 7 megapixel digital cameras. |
|
Get The Net!!
Jack Hoelz |
|
|
Joe Yaya Registered Users
 Ventrian Active Member Posts:32

 |
| 7/25/2007 2:48 PM |
|
Rock and Roll! Wo0t!
It worked great. Thanks a million.
Joe |
|
|
|
|