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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Problem with WordPress Custom Template
Pages: [1]

Author Topic: Problem with WordPress Custom Template  (Read 735 times)

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Problem with WordPress Custom Template
March 21, 2013, 09:54:25 am
I am trying to use a specific template for my front end forms. I have added the following to my civicrm.settings.php file.

define( 'CIVICRM_UF_WP_BASEPAGE', 'single'); where single is the name of the template.

When added I get a page not found. Here is what the URL looks like: mydomain.com/wp/single?page=CiviCRM&q=civicrm/event/register&reset=1&id=3

If I take out the 'single' (or whatever the template name is, I have tried a few) from the URL all is fine but confirmations, etc get all messed up. I have tried this in 2 separate installs one with Civi 4.2.7 & One with 4.2.8 with the same results. I have looked through the forums and see that this should all work fine. It seems like I am missing something simple but am at a loss.

Anything I should look at would be appreciated.

Thanks

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: Problem with WordPress Custom Template
March 21, 2013, 12:01:19 pm
dont know a lot of specific WP terminology, but here is what i did when i experimented with it last week:

Try creating a simple page called 'single'

its the name of the page, not the name of the underlying template. If the above works for u, can u update the documentation to make it clear using the right WP terminology

thanx

lobo
« Last Edit: March 21, 2013, 12:07:47 pm by Donald 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

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Re: Problem with WordPress Custom Template
March 21, 2013, 12:40:47 pm
Lobo

This helps, still running into issues. Mostly with an existing WordPress Install that has a lot of posts, etc. I will work on it and document what I can.

Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Problem with WordPress Custom Template

This forum was archived on 2017-11-26.