Print button: filters no take in account in category view

More
11 years 8 months ago #41070 by gauthier
Hello,

i would like to have the print option linked with the FC filters in category views.
When I click on the print option, the window that will open will not use the filter. Users are expecting that so I would like to update this.

How is difficult to change that?

Regards,

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

More
11 years 8 months ago #41071 by ggppdk
Hello

it seems that that print link should be fixed, as indeed correct behavior (for print page) would be to use current filtering

please test this change, edit file:
components/com_flexicontent/views/category/view.html.php

find and replace:
Code:
$print_link = $category_link .(strstr($category_link, '?') ? '&' : '?'). 'pop=1&tmpl=component';
with:
Code:
$curr_url = JURI::root(true) . $_SERVER['REQUEST_URI']; $print_link = $curr_url .(strstr($curr_url, '?') ? '&' : '?').'pop=1&tmpl=component';

and refresh your frontend page and test


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 8 months ago #41074 by gauthier
I added the fix:

Results:

FLEXI_FIELD_INVALID_QUERY

If no filter active it is working...

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

More
11 years 8 months ago #41076 by gauthier
ok, this is probably because I have problem with my template (old one)
I should upgrade it...

I tried with an other view that have a more recent template and it was working better but not perfect. I have as result in the page for print always the result minus the last selection in filters (toggle mode).

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

More
11 years 8 months ago #41080 by ggppdk
Hello

this is a different topic, you have a field that has a bad configuration

you have enabled SQL query in some field but the query is not written properly


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 8 months ago #41116 by gauthier
This problem is solved but I have the following issue:

I tried with an other view that have a more recent template and it was working better but not perfect. I have as result in the page for print always the result minus the last selection in filters (toggle mode).

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.345 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