[Typo3] More friendly docs for pi_list_browseresults?

Elijah Alcantara elijah.alcantara at gmail.com
Wed Dec 21 10:28:52 CET 2005


Nevermind, figured it out .. but took me long enough:

              $firstpoint = $pointer*$this->internal['results_at_a_time']+1;
              $secondpoint =
$pointer*$this->internal['results_at_a_time']+$this->internal['results_at_a_time'];

All I need to do now is to insert these at my query as the limit.

Elijah A.

On 12/21/05, Elijah Alcantara <elijah.alcantara at gmail.com> wrote:
> I forgot to ask if that would work on multiple tables? my query
> searches on multiple tables ...
>
> Anyone else knew of some other docs I could use? is there some
> extension that can be easily configured and does the same?
>
>
> Regards,
> Elijah A.
>
>
> On 12/18/05, Elijah Alcantara <elijah.alcantara at gmail.com> wrote:
> > After applying I see "Mode 1" "Mode 2" "Mode 3", a searchbox and the
> > actual page browser. I applied my own code inside the main() as
> > $content=$this->inbox();, added the function there (inbox()) but
> > didn't output anything ...
> >
> > tt_news plugin's use of the pager left me confused, is it possible to
> > just find two variables for which I can set in sql's limit like this?:
> > $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*',..... "$limit1,$limit2");
> >
> > If only I could grab those variables somewhere my problem would be
> > solved ... =(
> >
> >
> > Elijah.
> >
> > On 12/16/05, Rupert Germann <rupi at gmx.li> wrote:
> > > Elijah Alcantara wrote:
> > > [...]
> > > > I could've solved the problem but there wasn't enough info I could
> > > > find on how to use it ... sure, there's plenty on the tslib pibase and
> > > > it's own source code ... but some example code would've been nice.
> > > > Anyone encountered some good sample code use for this plugin?
> > >
> > > getting a working example for the pagebrowser is quite easy:
> > > - open the kickstarter
> > > - create a new table
> > > - create a new frontend plugin
> > > - check the "Add to 'Insert Plugin'" radiobutton
> > > - select your new table in "If you have configured custom tables..."
> > > selectobox
> > > - check the "Listing: Sections instead of table-rows" checkbox
> > >
> > > then you should have a basic frontend plugin which uses the pi_base
> > > pagebrowser.
> > > if this works you can have a look in the tt_news source which shows how to
> > > use the extended pagebrowser features which where added in TYPO3 3.8.0.
> > >
> > > greets
> > > rupert
> > >
> > >
> > > _______________________________________________
> > > Typo3-english mailing list
> > > Typo3-english at lists.netfielders.de
> > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> > >
> > _______________________________________________
> > Typo3-english mailing list
> > Typo3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list