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 Joomla Extensions (Moderator: lcdweb) »
  • Joomla Menus
Pages: [1]

Author Topic: Joomla Menus  (Read 5681 times)

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Joomla Menus
May 19, 2010, 06:56:48 am
hi,
it doesn't seem to matter what i put in for the CiviCRM profile whether it be
#
Profile Create
#
Profile Edit
#
Profile Search
#
Profile View

it always shows up as the dashboard.

also this would show up the dashboard:
index.php?option=com_civicrm&view=Events&layout=register&Itemid=101
index.php?option=com_civicrm&view=Profiles&layout=edit&Itemid=101

this:
index.php?option=com_civicrm&view=Contributions&Itemid=101
comes up a non-recoverable error. "You do not have permission to view this contact"...

why is this happening?

all i want to be able to do is let the user edit their own address, phone, etc. can someone please help me out?

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menus
May 19, 2010, 07:01:12 am
can you send a link to your website.

also, do you have any SEF extensions installed? Civi hiccups with sh404sef. I have a plugin I've been working on for that extension,  but it needs a bit of testing before I can release. it should work fine with native Joomla SEF.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menus
May 19, 2010, 07:03:00 am
www.divingnsw.org.au/test

no sef installed.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menus
May 19, 2010, 02:21:07 pm
PM me a login and i'll take a look. the links all require you to be logged in
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menus
May 20, 2010, 10:17:23 am
Ok, so a couple things --

When Joomla creates a CiviCRM menu item, it stores details about the page in the menu item's "Params" field. For Civi pages, this includes stuff like the profile id, event id, etc. If you uninstall and reinstall a component, sometimes that metadata is lost or goofed up. Usually you can just edit the menu item and save it, and it will reset. When I went to your Joomla menu manager, I noticed the "Type" column was not listing the full Civi resource, which was an indication you had uninstalled and reinstalled Civi (perhaps for an upgrade). So I think the problem with the menu links is that the params details were messed up. Unfortunately, simply opening and saving didn't fix it. But I created a new menu item with identical settings and it works fine.

A few more related comments --

Because the config details for the page are stored in the menu item, you can't mix the Itemid value (Itemid corresponds to a menu item). In your post above you had several links using the Itemid=101 -- that would confuse things, as Civi won't know what resource to pull. See the documentation online if you want to create links to Civi resources without creating a menu item.

Also note that you do not generally need to uninstall CiviCRM before installing an upgrade. You can install the upgrade on top of the existing installation. The only exception is if you have very restrictive permissioning on your file system. That avoids the need to rebuild CiviCRM menu links.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menus
May 20, 2010, 10:19:26 am
One more comment --

Your profile has problems, as you're mixing fields that can't be used in the way you've indicated. You'll see a message to this effect when you visit the page.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menus
May 20, 2010, 03:14:34 pm
thanks for that. yes, i had recently upgraded to 3.1.5 but i did uninstall first and then reinstall the upgrade...

i dont quite understand your last comment. i see the message but i dont understand why im getting it:
"Profile search, view and edit are not supported for Profiles which include fields for more than one record type."

what does this mean and how do i fix it?

cheers!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menus
May 20, 2010, 04:16:03 pm
There are two primary rules dictating profile field usage:

  • Different contact type fields cannot be mixed: This is the most common mistake for new users. The limitation means, for example, you can’t construct a profile that includes both Individual and Organization-specific fields. This limitation is largely due to the need to define the relationship between the two (or more) contacts potentially impacted by the form.
  • Participant/Membership/Contribution fields may only be used in profiles used within the associated type of page. In other words, you can’t use these fields with profile view/create/edit/search pages. Profiles containing these fields can only be used within event registration or contribution pages.

In your case, I believe you've included membership fields and tried to expose them through a profile edit page.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Yoda_Oz

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.22
Re: Joomla Menus
May 20, 2010, 04:19:50 pm
thanks :)

is there any way to allow the user to edit the information they entered from the membership profile?

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Joomla Menus
May 20, 2010, 04:34:51 pm
you mean custom membership fields? unfortunately, no -- not without some custom development.
i would think that most of the time, any fields that people would potentially need to get into and modify at a later date will be attached to the contact record, not the membership record. obviously there will be use cases where this is not so. but you might look at your data and just make sure that you do indeed want the custom fields attached to the membership record and not the contact record.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Joomla Extensions (Moderator: lcdweb) »
  • Joomla Menus

This forum was archived on 2017-11-26.