rhysbwaller
Forum Replies Created
-
I’m just wondering why CAC isn’t handling it with it’s own field type considering Pods is just storing a bool value.
Thanks Tobias. Do you know why the ‘Checkmark true/false’ field type would be outputting ‘Yes’ or ‘No’ even with a boolean value stored in the postmeta table?
Forum: Plugins
In reply to: [Admin Columns] Linking the value of the output to a related recordOh, I see that is probably already possible. I think I have a problem with my install
Thanks for the response Scott. I did try that (and have again), but it’s still the same.
One other thing to note, is that when I choose ‘Checkmark true/false’ on a Pods-created Custom Field of type ‘Yes/No’, I just get either ‘Yes’ or ‘No’. The postmeta record has 1 or 0
Forum: Plugins
In reply to: [Portable phpMyAdmin] [Plugin: Portable phpMyAdmin] WP 3.4.2 – not working…Still the same after the 1.3.1 update
Forum: Plugins
In reply to: [Portable phpMyAdmin] [Plugin: Portable phpMyAdmin] Will this ever work again+1
Forum: Plugins
In reply to: [Portable phpMyAdmin] [Plugin: Portable phpMyAdmin] WP 3.4.2 – not working…I’m getting a similar message:
The plugin Adminimize requires WordPress 2.5 or newer. Please update WordPress or delete the plugin.
Forum: Plugins
In reply to: [Exports and Reports] PodsCMS based reportI’m just posting the summary for future reference:
This will create the basis of the sql query:
<?php $pods = new Pod('image'); $params = array( 'orderby' => 'card.id', 'limit' => -1 ); $pods->findRecords($params); global $wpdb; echo str_replace('@wp_', $wpdb->prefix, $pods->sql);
Then add the card to the SELECT to produce the final sql query for the report
SELECT SQL_CALC_FOUND_ROWS DISTINCT t.*, p.id AS pod_id, p.created, p.modified, card.id AS card_id FROM wp_pod p LEFT JOIN wp_pod_rel r1 ON r1.field_id = 82 AND r1.pod_id = p.id LEFT JOIN wp_pod_tbl_card card ON card.id = r1.tbl_row_id INNER JOIN wp_pod_tbl_image t ON t.id = p.tbl_row_id WHERE p.datatype = 1 ORDER BY t.name ASC
Pick Field
Field Name: card_id
Data Type: text
Real Field: card.idForum: Plugins
In reply to: [Exports and Reports] PodsCMS based reportThats what I did, and am getting the results, its just accessing the PICK data that is my issue. I have created ‘related’ data type fields and used details like the example I listed above. The columns in the report are blank for PICK fields.
Forum: Plugins
In reply to: [Exports and Reports] PodsCMS based reportEDIT
I’ve picked up that the ‘Related WHERE/ORDER BY SQL’ was missing the ‘WHERE’, so am now working with ‘WHERE t.id=p.tbl_row_id’ but its still not working.+1
Forum: Plugins
In reply to: custom post type with post_id in permalink structureThanks for the reply Weblogian. The code I used is here:
if(get_post_type() == 'post-type-name'){ … return $newlink; } else { return $post_link; }
Thanks
Forum: Plugins
In reply to: custom post type with post_id in permalink structurein regards to dpchen’s solution, what is the best way to restrict this rewrite to only one cpt? ie leaving all others at their default
Thanks
Forum: Fixing WordPress
In reply to: Custom Post Types PermalinksIm having a similar problem but none of the solutions have fixed it. There are no clashes with any other objects but still the 404s. Man this should be simple and its just head banging stuff
Forum: Fixing WordPress
In reply to: Conditionally load scripts and stylesok no worries, thanks for the clarification.