Distraction
Forum Replies Created
-
Forum: Plugins
In reply to: [Link Library] Entire library brokeThanks for pinpointing the query error.
All part of being married to the site owner 😉
I’ll deactivate debug mode and leave the updating to her. Thanks for your help!
Forum: Plugins
In reply to: [Link Library] Entire library brokeAha! Lines 449 – 458 of render-link-library-sc.php are
} elseif ( 'catlist' == $order ) { $linkquery .= ' FIELD(t.term_id,' . $categorylist . ') '; } $linkquery .= ', '; } if ( $featuredfirst ) { $linkquery .= ' , link_featured DESC, '; }She has the libraries set to show featured links first, so two consecutive commas are being added to the query.
Deleting the initial comma to so that the code is now
if ( $featuredfirst ) { $linkquery .= ' , link_featured DESC, '; }fixes the problem.
Forum: Plugins
In reply to: [Link Library] Entire library brokeDebug shows this SQL query
SELECT distinct *, l.link_id as proper_link_id, UNIX_TIMESTAMP(l.link_updated) as link_date, IF (DATE_ADD(l.link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated FROM wp_terms t LEFT JOIN wp_term_taxonomy tt ON (t.term_id = tt.term_id) LEFT JOIN wp_term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) LEFT JOIN wp_links l ON (tr.object_id = l.link_id) LEFT JOIN wp_links_extrainfo le ON (l.link_id = le.link_id) WHERE tt.taxonomy = "link_category" AND t.term_id in (16) AND l.link_visible != "N" ORDER by FIELD(t.term_id,16) , , link_featured DESC, l.link_name ASCTesting that directly in PHPMyAdmin throws an error unless I remove the extra comma before link_featured on the last line. Any idea what’s producing the extra comma, or what should be in the empty space between the two commas?
Forum: Plugins
In reply to: [Link Library] Entire library brokeDebug mode on CarolWP’s site is on now.
Thanks for the response! I had checked this on two separate computers, and in both cases Chrome was displaying the print version as specified in the custom stylesheet, but Firefox and IE were not. Eventually I gave up for the night – and when I checked again in the morning, all browsers were picking up the custom stylesheet correctly. No idea what the problem was, but I’m going to blame it on gremlins and mark the thread resolved.
Really? I’m seeing the photo aligned left in Chrome (which is what I specify in the custom stylesheet) but aligned right in Firefox and IE. Are you seeing it aligned left in both, or right in both?