Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support [loggedin] Problem
Garywoo
Posted on 17 Mar 2012, 21:27:08

Access: Member
Total Posts: 1
Joined: 2012-03-17

I heavily edited the templates and ended up with this at the very end of the news template section:

 <span class="news_comments">[comments]{comments} Comments[/comments]</span>

Now i decided that it would be nice to see viewcounts around here for logged in users only, this is the code after i edited it to show the viewcount:

<span class="news_comments">[comments]{comments} Comments[/comments][loggedin] - {viewcount} Views[/loggedin]</span> 

That code completely breaks all news fetching and displays no articles at all when i'm logged in, after i saved the code to the template. However, if i remove the [loggedin] tags, the count works fine, it is just down to the [loggedin] tags.

Am i doing something wrong here?

#3790
Last edited by Garywoo at 2012-03-18 16:32:41 Reason: Layout
Chris
Posted on 18 Mar 2012, 16:32:41

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I was able to replicate this on the demo site. I'll have a look at it tonight and figure out what's causing it and post an update then.

#3791
Network-13.com © 2013