This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

article_tags


avatar
Wafflechunk 5
From: -
article_tags

On my article summary page where it shows the most recent articles added, yesterday had all the tags for each article as links, now they're not linked and on the same line as the read article link. I've looked at the templates involved and didn't notice any issues. The only thing I did between then and now was to add an article.

Here's what it looks like:

 http://reviews.wafflechunks.com/images/misc/notright.jpg

The tags should be below "Read Article", should also say "Tagged As:" in front of the tags, and the tags should be links.

Here's the template code for articles_summary, articles_tags, and articles_tags_list
<!-- Template: articles_summary -->
<h1>{$insert['article_title']} {$insert['article_edit']} {$insert['article_rating_line']}</h1>
<h2>Posted by: {$insert['article_author']} on: {$insert['article_date']} [ <a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}articles{$insert['param_action']}summary{$insert['param_page']}{$insert['article_seo']}.html">{$insert['article_comments']} comment(s)</a> ]</h2>
<div class="content">{$insert['article_teaserimage']}{$insert['article_summary']}<br /><br />
{$insert['article_advertisement']}
<a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}articles{$insert['param_action']}pages{$insert['param_page']}{$insert['article_seo']},1.html">Read article</a>
{$insert['article_social']}{$insert['article_tags']}</div>
<br />
<script type="text/javascript">
<!--
function quoteme(username, postdate, quote)
{
window.document.getElementById("commentform").input_message.value =
window.document.getElementById("commentform").input_message.value + "Posted by " + username + " on " + postdate + "\\n[ quote]" + quote + "\\n";
window.document.getElementById("commentform").input_message.focus();
}
-->
</script>


<!-- Template: articles_tags -->
<br /><br />
Tagged as: {$insert['articles_tags_list']}<br />


<!-- Template: articles_tags_list -->
<a href="https://www.contentteller.com/contentteller{$insert['param_ext']}{$insert['param_ct']}articles{$insert['param_action']}tags{$insert['param_page']}{$insert['article_tag_seo']}.html">{$insert['article_tag']}</a>

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: article_tags
avatar
OP 5
From: -
I think I fixed it. I added an 's' after article on this line:
{$insert['article_social']}{$insert['article_tags']}

Not sure why that changed since I never edited the template

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.