Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages

www.blogsome.com Forum Index » Bugs - Problems with your blog?

Post new topic   Reply to topic
Most popular posts
View previous topic :: View next topic  
Author Message
daniel



Joined: 27 Nov 2004
Posts: 9

PostPosted: Sat Dec 04, 2004 2:46 am    Post subject: Most popular posts Reply with quote

I just noticed "most popular posts" on my blog. The link says one entry, but points to another!
Back to top
View user's profile Send private message
pirri



Joined: 19 Dec 2004
Posts: 3

PostPosted: Mon Dec 27, 2004 9:22 am    Post subject: Reply with quote

Hello,
Try this

In index.html look for popularpost and change the href. Type:

<a href="{$siteurl}{$hits.url}"

Bye
Back to top
View user's profile Send private message Visit poster's website
gohtk



Joined: 18 Dec 2004
Posts: 5

PostPosted: Sat Jan 15, 2005 8:32 am    Post subject: Reply with quote

Do you mean the index.html in the template?
Back to top
View user's profile Send private message
ree



Joined: 11 Jan 2005
Posts: 9
Location: USA

PostPosted: Sat Jan 15, 2005 12:40 pm    Post subject: Reply with quote

I had the same problem and fixed it with the help of this topic. Thanks.

The part that has to be replaced is
Code:
<a href="{get_permalink id=$hits.postID}
. Take that out and in the exact same spot put in
Code:
<a href="{$siteurl}{$hits.url}
. Doing that worked for me, at least.

Last edited by ree on Sat Feb 19, 2005 6:29 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
shuaibao



Joined: 13 Feb 2005
Posts: 36
Location: Wellesley

PostPosted: Sat Feb 19, 2005 4:35 pm    Post subject: Reply with quote

Great! It works now, thank you!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
CiberCristal



Joined: 09 Apr 2005
Posts: 4
Location: Bilbo

PostPosted: Wed May 04, 2005 9:06 pm    Post subject: Reply with quote

Thanks! It works.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
standalone



Joined: 20 Jan 2006
Posts: 5

PostPosted: Sun Jul 08, 2007 6:19 am    Post subject: Reply with quote

Hi there, is there any parameter to limit the popular post?
I just want to show only 10 popular posts.

thanks!

http://standalone.blogsome.com
Back to top
View user's profile Send private message
schinckel



Joined: 03 Apr 2005
Posts: 1238
Location: Adelaide, Australia

PostPosted: Sun Jul 08, 2007 11:26 am    Post subject: Reply with quote

No parameter, but can be done:

http://schinckel.blogsome.com/2005/10/18/limiting-smarty-foreach/

This is a general technique that can be used for any Smarty foreach loop.
_________________
Blogsome Forum: Rules/Search
WordPress Codex; Smarty Tags Docs
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
sandeeptec



Joined: 15 Oct 2007
Posts: 33
Location: india

PostPosted: Tue Nov 13, 2007 7:47 am    Post subject: no. of posts on my blog Reply with quote

Is their any method so that i can know total number of posts on my blog

http://everymatter.blogsome.com
Back to top
View user's profile Send private message Visit poster's website
sandeeptec



Joined: 15 Oct 2007
Posts: 33
Location: india

PostPosted: Tue Jan 29, 2008 5:59 am    Post subject: Reply with quote

will the following code exist in index.html

ree wrote:
I had the same problem and fixed it with the help of this topic. Thanks.

The part that has to be replaced is
Code:
<a href="{get_permalink id=$hits.postID}
. Take that out and in the exact same spot put in
Code:
<a href="{$siteurl}{$hits.url}
. Doing that worked for me, at least.
Back to top
View user's profile Send private message Visit poster's website
sandeeptec



Joined: 15 Oct 2007
Posts: 33
Location: india

PostPosted: Sat Feb 02, 2008 10:03 am    Post subject: not found Reply with quote

not found in my index.html
pirri wrote:
Hello,
Try this

In index.html look for popularpost and change the href. Type:

<a href="{$siteurl}{$hits.url}"

Bye
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.blogsome.com Forum Index » Bugs - Problems with your blog? All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum