The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Latest Topic Widget always redirects to the very last page of a topic

View previous topic View next topic Go down

In progress Latest Topic Widget always redirects to the very last page of a topic

Post by Charisma Clash on June 23rd 2017, 5:08 am

I'll try to explain this as simple as possible.

1.) I have 1 category that has its posts sorted by the most recent posts first.



2.) I have the latest topic widget which when you click a topic, it'll take you to the latest post of that topic. That works fine for categories that are set to regular forum settings (oldest posts being on the first page).

3.) That doesn't work for categories that are sorted by the most recent posts. Instead, it'll take you to the very last page of that topic.

My question is, is there a way to fix the page recent topics widget takes you to when you have a subforum set to most recent posts first?

For example, when on the index it'll take you to the correct latest post, which is how I want it to work on the widget.http://eawnetwork.forumotion.com/t5640-eaw-promoz#143058

This is where it ends up taking you while currently on the widget, which is the very last page and not the last post
http://eawnetwork.forumotion.com/t5640p950-eaw-promoz#143058

My forum version is PHPBB2
avatar
Charisma Clash
Forumember

Posts : 166
Reputation : 2
Language : English

Back to top Go down

In progress Re: Latest Topic Widget always redirects to the very last page of a topic

Post by APE on June 23rd 2017, 12:57 pm

Hello @Charisma Clash

No sorry this is the way it is made for all forums.

the settings for this is server side and as you know we have no way to get in to the servers to make the change but you could always make a Suggestion on the Suggestions part of the forum to have it added.

I can not say it will be a new feature to come or not but it's worth a try Wink



avatar
APE
Manager
Manager

Male Posts : 11006
Reputation : 1031
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Latest Topic Widget always redirects to the very last page of a topic

Post by _Twisted_Mods_ on July 1st 2017, 12:15 pm

jquery or javascript use it on the pages that have the widget

Code:

$(function(){
$('.gensmall a').each(function(){
$(this).attr('href',$(this).attr('href').replace(/p[0-9]/g, '').split('-')[0]+'-');
});
});
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum