CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Clarification around WP Basepage
Pages: [1]

Author Topic: Clarification around WP Basepage  (Read 1579 times)

Tadpole Collective

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
    • Tadpole Collective
  • CiviCRM version: Latest
  • CMS version: latest
Clarification around WP Basepage
April 08, 2013, 09:56:31 am
I have a question around setting a WP basepage so the CiviCRM does not redirect to index by default. If I am understanding what is documented here: http://wiki.civicrm.org/confluence/display/CRMDOC43/Displaying+Public+Forms+in+WordPress+Frontend+Sites I am supposed to do the following:

  • create a CiviCRM template within my theme file, maybe something similar to page.php.
  • go into WP admin of website and create a new page with that new civicrm page template
  • update settings.civicrm.php to include code snippet below where 'myCustomCiviTemplate' refers to the slug created in page that from step 2


Code: [Select]
define( 'CIVICRM_UF_WP_BASEPAGE', 'myCustomCiviTemplate');
Is this accurate? I ask as it works when I click on an unsubscribe link from a mailing, however with redirects from profiles it doesn't. It works when I set the redirect in the profile, but not when it's left empty. Should this WP base page be what's used in that case too? This also affects PCPs redirects, so I am wanting to clarify my understanding to make sure I am doing right or if it's something else.

Thanks!

Dana

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Clarification around WP Basepage
February 06, 2015, 05:40:03 pm
Hi Dana,

You've no doubt figured out some other solution, but I found the underlying cause of the profile redirects not working (assuming HTML snippets): https://issues.civicrm.org/jira/browse/CRM-15933
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Clarification around WP Basepage

This forum was archived on 2017-11-26.