joneskc_uk
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Row filter by date extensionTobias,
Yes, you are correct. I had some fun with syntax etc of the filter statement but after adding a ‘week’ column to the table and populating records with a week number Week 44, week 45 etc I then embedded the following statements in the page template.<?php $week = date(‘W’); ?>
<?php echo do_shortcode( ‘[table id=21 table_foot=”0″ show_columns=”1,2,3,4″ hide_columns=”5″ column_widths=”50px|100px|50px|50px” filter=”Week&&’.$week.'” /]’ ); ?>I’m still doing some configuration of the look & feel of the tables otherwise this now seems to work, displaying only the next match only for the three teams (three tables = three shortcodes) we run at the club.
Thanks again for your help.
Rgds
KevinForum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Row filter by date extensionAnother strategy might be to use the existing row filtering extension? If I add a column to the fixture table called ‘week’ and populate each row with the week number eg ‘Week 40’ etc, can I use the other row filtering extension by passing it a variable from the page? e.g. the following shortcode works where the Week 40 is fixed but can it be populated from say a page variable e.g capturing the $week variable and concatenating it with text?
[table id=21 table_foot=”0″ filter=”Week 40″ /]
amended to
[table id=21 table_foot=”0″ filter=”$Week_Number” /] ?Tks
KevinHi,
Upgraded to TablePress 1.2 and things worked fine.Tks
KevinHi,
This error has also popped up recently on my web site. Saving failed: AJAX call successful, but unclear data. Try again while holding down the “Shift” key.The only change with the site that happened between being able to save and failing is the WP 3.7.1 update.
Appreciate any help.
Rgds
KevinTobias,
Great works now. Many thanksRgds
KevinTobias,
I substituted this line but got the following errorWarning: preg_replace() [function.preg-replace]: Compilation failed: range out of order in character class at offset 11 in /homepages/29/d374934069/htdocs/labpulsar/wordpress/wp-content/plugins/tablepress-shortcode-filter-get-parameter/tablepress-shortcode-filter-get-parameter.php on line 18
Does this make sense?
Rgds
KevinTobias,
Just a short follow up question to your earlier point about encoding filter parameters. I’ve seen some inconsistencies in the way that the ‘-‘ character is used in filtering. I was using the text ICP-OES to filter a table, but this did not return a result. ICP OES encoded as ICP%20OES worked.
I presume this a function of your filter term statement in the extension? Is there way of searching for text with the ‘-‘ character in it?Rgds
KevinTobias,
Marvelleous, the change to the extension was needed and the | characters needed to be encoded, but now works for filtering using two words for the ‘AND’ logic.Many thanks for the prompt feedback, very elegant plugin.
Rgds
KevinForum: Plugins
In reply to: [FeedWordPress] Fatal error…in line 606Well no one replied to my post so I decided to delete the feed, and delete the plugin and try again. I rechecked all the Facebook details of the fan page and decided to use the Atom feed instead and looks like it all works now.
Despite my disapointment first time around I can’t believe how quick this plugin fetches the feeds and displays everything. Very impressive. Just use the atom format and get the right syntax in the feed settings.
Same question – can you connect to the (closed) Facebook group if you have admin access to that group? Sorry I’d try it but don’t have the access just right now.
Thanks