Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
I really need this functionality but would like it in the stable version. It feels as if CiviMember hasn't been updated for years and is lacking now. This would be a major step forward for folks managing complex membership levels.Would it be hard to get this in core?
What am I missing to make the hook work?Thanks!
{if $priceSet} <div id="priceset"> <fieldset> <legend>{ts}Contribution{/ts}</legend> {include file="CRM/Price/Form/PriceSet.tpl"} </fieldset> </div>{else} {if $form.amount} <div class="crm-section {$form.amount.name}-section"> <div class="label">{$form.amount.label}</div> <div class="content">{$form.amount.html}</div> <div class="clear"></div> </div> {/if} {if $is_allow_other_amount} <div class="crm-section {$form.amount_other.name}-section"> <div class="label">{$form.amount_other.label}</div> <div class="content">{$form.amount_other.html|crmMoney}</div> <div class="clear"></div> </div> {/if} {if $pledgeBlock} {if $is_pledge_payment} <div class="crm-section {$form.pledge_amount.name}-section"> <div class="label">{$form.pledge_amount.label} <span class="marker">*</span></div> <div class="content">{$form.pledge_amount.html}</div> <div class="clear"></div> </div> {else} <div class="crm-section {$form.is_pledge.name}-section"> <div class="content"> {$form.is_pledge.html} {if $is_pledge_interval} {$form.pledge_frequency_interval.html} {/if} {$form.pledge_frequency_unit.html} {ts}for{/ts} {$form.pledge_installments.html} {ts}installments.{/ts} </div> </div> {/if} {/if} {/if}
This module and the instructions included in this distribution will allow you to make a CiviCRM contribution form that combines membership payment/renewal with price sets.It is tested and works with CiviCRM 3.3.1 and should work with 3.3.0. It probably will not work with lower versions than 3.3.
Database Error Code: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} )' at line 3, 1064Additional Details: Array( [callback] => Array ( [0] => CRM_Core_Error [1] => handle ) [code] => -2 [message] => DB Error: syntax error [mode] => 16 [debug_info] => SELECT *FROM civicrm_membership_type WHERE id IN ( a:5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} ); [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} )' at line 3] [type] => DB_Error [user_info] => SELECT *FROM civicrm_membership_type WHERE id IN ( a:5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} ); [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} )' at line 3] [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT *FROM civicrm_membership_type WHERE id IN ( a:5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} ); [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':5:{i:20;N;i:1;N;i:4;N;i:2;N;i:6;N;} )' at line 3]"])
warning: in_array() [function.in-array]: Wrong datatype for second argument in .../custom_php/CRM/Contribute/Form/Contribution/ThankYou.php on line 134.