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 »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • View Mail in Browser fails to over-write wordpress
Pages: [1]

Author Topic: View Mail in Browser fails to over-write wordpress  (Read 820 times)

Interpolat

  • I post frequently
  • ***
  • Posts: 140
  • Karma: -1
    • Interpolat Solutions, LLC.
  • CiviCRM version: 4.4+
  • CMS version: Wordpress
  • MySQL version: 5.5+
  • PHP version: 5.4+
View Mail in Browser fails to over-write wordpress
May 14, 2013, 10:36:00 pm
I am testing the token for viewing mail in the browser {mailing.viewUrl}.  The link opens the mailing on a url formated as follows: 
Quote
http://www.mysite.com/?page=CiviCRM&q=civicrm/mailing/view&reset=1&id=3
Unfortunately, the mailing generated by CiviMail is failing to overwrite the home-page of my site.  The front (Home) page is set to display the "Latest Posts" as opposed to a static page.  I point this out because I am wondering if this may be the reason CiviCRM fails to overwrite the page.  When I use one of my site's sub-pages to prepend the CiviCRM mailing url, then the mailing is displayed fine.

Quote
http://www.mysite.com/site-subpage/?page=CiviCRM&q=civicrm/mailing/view&reset=1&id=3
Interpolat Solutions, LLC
Connecting the dots for you!
http://www.interpolat.com

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: View Mail in Browser fails to over-write wordpress
May 15, 2013, 10:52:04 pm
Do you have "CIVICRM_UF_WP_BASEPAGE" set in your civicrm.settings.php? You should try commenting it.

Kurund
Found this reply helpful? Support CiviCRM

Interpolat

  • I post frequently
  • ***
  • Posts: 140
  • Karma: -1
    • Interpolat Solutions, LLC.
  • CiviCRM version: 4.4+
  • CMS version: Wordpress
  • MySQL version: 5.5+
  • PHP version: 5.4+
Re: View Mail in Browser fails to over-write wordpress
May 15, 2013, 11:32:14 pm
No, it was not set.  It was commented out. 

Quote
// define( 'CIVICRM_UF_WP_BASEPAGE', 'YOUR TEMPLATE NAME HERE');

I just set it to

Quote
define( 'CIVICRM_UF_WP_BASEPAGE', 'CRM');


'CRM' is the page I set just for processing the CiviCRM pages.  However, after saving the settings file with this modification, nothing happens.
« Last Edit: May 16, 2013, 12:47:55 am by jmdezigns »
Interpolat Solutions, LLC
Connecting the dots for you!
http://www.interpolat.com

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: View Mail in Browser fails to over-write wordpress
May 16, 2013, 11:19:20 am

you need to resend the mailing to generate a new view mailing token

all front end urls will then be displayed on the CRM page

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Interpolat

  • I post frequently
  • ***
  • Posts: 140
  • Karma: -1
    • Interpolat Solutions, LLC.
  • CiviCRM version: 4.4+
  • CMS version: Wordpress
  • MySQL version: 5.5+
  • PHP version: 5.4+
Re: View Mail in Browser fails to over-write wordpress
May 16, 2013, 08:33:49 pm
Thanks Lobo.  That did it... ;D
Interpolat Solutions, LLC
Connecting the dots for you!
http://www.interpolat.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • View Mail in Browser fails to over-write wordpress

This forum was archived on 2017-11-26.