schoolboy101
Forum Replies Created
-
Hi Peter,
I am not displaying the icon and the collapsed option is actually great for what I need – so all good.
Thanks for your help with this 🙂
Martin
Hi Peter,
Sorry it has taken me so long to get back to you on this and thanks again for your assistance.
By changing Publication Type -> Type to ‘Collapsed’ I’ve been able to get the hidden field to only appear if the data row is clicked on by the user. So this is fine for what I need really but I’m just wondering, if..
Modal = click on row and then see popup of additional row fields
Collapsed = only see additional rows below if row is clicked on
Expanded = see additional rows below without needing to click on rowIs there an option that could be applied to prevent the additional rows being displayed completely / even if row is clicked on?
Thanks,
MartinHi Peter,
Thank you so much for your assistance with this. 🙂
The first option isn’t possible for me unfortunately, as I need users to be able to reorder the table as required.
The second option works nicely, thank you! I did this by adding css as follows –
th.my_field,td.my_field {
display: none;
}What I’ve noticed is that although now hidden from the publication table that I’m presenting, the field remains underneath in some way and causes the green dot (for extra row detail) to now appear. Previously, this wasn’t there as there are only a couple of fields output in the table but now the hidden one is causing this to kick in.
Is there a way I can prevent it from appearing underneath / for extra row detail also?
Thanks again for your help, it is really appreciated.
Martin
Hi Peter,
Thanks very much for your reply and offer to assist further. Also, thanks again for this fantastic plugin 🙂
In the end I have a workaround by creating a view which contains a calculated field. I changed the publication to look at the view instead and then am able to do what I need in the WHERE clause as it’s referencing a view field (the calculated one) instead of the filter variable.
All the best,
MartinHi Peter,
Thank you very much for your response and help with this.
Yes, I was able to adapt and now all is working fine!
All the best,
MartinHi Peter,
Thanks so much for your replay and suggestion, I really appreciate it.
I’m getting myself in a bit of a tangle trying to implement.
If my rewrite is from this url containing series_id.. mysite.com/detail?series_id=1 to this one.. mysite.com/series/series-one
How do I refer to the series_id variable within the quotes below (i.e. where the ???? is) when using the suggested workaround and calling the shortcode? I’ve tried a few things but not able to achieve.
<?php
echo do_shortcode(‘[wpdataaccess pub_id=”4″ filter_field_name=”series_id” filter_field_value=”????”]’);
?>Thanks for your help!
Martin
Brilliant, thanks very much Peter 😃