2017-05-14, 10:42 PM
2017-05-14, 10:49 PM
inc/functions.php
2017-05-14, 11:22 PM
Thanks Ashley,
Not sure why this doesn't work... I'm trying to add the forum jump to the header,
I added "$forumjump = build_forum_jump("", $fid, 1);"
to global.php
and used {$forumjump} in the header and the jump menu appears and works but when I edit forum jump_advance template, there is no change
to the jump menu.
Here is forumjump_advance template, but when I edit it on the site there is absolutely no changes to the jump menu,
can anyone point me in the right direction?
Not sure why this doesn't work... I'm trying to add the forum jump to the header,
I added "$forumjump = build_forum_jump("", $fid, 1);"
to global.php
and used {$forumjump} in the header and the jump menu appears and works but when I edit forum jump_advance template, there is no change
to the jump menu.
Here is forumjump_advance template, but when I edit it on the site there is absolutely no changes to the jump menu,
can anyone point me in the right direction?
<form action="forumdisplay.php" method="get">
<span class="smalltext"><strong>{$lang->forumjump}</strong></span>
<select name="{$name}" class="forumjump">
<option value="-4">{$lang->forumjump_pms}</option>
<option value="-3">{$lang->forumjump_usercp}</option>
<option value="-5">{$lang->forumjump_wol}</option>
<option value="-2">{$lang->forumjump_search}</option>
<option value="-1">{$lang->forumjump_home}</option>
{$forumjumpbits}
</select>
{$gobutton}
</form>
<script type="text/javascript">
$(".forumjump").change(function() {
var option = $(this).val();
if(option < 0)
{
window.location = 'forumdisplay.php?fid='+option;
}
else
{
window.location = {$forum_link};
}
});
</script>
2017-05-15, 02:32 PM
what exactly you are trying to change in the template ?
if you wanted to remove some options then they can be easily commented out ..
if you wanted to remove some options then they can be easily commented out ..
2017-05-16, 03:37 AM
m. thank you for your time, what I was trying to do was comment out option value 1-4 but there was no change when I edited the jumpforum_advance template. As you know I pushed this issue to paid services and was able to get an excellent plugin developed and everything works perfectly, so this could be considered resolved, thanks for your help bro!