Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Conversion Error?

 

 


mgdamore
User

Oct 27, 2006, 3:35 PM

Post #1 of 5 (918 views)
Shortcut
Conversion Error? Can't Post

So far so good...BUT...

The files that utilized external links are not presenting properly in the index files (global).

see:

http://www.lasvegas-tsg.com/news/publish/Sports/index.shtml

The "visit website" link is correct - however, it is in the incorrect row.

I've looked at the template file - and it appears to be correct - but I'm still getting used to the new system.

Any help would be appriciated

- Mike

OBTW: Do I edit the admin templates to get the admin screens to "View Website >>" link to a shtml file? It keeps looking for html - but - my default is shtml.


Theo
Project Manager / Moderator


Oct 27, 2006, 4:14 PM

Post #2 of 5 (914 views)
Shortcut
Re: [mgdamore] Conversion Error? [In reply to] Can't Post

Mike, can you post the code that's in your <!-- tempalteCell : article.row -->? That will help us figure out why that link is appearing up by the breadcrumb.


In Reply To
OBTW: Do I edit the admin templates to get the admin screens to "View Website >>" link to a shtml file? It keeps looking for html - but - my default is shtml.


Hm, that's odd...it shouldn't look for anything, just point right to your Publish URL, as defined in Admin > Publishing. You're getting a 404 error?


Theo Wiersma
Project Manager


mgdamore
User

Oct 27, 2006, 4:24 PM

Post #3 of 5 (912 views)
Shortcut
Re: [Theo] Conversion Error? [In reply to] Can't Post

Theo:

I haven't made any changes yet - so it's from the converted detault template...

<!-- templatecell : articleRow -->
<span class="summary_breadcrumb"><a name="$article.num$"><!--#include virtual="$published.categoryBreadcrumb.webpath$" --></a></span><br>
<span class="summary_title"><a href="$published.articlePage.url$">$article.title$</a></span><br>
<span class="summary">$article.summary$</span><br>
<span class="summary_date">$article.date$<br clear="all"><br></span>
<!-- templateIf : $article.attachments$ ne "" -->
<div class="summary_attachments"> <b style="color: #666666;">Download attachment(s):</b> $article.attachments$

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

<!-- templateIf : $article.externalLink$ ne "" -->[ <a href="$article.externalLink$">Visit&nbsp;Website</a> ] <!-- /templateIf -->

<!-- /templatecell : articleRow -->

</div>





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


<!-- templateCell : pageDefault.embeddedMedia -->

<!-- templateIf : $file.caption$ ne '' -->
<table border=0 cellspacing=2 cellpadding=0 width=$file.width$ align=$file.align$>
<tr><td><img src="$file.webUrl$" height="$file.height$" width="$file.width$" border=1></td></tr>
<tr><td class="image_caption">$file.caption$</td></tr>
</table>
<!-- /templateIf -->

<!-- templateIf : $file.caption$ eq '' -->
<table border=0 cellspacing=2 cellpadding=0 width=$file.width$ align=$file.align$>
<tr><td><img src="$file.webUrl$" height="$file.height$" width="$file.width$" border=1></td></tr>
</table>
<!-- /templateIf -->

<!-- /templateCell : pageDefault.embeddedMedia -->

Re: View Web site - no - no 404 error, just getting the file structure listing of the directory. I have to type in "index.shtml" then I can "view the web site"

- Mike


Theo
Project Manager / Moderator


Oct 27, 2006, 4:36 PM

Post #4 of 5 (910 views)
Shortcut
Re: [mgdamore] Conversion Error? [In reply to] Can't Post

Ah, I see, it's not that it's up in the wrong place - it's down two lines past the summary, and without a break before the next article!

I think you'll get what you want if you move the external link code up above the article date and add a break tag, so this would be your new articleRow code:


<!-- templatecell : articleRow -->

<span class="summary_breadcrumb"><a name="$article.num$"><!--#include virtual="$published.categoryBreadcrumb.webpath$" --></a></span><br>
<span class="summary_title"><a href="$published.articlePage.url$">$article.title$</a></span><br>
<span class="summary">$article.summary$</span><br>

<!-- templateIf : $article.externalLink$ ne "" -->[ <a href="$article.externalLink$">Visit&nbsp;Website</a> ] <!-- /templateIf --><br>

<span class="summary_date">$article.date$<br clear="all"><br></span>

<!-- templateIf : $article.attachments$ ne "" -->
<div class="summary_attachments"> <b style="color: #666666;">Download attachment(s):</b> $article.attachments$
<!-- templatecell : article.attachments.row -->[ <a href="$file.webUrl$">$file.title$</a> ] <!-- /templatecell : article.attachments.row -->
</div>
<!-- /templateIf -->


<!-- /templatecell : articleRow -->


Hope that helps! If you need anything else, don't hesitate to let us know.


Theo Wiersma
Project Manager


mgdamore
User

Oct 27, 2006, 4:53 PM

Post #5 of 5 (909 views)
Shortcut
Re: [Theo] Conversion Error? [In reply to] Can't Post

MUCH BETTER!

Thanks

- Mike