Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Featured Story with photos

 

 


mgdamore
User

Nov 11, 2006, 1:41 PM

Post #1 of 3 (800 views)
Shortcut
Featured Story with photos Can't Post

I am trying to create a insertable (SSI) category list that contains a single article with limited words or paragraphs and the photo that has be uploaded with it.

I have created the rule that seems to be working.

I have created a template - BUT - it doesn't really work the way I want.

What I want is two columns - the first will contain the photo from the article - the second col. the title, and first three paragraphs.

What I'm getting is...

If I use limitParagraphs - it gives me the formatting I want - but it also grabs the photo which I don't want. Well - I do want it - but not there.

Here is the code that I am using for the entire template...

<!-- template insert : $articleList$ -->
<!-- templatecell : articleRow -->
<table width="440" border="0" cellspacing="2" cellpadding="2" align="center">
<tr>

<td> Picture & Caption should be here </td>
<td>
<span class="summary_title">
<b><a href="$published.articlePage.url$">$article.title$</a></b>
</span> <br>
<span class="summary">$article.content:limitParagraphs(1-3)$<br>
<a href="$published.articlePage.url$">Read Story Here</a></b></span>

</div>
<!-- /templatecell : articleRow -->
</td>
</tr>
</table>

You can view the results here:

http://www.lasvegas-tsg.com/news/publish/Conventions_amp_Events/featured.shtml

If I use maxWords - I lose my formatting and the photo - so I definitely don't want to use that.

Any help would be appreciated.

- Mike


ross
Staff / Moderator


Nov 12, 2006, 11:20 AM

Post #2 of 3 (776 views)
Shortcut
Re: [mgdamore] Featured Story with photos [In reply to] Can't Post

Hi Mike.

Thanks for posting!

I have an idea for you Smile. What I am thinking is that you could create a new file upload field for your articles table called "Front Page Image" or something like that. Then, when you are creating or modifying an article, you would use that new field to choose what images appear on your front page in the table layout you had described. Then, you wouldn't actually need to put the image in your summary field as well so it won't come up in the limitParagraphs output.

You then just need to adjust your template to display the contents of that new field in the left table cell and your are done.

Does that sound like it would work for you? Let me know and I can get you a walk through going Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



(This post was edited by ross on Nov 13, 2006, 2:09 PM)


mgdamore
User

Nov 12, 2006, 11:59 AM

Post #3 of 3 (771 views)
Shortcut
Re: [ross] Featured Story with photos [In reply to] Can't Post

Ross;

That is the direction I was heading in today - but I am having trouble calling the file in a template with tables.

The walk through would be greatly appreciated!

- Mike