Categories > TinyButStrong general >

Error in NavBar

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Cleiver
Date: 2006-09-30
Time: 20:56

Error in NavBar

Hi there! =D

I'm using the NavBar plugin and I got this little problem.

When there are no results in my query the navbar shows like this:

|< <  > >|

Thats ok.. but the problem is that the > and >| are links to other 'pages'... like there was any result... but there's any....

How can I resolve this?

Thanks
By: Skrol29
Date: 2006-10-01
Time: 11:01

Re: Error in NavBar

Paremeter "enpoint" (only for NavBar) is made for this problem.
It is descibed in the manual of NavBar
  http://www.tinybutstrong.com/fr/plugins.php?help#plugin_navbar
By: Rafael
Date: 2006-10-06
Time: 14:20

Re: Error in NavBar

Sorry for take too long to answer...

I'm using the endpoint parameter, in fact, I'm using the same example described here in the site.

            <table border="0" align="center" cellpadding="2" cellspacing="0">
               <tr align="center">
                  <td width="16"><a href="[var..script_name]?PageNum=[nv.first;endpoint;magnet=a;mtype=m+m]">|&lt;</a></td>
                  <td width="16"><a href="[var..script_name]?PageNum=[nv.prev;endpoint;magnet=a;mtype=m+m]">&lt;</a></td>
                  <td width="16"><a href="[var..script_name]?PageNum=[nv.page;block=td;navsize=3;navpos=centred]">[nv.page]</a></td>
                  <td width="16"><strong>[nv.page;block=td;currpage]</strong></td>
                  <td width="16"><a href="[var..script_name]?PageNum=[nv.next;endpoint;magnet=a;mtype=m+m]">&gt;</a></td>
                  <td width="16"><a href="[var..script_name]?PageNum=[nv.last;endpoint;magnet=a;mtype=m+m]">&gt;|</a></td>
               </tr>
            </table>
By: Cleiver
Date: 2006-10-06
Time: 14:21

Re: Error in NavBar

Ops... Cleiver here.. Rafael is the other programmer...
By: Cleiver
Date: 2006-10-06
Time: 14:33

Re: Error in NavBar

I've found the solution! =D

I've just have to use the bmagnet=table at the HTML side... so simple that I'm almost killing myself. _o¬

Thanks for the help!