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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Create Personal Campaign Page
Pages: [1]

Author Topic: Create Personal Campaign Page  (Read 1451 times)

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Create Personal Campaign Page
August 08, 2011, 02:33:39 am
I've tried to create a front-end menu link for users to create a personal campaign page. I have used the Joomla menu item creator tool as normal.

The link it has suggested is:

index.php?option=com_civicrm&view=Contributions&layout=pcp

and I have set an alias as normal

On the front end though this fails with a CiviCRM error message that "We can't load the requested web page due to an incomplete link. This can be caused by using your browser's Back button or by using an incomplete or invalid link." 

if I put the link in direct (i.e. direct type the index.php?option=com_civicrm&view=Contributions&layout=pcp rather than going through the menu link created) I get my website template but no page content. (Firebug shows no page content either).

It fails for a superuser so, its unrelated to permissions.

Any suggestions as to (a) what the link should be and (b) why the system didn't get it right?

The proposed page is linked to a campaign (which is active) and a contribution page (also active and working) which has "Enable Personal Campaign Pages (for this contribution page)?" ticked.
« Last Edit: August 08, 2011, 02:37:28 am by EdP »

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: Create Personal Campaign Page
August 08, 2011, 07:08:39 am

does it work if you use the full civicrm url:

task=civicrm/contribute/transact&reset=1&id=....

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

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Create Personal Campaign Page
August 08, 2011, 08:51:18 am
Lobo, thanks.

Both
http://www.example.org/index.php?option=com_civicrm&view=Contributions&layout=pcp&task=civicrm/contribute/transact&reset=1&id=13

and

http://www.example.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=13

get me to the main payment page (for me to pay money)  - not to a page where I can try to create my own PCP. '13' is the contribution page number - I assume that's right.

Ed

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Create Personal Campaign Page
August 08, 2011, 10:54:36 am
Ed - Looks like there's a bug in the menu manager menu "creation" logic on J1.6 / 1.7 for this type of link. We're investigating. In the meantime, I tested the "full URL" method on our J1.6 demo and it seems to be working:

http://j16.demo.civicrm.org/index.php?option=com_civicrm&task=civicrm/contribute/campaign&action=add&pageId=1

(pageId is the ID of the contribution page to which you want to "connect" the PCP)
Protect your investment in CiviCRM by  becoming a Member!

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Create Personal Campaign Page
August 09, 2011, 12:34:32 am
Dave
Thank you - that works fine. Let me know if you want me to file an issue for this - from your email it looks as if this may be as much a Joomla bug as anything.

Ed

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Create Personal Campaign Page
August 09, 2011, 09:51:22 am
Ed - Please go ahead and file an issue detailing the steps (and that it only seems to be a problem on Civi 4 / J1.6 or 1.7).
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Create Personal Campaign Page
August 09, 2011, 10:18:07 am
Ed - Brian S. was ready to jump on this a create a patch, so we filed the issue:
http://issues.civicrm.org/jira/browse/CRM-8629

If you can follow that, grab the patch and test - that would be excellent.
Protect your investment in CiviCRM by  becoming a Member!

EdP

  • I post frequently
  • ***
  • Posts: 260
  • Karma: 7
  • CiviCRM version: 4.4
  • CMS version: Joomla 2.5.x
Re: Create Personal Campaign Page
August 09, 2011, 12:17:21 pm
Tried that patch thanks. Seems to work well for me. Thanks very much.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Create Personal Campaign Page

This forum was archived on 2017-11-26.