Search result return more than one page / Pagination problem

More
14 years 6 months ago #12016 by sospixs
Hi , Im try to find how to pass filter value to pagination . I'm still no luck .

In my case
I have create category to show 10 article per page .
(I have 50 articles then result show 5 pages ) and also show search box on the top of article list .

When I submit any value in search box , such as word "install" that hits around 15 articles ,absolutely show in 2 pages ,

But when i press "Next" botton of pagination to go next page, My search box is empty and result are clear , Result return 50 article again , HOW DO I CORRECT THIS ? Please HELP.

Thank you

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #12056 by sospixs
No one response. :roll:
But i can solve my problem

Thanks.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #12067 by micker
hello can you post the solution for ther user ?
;)
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #12075 by sospixs
;)

Change some code in models\category.php

You have to find function "_buildItemWhere"

AND Find this line
Code:
$filter = JRequest::getString('filter', '', 'request');

And change to
Code:
$filter = $mainframe->getUserStateFromRequest('adminForm.filter','filter','','string');

AND also change code in file views/catetory/view.html.php
I mean find a code and replace with the same.


It's about global value or somethings, I don't deeply know. Just edit and it's works.

I can't tell you about line number caz i have a alot modification :)

Hope this will fix in next version of FLEXICONTENT

I'll post my website link again when I implement success.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #12078 by micker
cool !
post this problem and solution on bug tracker to help dev team
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.361 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save