A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
sf_recent_posts_alt_tag jumping to last post in the URL
Aug 20, 2010
10:37 am
Member
Forum Posts: 34
Member Since:
Jun 20, 2008
Offline

Is there a way so that the links in sf_recent_posts_tag don't take the visitor to the last post in the thread, but rather just opens the thread as normal from the first post?

 

Btw I meant sf_recent_posts_tag, not the alt_tag, sorry.

Aug 20, 2010
2:16 pm

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

Only if you change the code to omit the post id. As it is a 'recent and new' post list the vast majority want it to link to that new post.

Yellow Swordfish
Aug 21, 2010
8:38 am
Member
Forum Posts: 34
Member Since:
Jun 20, 2008
Offline
I actually use the code to only display the thread title, and call it 'Latest Discussions' section, to show which threads have the most popularity. That's why I wanted to make the change… unless there's a tag already existent for such a similar use that I'm not aware of?
Aug 21, 2010
12:34 pm

SP Master
Forum Posts: 22240
Member Since:
Nov 9, 2008
Offline

I don't think we have any tags that do not provide a link by default. You'll need to edit one I fear.

Yellow Swordfish
Aug 21, 2010
7:12 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

Why not just use the sf_hot_topics() template tag?  It is a listing of the hottest topics…  the link does go to the last, but simple edit to get it to the first post..

Aug 22, 2010
12:16 pm
Member
Forum Posts: 34
Member Since:
Jun 20, 2008
Offline

I don't think sf_hot_topics exists in SF 4.0 unfortunately, but thanks for the suggestions!

Aug 22, 2010
12:56 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

lol… sorry, forgot you were on a very old version…

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: jawaulk, BlueDagger, irlandes1
62 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2626

Members: 7363

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10897

Posts: 79582

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22240), Mr Papa (23688)