PDA

View Full Version : Dropdown errors with pagination...


N8
08-23-2005, 10:33 PM
Page with pagination: http://zerogamers.com/showthread.php?t=3790
Without pagination: http://zerogamers.com/showthread.php?t=1496


On the pages where the thread splits into multiple pages, the

" Thread Tools . Search this Thread . Rate Thread . Display Modes "

menu doesn't work, however when the thread only takes up one page the dropdown boxes do work.

Anyone have any idea why this might be happening?
Is this just a glitch in vb3.0.5RC2, or did I screw something up :ermm:

Andreas
08-23-2005, 10:38 PM
Error: fetch_object("pagenav_form") has no properties
Source: http://zerogamers.com/clientscript/vbulletin_global.js
Line: 1474

=> Check your SHOWTHREAD Template, it seems to be missing the Jump to Page Popup, which cause JavaScript initialization to fail.

N8
08-23-2005, 10:42 PM
Awesome, thanks Kirby :D

Andreas
08-23-2005, 10:43 PM
np, you're welcome :)

N8
08-23-2005, 10:46 PM
Damn, that doesn't seem to have fixed it :(

Andreas
08-23-2005, 10:50 PM
Still the same error ... and still there is no pagenav_form :)

N8
08-23-2005, 10:53 PM
I restored the SHOWTHREAD and postbit_legacy templates to the originals.

What else do I have to do :/


The only solution I've found was taking the new "go to page" option in the PAGENAV template

<if condition="$show['popups']"><td class="vbmenu_control" title="$address$address2"><a name="PageNav"></a></td></if>

Andreas
08-23-2005, 11:02 PM
LOL, I thought it would be in SHOWTHREAD but it's in navbar


<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->

N8
08-23-2005, 11:05 PM
Ahh, there we go :D

When I was moving my templates over from my old install (3.0.7) I just copied the Navbar over without checking if there was any new codes added in 3.5.0.