[ic] components & [query] with [more]

T. Stoffels tstoffels at gmail.com
Tue Jun 21 12:01:44 EDT 2005


Hi there.
I'm afraid I have to bother you one final time, since I have yet
another question, this time concerning the [more-list] tag used inside
the [query] tag:

I am using several components on the flypage. The main purpose of
these components is reading from the database and outputting the
results on the flypage.

All components are based on the same 'skeleton' which look somewhat like this:
--
[query sql=| select somefield  from sometable where... | type=list more=1 ml=10]
    [list]
        [sql-param somefield]<br>
    [/list]

    [more_list]
        Displaying matches [matches] of [match-count] <br> [more]
    [/more list]
[/query]
--

Now, if there more than 10 matches the [more_list] section is shown
just fine, but as soon as I click on a 'results-page-index' or the
'next' or 'last' links provided by the [more] tag, the flypage is
reloaded and appears completely empty. The content field is blank and
all components on it display nothing.

This mysterious empty flypage is seemingly based on this url (the url
where the [more ]-tag's next/last link takes me to):
--
MYSHOP/scan/MM=018492682b5c1edd608a5cfd6ff5a4ef:5:9:5.html?mv_more_ip=1&mv_nextpage=flypage&pf=sql&mv_arg=
--

The 'normal' flypage url (here: displaying the item with sku=100)
looks like this:
--
MYSHOP/100.html
--

What am I doing wrong?
Thanks in advance -  any help would be greatly appreciated...



More information about the interchange-users mailing list