• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Filtering list problem with content plugin

dimoss

Well-Known Member
Hi

Using the info from the wiki article at: http://fabrikar.com/forums/index.php?wiki/content-plugin/#accessing-url-parameters I created an article adding the following:

Code:
{fabrik view=list id=17 fab_entries_na___assoc=[param1]}

where param1 taking values from 'fab_entries_na___assoc' element

However although I can see the full list with all the records, the URL filtering it doesn't work or I do something wrong

For example:
http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GRE
http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GER

return all records while it shouldn't

I have also tried to put single quotes with no success.
 
Finally it was my mistake as the element name was from another list by accident :-(
Thanks Troester!
 
@troester I fixed the problem in URL and now the list is working fine with the param1 as filtering as u can see at:

http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GRE
http://demo.alfaweb.gr/index.php?option=com_content&view=article&id=15&Itemid=155&param1=GER

However I discovered that param1 value is not passing when I want to print or to make pdf and the link is:

http://demo.alfaweb.gr/index.php?op...l=component&print=1&layout=default&Itemid=155

which returns nothing to print obviously because the &param1 value is missing.

Any idea how to fix this?

Thanks!
 
Yeah, we build the PDF link programatically, and don't add in random query string values from the loading page. Which is to be expected ... links generated on a page don't usually include anything from the query string of the page they are being built on.

We work round this in, for example, CSV export links, by having the "Additional Query String" setting in the CSV settings, which lets you tell Fabrik to include some additional stuff on the query string for the CSV export link.

I'd have to do the same for PDF, and add an "Additional Query String" option for PDF links.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top