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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Issues with 4.1 on Joomla 1.6
Pages: [1]

Author Topic: Issues with 4.1 on Joomla 1.6  (Read 1104 times)

peter

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Joomla
  • MySQL version: 5
  • PHP version: 5
Issues with 4.1 on Joomla 1.6
May 19, 2011, 02:18:45 am
Hi All,

I'm having a few issues with the new 4.1 version on Joomla 1.6 and I thought you can help me with it:
- created menu item to the Personal Campaign Information Pages but when I test it, it jumps to the home page
- created menu item to the Personal Campaign Pages, when I test it it links to the Create Your PCP but after submitting 2nd step it jumps to the home page
- there is no option to create a link to the list of PCPs for Contribution Page - does anyone know how can I create it?
- there was some issue with a list of Contribution Pages when creating menu item to the Personal Campaign Information Pages but I've fixed that already - as far as I remember the bug was in civicontribpages.php

If anyone can help with the 3 first issues, I'd really appriciate it.

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: Issues with 4.1 on Joomla 1.6
May 19, 2011, 03:44:42 pm

Might help if you can replicate issues one and two on our demo server. Please ensure that the user has permission to PCP related pages (typically if they dont, it jumps to the home page)

For item 3, u'll need to write your own code and add it as a joomla component/module/plugin

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Issues with 4.1 on Joomla 1.6
May 19, 2011, 05:33:04 pm
The sandbox for Joomla 1.6 / CiviCRM 4.0 is at:
http://j16.sandbox.civicrm.org/administrator

... but the functions for creating front-end menu items for PCPs seems to be broken there (I think that site is not up to date - so checking on that. Will post back here.)
Protect your investment in CiviCRM by  becoming a Member!

peter

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Joomla
  • MySQL version: 5
  • PHP version: 5
Re: Issues with 4.1 on Joomla 1.6
May 20, 2011, 03:27:28 am
I tried to log in there, but the demo user doesn't have much permissions there. Is there any other account I can use?

peter

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Joomla
  • MySQL version: 5
  • PHP version: 5
Re: Issues with 4.1 on Joomla 1.6
May 20, 2011, 07:02:20 am
@Lobo, could you give me some more details for item 3? I just need to be pointed in the right direction. Thanks a lot!

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: Issues with 4.1 on Joomla 1.6
May 20, 2011, 07:58:00 am

You will basically need to write code to check the civicrm_pcp tables and the civicrm_contribution tables to get the listing you want and then render them with your joomla component

If you have specific questions, i can answer them. or just ask your questions on IRC

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

peter

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Joomla
  • MySQL version: 5
  • PHP version: 5
Re: Issues with 4.1 on Joomla 1.6
May 20, 2011, 09:17:48 am
What I need is the info where to start if I want to add additional type of menu item for civicrm, for example to create menu item to the list of PCPs.

Also, can you let me know how can I test 2 other issues on the demo server? What user account should I use to have permissions to create menu items?

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: Issues with 4.1 on Joomla 1.6
May 20, 2011, 10:30:57 am

1. Two places to start with regard to extending CiviCRM:

http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviCRM+hook+specification
http://en.flossmanuals.net/civicrm/DevelopIntro/

2. There are some issues with the setup for the J16/C4.0 joomla server. We'll sort it out over the next week and get it back to a state where folks can test. The admin user should have permissions

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

peter

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Joomla
  • MySQL version: 5
  • PHP version: 5
Re: Issues with 4.1 on Joomla 1.6
May 20, 2011, 10:38:09 am
Thanks Lobo. Where can I get login details for admin? Demo/demo user doesn't have admin rights.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Issues with 4.1 on Joomla 1.6
May 20, 2011, 02:45:33 pm
Peter - I've fixed the permissions for the demo user in the Administrator site (http://j16.sandbox.civicrm.org/administrator/index.php) so you should have full access to CiviCRM functions AND the menu manager. However, pretty sure the PCP front-end menu create tasks are broken. I've filed an issue here:

http://issues.civicrm.org/jira/browse/CRM-8162
Protect your investment in CiviCRM by  becoming a Member!

peter

  • I’m new here
  • *
  • Posts: 23
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Joomla
  • MySQL version: 5
  • PHP version: 5
Re: Issues with 4.1 on Joomla 1.6
May 23, 2011, 05:51:32 am
Thanks Lobo.
Yeah, they both look broken. I'll be watching the updates on the issue or will try to fix it myself if I have time. So far I found a bug in the JFormFieldCiviContribPages::getInput() method - the last line was causing an issue so I've changed it to:

return JHTML::_( 'select.genericlist', $options, $name, null, 'value', 'text', $value, $name );

I don't remember if there was any other change required but if someone needs it, please post the original method and I'll compare it with my code (didn't have it in my svn that time :))

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Issues with 4.1 on Joomla 1.6

This forum was archived on 2017-11-26.