Help!
I've been playing around with the filter hooks trying to get one of my modules to work with them and I've hit a wall which I just can't seem to get around? Currently users have to enter this to display content:
<?php print tablemanager_display(1, 35); ?>
Now this works fine, if a table needs to be paginated then it is (at 35 lines as per the example above) and the pager links do as they should and display each page just fine. If a column is set to be sortable then yes, it can be sorted in either direction by clicking on the appropriate column header - this all works fine...
...but... as I've said, I'm trying to implement the call as a filter as it's not ideal having to give php input filter rights to users who you want to be able to post tables. So, currently I've made it so that:
[tablemanager:1, 35]
Works nicely as well... It displays table 1 and paginates to 35 lines as before, it shows the pager links and the headers marked as sortable jussssst fine... but... None of the links do anything? If you click 'next page' the page reloads with the same view, likewise the header reloads with the same view - nothing works and I just can't fathom out why not? I'm wondering whether it's a Drupal restriction on how filters work or something? Maybe they're run in a sandbox kind of way and so $_GET['q']
kind of things won't work with them? I honestly haven't a clue and it's very frustrating.