Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Table wrapping issue in Category Index

 

 


majeske
User

Dec 16, 2006, 12:59 PM

Post #1 of 5 (541 views)
Shortcut
Table wrapping issue in Category Index Can't Post

I have included a table with an image that will will be changing in the categor index template. The article links are not wrapiong around the table correctly. The table will include some type of script to rotate images so I cannot just put image align right.

You can view the issue here http://www.tcextra.com/news/publish/fallsvillage/index.shtml

How can I fix this so the second article link does not jump to the end of the table?

Thanks


ross
Staff / Moderator


Dec 17, 2006, 2:52 PM

Post #2 of 5 (534 views)
Shortcut
Re: [majeske] Table wrapping issue in Category Index [In reply to] Can't Post

Hi there.

Thanks for posting!

I have been looking at this for you today and I think I am going to need you to post up a copy of your template so I can see how the page is being put together. So far I have only really managed to confuse myself Smile.

What I did was first use a little tool to outline all the table cells on that page and it seems like your image is in a table cell all by itself and all your article titles are in the same table cell. That seemed odd so I went through your source to find that image (normal_DSCF3089.JPG) but if you view the source and do a "find" for it, nothing comes up. That's seemed even more odd so I am wondering if there is any sort of script being used on your template to get this image displaying.

I have noticed that it seems to be linking to some sort of banner script so I am thinking that might be interfering but if you could post your index template for me, I can take a closer look.

How does that sound? I look forward to hearing from you 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/



majeske
User

Dec 17, 2006, 6:29 PM

Post #3 of 5 (529 views)
Shortcut
Re: [ross] Table wrapping issue in Category Index [In reply to] Can't Post

Ross,

Here is the code. You can see I have inserted a table which has javascript in it which I want to use for rotating images and ads. I want the category index links to wrap around this. If you have a better way please advise.

<hr size=1>
<table width="100" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td>
<div align="center">
<script language=javascript src="http://www.tcextra.com/cgi-script/csBanner/csBanner.cgi?g=14&js=Y&width=200&height=150"></script>


</div></td>
</tr>
</table>
<span class="general_text">

<!-- template insert : $articleList$ -->
<!-- templatecell : articleRow -->
</span> <div class="summary">
<span class="general_text">

<a href="$published.articlePage.url$" class="summary_title">$article.title$</a> <br>
$article.author$<Br>
<i>$article.date:format(MMMM, dd, yyyy)$</i><br>

$article.content:maxWords(60)$</span>
<div class="summary_link">
<span class="general_text">
<!-- templateIf : $article.attachments$ ne "" -->
</span>
<div class="summary_attachments"> <span class="general_text"><b style="color: #666666;">Download attachment(s):</b> $article.attachments$</span></div>
<span class="general_text">
<!-- /templateIf -->

[ <a href="$published.articlePage.url$">Read More...</a> ]

<br clear="all">
</span></div>
</div>
<span class="general_text">
<!-- /templatecell : articleRow -->


<!-- templateIf : $articleList$ eq "" -->
</span> <div class="summary"><span class="general_text">Sorry, no articles were found.</span></div>
<span class="general_text">
<!-- /templateIf -->




<!-- templatecell : article.attachments.row -->
[ <a href="$file.webUrl$">$file.title$</a> ]
<!-- /templatecell : article.attachments.row -->





</span>
<div align="right"><span class="more_headlines">

<!-- templateIf : $articleList.prevPageNumber$ eq "" -->
&lt;&lt; prev page
<!-- /templateIf -->

<!-- templateIf : $articleList.prevPageNumber$ ne "" -->
<a href="$settings.searchurl$?action=search&page=$articleList.prevPageNumber$&perpage=$articleList.perpage$&template=$articleList.template$&categoryNum=$category.num$&includeSubcats=$articleList.includeSubcats$">&lt;&lt; prev page</a>
<!-- /templateIf -->
&nbsp;&nbsp;

<!-- templateIf : $articleList.nextPageNumber$ > $articleList.thisPageNumber$ -->
<a href="$settings.searchurl$?action=search&page=$articleList.nextPageNumber$&perpage=$articleList.perpage$&template=$articleList.template$&categoryNum=$category.num$&includeSubcats=$articleList.includeSubcats$">next page &gt;&gt;</a>
<!-- /templateIf -->


<!-- templateIf : $articleList.nextPageNumber$ <= $articleList.thisPageNumber$ -->
next page &gt;&gt;
<!-- /templateIf -->
</span></div>
<span class="general_text">


Donna
Staff / Moderator


Dec 19, 2006, 2:25 PM

Post #4 of 5 (513 views)
Shortcut
Re: [majeske] Table wrapping issue in Category Index [In reply to] Can't Post

Hi majeske!

Well, after quite a bit of fiddling around, I'm happy to say I found the answer: Remove the <br clear="all"> from your code, and it wraps fine. :)

(You wouldn't believe how much I had to play with it to find that. Heh.)

Let me know if you run into any trouble with that. :)

Donna

--
support@interactivetools.com


majeske
User

Dec 19, 2006, 6:38 PM

Post #5 of 5 (507 views)
Shortcut
Re: [Donna] Table wrapping issue in Category Index [In reply to] Can't Post

Thanks Donna, that did it. You guys are great!