studiodebgmail
Forum Replies Created
-
Forum: Plugins
In reply to: Tablepress: Custom CSS not working with Weaver II themeThanks Tobias.
Forum: Plugins
In reply to: Tablepress: Custom CSS not working with Weaver II themeHi Tobias,
So after a bit of working back and forth with the Weaver support folks, we got the Tablepress custom CSS working again and I thought I’d update you on the specifics in case you come up against this again.
First off, I had to specify “default table styling” in the Weaver admin panel, which supposedly means that the theme styling will take control. However this alone did not do the trick.
The additional step was to add
#contentin front of each of my custom CSS commands. Their support person wrote the following: “Weaver uses #content on each selector and your CSS has less specific selectors (classes). Make your selectors more specific (at least as specific as the rule you are trying to override.)”
So now that I’ve got my custom CSS working, can you recommend the best way for me to designate that the table width display as 100% of the available screen width? Thanks.
Forum: Plugins
In reply to: Tablepress: Custom CSS not working with Weaver II themeHi Tobias,
Any thoughts here? You’re usually so prompt with your support replies I’m concerned you haven’t responded to this one yet. Do you need more information? Or are there other threads where I should be looking to resolve this?
Thanks!Forum: Plugins
In reply to: Tablepress: if I deactivate to trouble shoot will I lose all settingsThank you Tobias.
Thanks Tobias. That’s exactly what I needed. Works like a charm now.
Thank you so much Tobias. My table is now doing everything I want. Awesome!
Thank you! That worked like a charm. Last question…
If I want to add another hidden column (for Day of Week, so it’s sorted chronologically rather than alphabetically) how would I modify the “iDatasort” portion of the code above? Let’s say my day of week is column X and the hidden column referencing it is column Y.
Would it be something like this…
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 4, 5, 6, 7, 8 ] }, { "iDataSort": 3, Y, "aTargets": [ 2, X ] }, { "bVisible": false, "aTargets": [ 3, Y ] } ]Ah… I’ve actually already used that… just didn’t realize the terminology.
Ok, so I’ve already got some code in the “Custom Commands” area of my table to turn off sorting for some of the columns:
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 4, 5, 6, 7, 8 ] }]I’ve added my hidden column and adjusted the code to do the sorting on the hidden column with this code:
"aoColumnDefs": [ { "iDataSort": 3, "aTargets": [ 2 ] }, { "bVisible": false, "aTargets": [ 3 ] } ]But I don’t know how to integrate these two pieces of code together since they’re both making modifications to “aoColumnDefs”. I tried a few ways of joining them together and nothing worked and basically I lost all sorting ability on the entire table.
Can you please advise me how to combine these two pieces of code? Thanks!
Hi Tobias,
Cool! Looks like my idea was spot on. You said to the user in the other thread
It is possible to do this with some “Custom Commands” for the DataTables JS library, specifically:
I’m a bit of a newbie. Can you translate this a bit for me? I see the code snippet that you provided and think I understand how to modify it for my scenario, but where exactly do I put it? And where is the DataTAbles JS library? Can you please be specific, utilizing filenames and locations if possible?
Thanks!
Forum: Plugins
In reply to: TablePress – customize order of column filter widget dropdownThank you! That worked like a charm. I am loving your plug-in and am still playing around with learning all the tweaks I can do to it. I’ll be making a donation shortly and will likely be posting more threads soon. Thanks so much for your speedy reply! Really appreciated 🙂
Forum: Plugins
In reply to: TablePress – customize order of column filter widget dropdownOops, my link to my table is incorrect above (it was still in draft form). Here’s the correct link: http://69.195.124.167/~eastbbc2/test-meeting-directory
Forum: Themes and Templates
In reply to: Blank Child Theme changes all formatting on sitePlease disregard. I figured this out. I was inadvertantly overwriting my full theme’s style.css with the child theme’s style.css, hence the error. Problem solved.