 |

mgdamore
User
Oct 27, 2006, 3:35 PM
Post #1 of 5
(311 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.
|
|
|  |
 |

mgdamore
User
Oct 27, 2006, 4:24 PM
Post #3 of 5
(305 views)
Shortcut
|
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 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
(303 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 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
(302 views)
Shortcut
|
MUCH BETTER! Thanks - Mike
|
|
|  |
|