*/
public function setDefaultValues() {
$defaults = parent::setDefaultValues();
- $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Contribution Amounts') . " ($title)");
if (empty($defaults['pay_later_text'])) {
$defaults['pay_later_text'] = ts('I will send payment by check');
public function setDefaultValues() {
$defaults = parent::setDefaultValues();
- if ($this->_id) {
- $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Include Profiles') . " ($title)");
- }
-
$ufJoinParams = array(
'module' => 'CiviContribute',
'entity_table' => 'civicrm_contribution_page',
public function setDefaultValues() {
$defaults = array();
if (isset($this->_id)) {
- $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Premiums') . " ($title)");
$dao = new CRM_Contribute_DAO_Premium();
$dao->entity_table = 'civicrm_contribution_page';
$dao->entity_id = $this->_id;
$soft_credit_types = CRM_Core_OptionGroup::values('soft_credit_type', TRUE, FALSE, FALSE, NULL, 'name');
if ($this->_id) {
- $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage',
- $this->_id,
- 'title'
- );
- CRM_Utils_System::setTitle(ts('Title and Settings') . " ($title)");
-
$ufJoinParams = array(
'module' => 'OnBehalf',
'entity_table' => 'civicrm_contribution_page',
}
}
else {
- CRM_Utils_System::setTitle(ts('Title and Settings'));
-
$ufGroupDAO = new CRM_Core_DAO_UFGroup();
$ufGroupDAO->name = 'honoree_individual';
if ($ufGroupDAO->find(TRUE)) {
* @return void
*/
public function setDefaultValues() {
- $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Thank-you and Receipting') . " ($title)");
return parent::setDefaultValues();
}
* @return void
*/
public function setDefaultValues() {
- $title = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $this->_id, 'title');
- CRM_Utils_System::setTitle(ts('Tell a Friend') . " ($title)");
-
$defaults = array();
if (isset($this->_id)) {