Milen
Active member
Hello to the entire XenForo community. I'm trying to make a news ticker but I'm encountering a problem that I can't find a solution to.
There is an error in this line and I don't know where it is and how to fix it. Of course I tried and...
But the problem remains..... And this is the entire template code:
If anyone can help I would be grateful. I wish you a light, peaceful and successful day.
Code:
<a href="{{ link('threads', {'thread_id': thread.thread_id}) }}">{{ thread.title }}</a>
Code:
<a href="{{xf:link('threads', {'thread_id': thread.thread_id}) }}">{{ thread.title }}</a>
Code:
<div class="newsTicker">
<marquee behavior="scroll" direction="left">
{% for thread in threads %}
<a href="{{xf:link('threads', {'thread_id': thread.thread_id}) }}">{{ thread.title }}</a> |
{% endfor %}
</marquee>
</div>
<style>
.newsTicker {
background: #222;
color: #fff;
padding: 10px;
overflow: hidden;
}
.newsTicker a {
color: #fff;
margin-right: 15px;
}
</style>
If anyone can help I would be grateful. I wish you a light, peaceful and successful day.
