Moving Latest Topics V5 above widgets
3 posters
Page 1 of 1
Moving Latest Topics V5 above widgets
Hello was wondering if i can get some help moving my latest topic v5 above my widgets? here is a pic
If i need to provide my template i shall.
PunBB
Forum TPSN
Thank you in adavnce
If i need to provide my template i shall.
PunBB
Forum TPSN
Thank you in adavnce
Re: Moving Latest Topics V5 above widgets
Hello,
Try this :
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
Try this :
Go to Administration Panel > Modules > JavaScript codes management > Create a new script
Title : Your choice
Placement : In the homepage
- Code:
$(function() {
var a = document.getElementById('left');
a.parentNode.insertBefore(a,a.parentNode.firstChild);
});
Re: Moving Latest Topics V5 above widgets
No sir that didn't work still in the same place.
Edit: Been thinking about it maybe if we move the home page message to the bottom of the recent topics v5 that will fix the issue. What's your thought?
Just thinking that is part of the original template.
Edit: Been thinking about it maybe if we move the home page message to the bottom of the recent topics v5 that will fix the issue. What's your thought?
Just thinking that is part of the original template.
Re: Moving Latest Topics V5 above widgets
Where is your recent topics installed ? When I check, it's where the widgets would be, the left column.
Try Installing it again, but tick in all the pages.
Try Installing it again, but tick in all the pages.
- Code:
$(function() {
var a = document.getElementById('left');
a.parentNode.insertBefore(a,a.parentNode.firstChild);
});
Re: Moving Latest Topics V5 above widgets
Ok the script is in place and the left widgets make up the recent topics v5 cell i found a red </div> in the template could that be causing a issue?
I also added the right widgets as well.
I also added the right widgets as well.
Re: Moving Latest Topics V5 above widgets
It could, I would try to figure out what is causing it. Sometimes it's just an extra tag that you may have left by mistake and can delete.
Re: Moving Latest Topics V5 above widgets
@FrOsTyXi
Try this code with placement only In the home page:
JS
Try this code with placement only In the home page:
- Code:
if (location.pathname == "/") {
var latestTopic = setInterval(function() {
if (document.getElementById("left") !== null) {
clearInterval(latestTopic);
$('#left').detach().prependTo('#wrapper');
}
}, 80);
}
JS
Re: Moving Latest Topics V5 above widgets
Ok JScript that place the recent topics v5 cell above my shoutbox is there a way to get it below it?
Re: Moving Latest Topics V5 above widgets
Try:FrOsTyXi wrote:Ok JScript that place the recent topics v5 cell above my shoutbox is there a way to get it below it?
- Code:
if (location.pathname == "/") {
var latestTopic = setInterval(function() {
if (_userdata.session_logged_in !== null) {
if (_userdata.session_logged_in) {
if (document.getElementById("chatbox_top") !== null) {
if (document.getElementById("left") !== null) {
clearInterval(latestTopic);
$('#left').detach().insertAfter('#chatbox_top');
}
}
} else {
if (document.getElementById("left") !== null) {
clearInterval(latestTopic);
$('#left').detach().prependTo('#wrapper');
}
}
}
}, 80);
}
JS
Re: Moving Latest Topics V5 above widgets
@FrOsTyXi
Okay, try again because I wrote a "t" where should not !!!
Link: https://help.forumotion.com/t137481-moving-latest-topics-v5-above-widgets#929300
JS
Okay, try again because I wrote a "t" where should not !!!
Link: https://help.forumotion.com/t137481-moving-latest-topics-v5-above-widgets#929300
JS
Similar topics
» Changing latest topics into latest posts?
» The latest 5 topics
» Moving latest replies
» Moving topics?
» Latest topics ?
» The latest 5 topics
» Moving latest replies
» Moving topics?
» Latest topics ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum