mcmasterp
Forum Replies Created
-
I am also seeing this error when one of our authors tries to view photos in the media gallery
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Inline Google Spreadsheet ViewerYup that was the trick! thank you. so the final solution was:
<script type="text/javascript" >jQuery(window).load(function () { jQuery( ".igsv-table").dataTable().api().page.len(-1).draw(); });</script>
Thanks again for the slick plugin. I donated what little pitiful amount I could earlier then needed support and you’ve been incredibly helpful with amazing response time.
I highly encourage every user of this plugin to donate to the author. check out maymay.net for ways to support him!
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Inline Google Spreadsheet ViewerThats a good idea. I did some searching on SO and looked at the jQuery attributes contains selector page and came up with this:
<script type="text/javascript" >jQuery(window).load(function () { jQuery( 'div[id*="igsv-"]' ).dataTable().api().page.len(-1).draw(); });</script>
as far as I can tell this should be working but doesn’t, any suggestions?
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Inline Google Spreadsheet ViewerOk. I’ll see if i can figure it out. if I can’t get it, where to ask for programming help?
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Inline Google Spreadsheet ViewerOk i think I have got it down. my theme has a script addon section to make it update proof which is nice. the only issue I see is that I have dozens of spreadsheets so adding the key into the script is a problem. Is there any way to still do it?
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Inline Google Spreadsheet ViewerOh I see. I didn’t think that section was it because it talks about removing paging and I was looking for a section on changing the default number of entries.
Thank you very much for helping, I’ll try it out
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Inline Google Spreadsheet ViewerHello and thank you for this amazing plugin. I read the faq but I’m missing where to set default entries per page. I know it’s my mistake but where is the info?
many thanks
Ok that sounds like the right track. I could add:
if ( current_user_can('edit_post', $postID) ) {
but how does that make the fields editable?First off thank you for your reply and plugin.
I created that frontend layout using echos, I couldn’t get the form to style like that. here’s the code from my single.php file. I know it’s painfully written but I was learning and needed to get it going quick
<div style="width: 100%;"> <div style="float: left; width: 45%;"><?php echo "File # : " . get_post_meta($post->ID,'file_number',true) . "<br />"; ?></div> <div style="float: right; width: 45%;"><?php echo "File Status : " . get_post_meta($post->ID,'file_status', true) . "<br />"; ?></div> </div><br /> <div style="width: 100%;"> <u><h3>Client Info</h3></u> <div style="float: left; width: 50%;"> <?php echo "Client Name(s) : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'insureds_names',true) . "</div><br />"; ?> <?php echo "Loss Address : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'loss_address',true) . "</div><br />"; ?> <?php echo "Home # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'home_phone_number',true) . "</div><br />"; ?> <?php echo "Work # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'work_phone_number',true) . "</div><br />"; ?> <?php echo "Email : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'email',true) . "</div><br />"; ?> </div> <div style="float: right; width: 50%;"> <?php echo "Mailing Address : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'mailing_address',true) . "</div><br />"; ?> <?php echo "Cell # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'cell_phone_number',true) . "</div><br />"; ?> <?php echo "Fax # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'fax',true) . "</div><br />"; ?> <?php echo "Other Contact Info : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'other_contact_info',true) . "</div><br />"; ?> </div> </div> <div style="clear: both"></div> <div style="width: 100%;"> <u><h3>Carrier Info</h3></u> <div style="float: left; width: 50%;"> <?php echo "Company : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'insurance_company',true) . "</div><br />"; ?> <?php echo "Fax # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ins_fax',true) . "</div><br />"; ?> <?php echo "Policy # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'policy_number',true) . "</div><br />"; ?> <?php echo "Building Adjuster : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'company_adjuster',true) . "</div><br />"; ?> <?php echo "Coverage A Limits : <div style='border: 1px solid; width: 90%;'>" . " $" . get_post_meta($post->ID,'coverage_a_limits',true) . "</div><br />"; ?> <?php echo "Coverage C Limits : <div style='border: 1px solid; width: 90%;'>" . " $" . get_post_meta($post->ID,'coverage_c_limits',true) . "</div><br />"; ?> <?php echo "Deductible : <div style='border: 1px solid; width: 90%;'>" . " $" . get_post_meta($post->ID,'deductible',true) . "</div><br />"; ?> </div> <div style="float: left; width: 50%;"> <?php echo "Office # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ins_office_phone',true) . "</div><br />"; ?> <?php echo "Email : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ins_email',true) . "</div><br />"; ?> <?php echo "Claim # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'claim_number',true) . "</div><br />"; ?> <?php echo "Contents Adjuster : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'company_adjuster_contents',true) . "</div><br />"; ?> <?php echo "Fire Investigator : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'fire_investigator',true) . "</div><br />"; ?> <?php echo "Coverage B Limits : <div style='border: 1px solid; width: 90%;'>" . " $" . get_post_meta($post->ID,'coverage_b_limits',true) . "</div><br />"; ?> <?php echo "ALE : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ale',true) . "</div><br />"; ?> </div> <div style="clear: both"></div> <div style=""float: left; width: 100%;"> <?php echo 'Images :'; $mykey_values = get_post_custom_values( 'images' ); if ( is_array($mykey_values) ) { foreach ( $mykey_values as $key => $value ) { echo '<a href="' . wp_get_attachment_link($value) . wp_get_attachment_link($value) . '</a> '; } } ?> <br /> </div> </div> <div style="clear: both"></div> <div style="width: 100%;"> <u><h3>Loss Info</h3></u> <div style="float: left; width: 50%;"> <?php echo "Date of Loss : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'date_of_loss',true) . "</div><br />"; ?> <?php echo "Peril : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'peril',true) . "</div><br />"; ?> </div> <div style="float: left; width: 50%;"> <?php echo "Contract Date : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'contract_date',true) . "</div><br />"; ?> <?php echo "Details of Loss : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'loss_details',true) . "</div><br />"; ?> </div> <div style="clear: both"></div> <div style=""float: left; width: 100%;"> <?php echo 'Images :'; $mykey_values5 = get_post_custom_values( 'loss_images' ); if ( is_array($mykey_values5) ) { foreach ( $mykey_values5 as $key => $value ) { echo '<a href="' . wp_get_attachment_link($value) . wp_get_attachment_link($value) . '</a><br />'; } } ?> <br /> </div> </div> <div style="clear: both"></div> <div style="width: 100%;"> <u><h3>Restoration Info</h3></u> <div style="float: left; width: 50%;"> <?php echo "Company : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'restoration_company',true) . "</div><br />"; ?> <?php echo "Billing : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_billing',true) . "</div><br />"; ?> <?php echo "Signing Rep. : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_rep',true) . "</div><br />"; ?> <?php echo "EMS Service : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ems_service',true) . "</div><br />"; ?> <?php echo "Additional Services : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_additional_services',true) . "</div><br />"; ?> </div> <div style="float: left; width: 50%;"> <?php echo "Office # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_office',true) . "</div><br />"; ?> <?php echo "Fax # : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_fax',true) . "</div><br />"; ?> <?php echo "Email : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_email',true) . "</div><br />"; ?> <?php echo "Rep. Email : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'rest_direct_email',true) . "</div><br />"; ?> <?php echo "Date of EMS : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'date_of_ems',true) . "</div><br />"; ?> <?php echo "Date of Add. Services : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'date_of_additional_services',true) . "</div><br />"; ?> </div> </div> <br /> <div style="clear: both"></div> <div style="width: 100%;"> <u><h3>Eastern Company Info</h3></u> <div style="float: left; width: 50%;"> <?php echo "Created on " . get_the_date() . " by " . get_the_author() . "<br />"; ?> <?php echo "Solicitor 1 : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'solicitor_1',true) . "</div><br />"; ?> <?php echo "Solicitor 2 : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'solicitor_2',true) . "</div><br />"; ?> <?php echo "Adjuster : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'eastern_adjuster',true) . "</div><br />"; ?> <?php echo "Contents Adjuster : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ec_content_adjuster',true) . "</div><br />"; ?> <?php echo "Additional Adjuster : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ec_additional_adjuster',true) . "</div><br />"; ?> <?php echo "Additional Claim Info: <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'notes',true) . "</div><br />"; ?> </div> <div style="float: left; width: 50%;"> <?php echo "Date Claim Reported : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'date_of_claim_report',true) . "</div><br />"; ?> <?php echo "Solicitor 1 Email: <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'solicitor_1_email',true) . "</div><br />"; ?> <?php echo "Solicitor 2 Email: <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'solicitor_2_email',true) . "</div><br />"; ?> <?php echo "Adjuster Email : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ec_adjuster_email',true) . "</div><br />"; ?> <?php echo "Contents Adjuster Email: <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ec_content_adjuster_email',true) . "</div><br />"; ?> <?php echo "Additional Adjuster Email : <div style='border: 1px solid; width: 90%;'>" . get_post_meta($post->ID,'ec_additional_adjuster_email',true) . "</div><br />"; ?> </div> <div style="clear: both"></div> <div style=""float: left; width: 100%;"> <?php echo 'Images :'; $mykey_values6 = get_post_custom_values( 'ec_images' ); if ( is_array($mykey_values6) ) { foreach ( $mykey_values6 as $key => $value ) { echo '<a href="' . wp_get_attachment_link($value) . wp_get_attachment_link($value) . '</a><br />'; } } ?> <br /> </div> <div style="clear: both"></div> <div style=""float: left; width: 100%;"> <?php echo 'Misc. Other Files : '; $mykey_values2 = get_post_custom_values( 'other_files' ); if ( is_array($mykey_values2) ) { foreach ( $mykey_values2 as $key => $value ) { $files = wp_get_attachment_url($value); echo '<a href="' . wp_get_attachment_url($value) . '">' . basename($files) . '</a><br />'; } } ?> <br /> </div> </div>
How do I create a new admin page? and how can I make it look like the layout on the frotend?
Thanks in advance!
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] how to access wishlist featureThanks! Ill install it now
Forum: Plugins
In reply to: [TheCartPress eCommerce Shopping Cart] how to access wishlist featureThank you Inigo. any plans for a shortcode so users can have a page to view wishlist from? or better maybe add it to the my account page?
alterq: I know it sucks to have issues such as yours but asking off topic questions in a thread is a terrible way to get help. I recommend either finding a relevent thread or starting a new one. Remember that developers are just people. They do this work for low pay or even free. It takes to much time to sort through disorganized questions. Best of luck with your problem though
Forum: Plugins
In reply to: [Private Community For BP Lite] settings menu not foundok. didn’t you just update this plugin yesterday?
Forum: Plugins
In reply to: [Facebook Page Photo Gallery] Thumbnails didn't load any moreyup this worked for me too. to be clear this solves the problem where the thumbnails on the page are blank even though the pictures show when clicked.
Forum: Plugins
In reply to: [Co-Authors Plus] Authors not showing up in "add post" edit pageit stopped working on our single site as well. I’m sure a recent update of a different plugin is the cause but haven’t had the time to test them all yet
Forum: Plugins
In reply to: [SlickQuiz] Certificate Optionsthis feature would be amazing, even more so if it could be for a fee. What would be equally nice would be some way to embed a badge on a users profile or other page showing that they passed one test or many.