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 CiviEvent (Moderator: Yashodha Chaku) »
  • how to access civicrm events page from frontend
Pages: [1]

Author Topic: how to access civicrm events page from frontend  (Read 6547 times)

global_asia

  • Guest
how to access civicrm events page from frontend
June 13, 2007, 07:51:17 am
Hi,
my question also has to do with adding contacts, and taking in members. But the basic problem is that any links for "public" sites are under the administrator directory (http://www.imaginingglobalasia.org/administrator/index2.php?option=com_civicrm&task=civicrm/event/info&reset=1&id=1). So I have to login to view upcoming events and register for them. How can I get this fixed, and maybe also use the fix for membership and contacts.
-chris

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: how to access civicrm events page from frontend
June 13, 2007, 10:27:39 am
You use the Joomla menu manager to create these links. Check out these documents on doing this for Online Contribution pages and for Profiles. Event registration is similar.

http://wiki.civicrm.org/confluence/display/CRMDOC/Displaying+Online+Contribution+Pages+in+Joomla%21+Frontend+Sites
http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites

Support for linking to event info pages using the menu manager will be added in 1.8. In the meantime, I think you can use this format (substituting our event ID for the id=5 below):
http://<joomla_site>/index2.php?option=com_civicrm&task=civicrm/event/info&reset=1&id=5
Protect your investment in CiviCRM by  becoming a Member!

mike

  • Guest
Re: how to access civicrm events page from frontend
June 14, 2007, 11:52:47 pm
I was able to set up an event with online registration and attach a profile to it to capture extra data for participants. I created a link to the CiviCRM component and filled out the parameters to get it appearing on the Joomla! front-end. However, after filling in the data and clicking 'Continue' I was presented with the following:


Code: [Select]
Sorry. A non-recoverable error has occurred.
Could not find valid Key

Return to CiviCRM menu.

Does anyone have any ideas what might be causing this? It works fine when accessed through the Joomla! administrator back-end.

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: how to access civicrm events page from frontend
June 15, 2007, 02:10:23 am

Check:

http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites

most likely you did not do item 3 on that list (modify your joomla index.php)

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

mike

  • Guest
Re: how to access civicrm events page from frontend
June 19, 2007, 11:31:46 pm
Cheers lobo, that was it :)

cbh

  • I post occasionally
  • **
  • Posts: 71
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.71-log
  • PHP version: 5.5.3
Re: how to access civicrm events page from frontend
June 24, 2007, 05:06:42 pm
Quote from: Dave Greenberg on June 13, 2007, 10:27:39 am

http://<joomla_site>/index2.php?option=com_civicrm&task=civicrm/event/info&reset=1&id=5

(I'm doing this in Joomla 1.0.12) This linking process works for displaying event information. However, when I click on the "register now" link on my site, the entire Joomla page appears in the content pane, as opposed to just the registration. Is there a way to fix this? I'm using the "wrapper" menu option for this. If I use a straight URL option, the information shows on its own page, and then the link to a regular site page works fine, but it seems like a bit of a clunky solution.

Thanks!
Chris
« Last Edit: June 24, 2007, 05:27:23 pm by cbh »

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: how to access civicrm events page from frontend
June 24, 2007, 09:12:46 pm

Chris:

I dont think we've played with the wrapper option of joomla. Our instructions ask folks to use the component menu block to create a menu item link on the frontend. If you know a fair amount of joomla and can help us also work seamlessly with wrapper, let us know and we could potentially integrate it with v1.8

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

cbh

  • I post occasionally
  • **
  • Posts: 71
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.71-log
  • PHP version: 5.5.3
Re: how to access civicrm events page from frontend
June 25, 2007, 06:21:01 am
Thanks for your reply. Following the instructions will get the registration page, and that works fine. What I need to display is the information page, and it sound like 1.8 will cover this off, which works fine - I can wait! I'm just a user, not a php programmer, so I can't tell you much about the inner workings, but it would seem to me if you could have an option in the creation of the "register now" link to let me select the various html options for page display (top, blank, new page and so on) that would solve the problem when using a wrapper.

Cheers
Chris

nessumsara

  • Guest
Re: how to access civicrm events page from frontend
August 03, 2007, 07:35:02 am
All of these instructions cover the contribut and profile forms, but I don't see a way to select an event page in the CiviCRM menu component. I'm using CiviCRM 1.7 and Joomla 1.0.12.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: how to access civicrm events page from frontend
August 03, 2007, 11:06:55 am
In 1.7, we expose the CiviCRM Task "Online Event Registration" which links to the registration page corresponding to the Event ID entered in the next field. The steps for using this in the menu manager are the same as for a Profile or Contribution Page.

In 1.8, we also expose the "Event Info Page" as an option. However, in 1.7 you can still create a menu item which links to  Event Info pages by constructing the full URL manually and entering it as a "Link" in the menu manager.

The URL format is:
http://<joomla_root_url>/index.php?option=com_civicrm&task=civicrm/event/info&id=1&reset=1

I've added a specific section in the documentation for Front-end Events in Joomla:
http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Event+Info+and+Registration+in+Joomla%21+Sites
« Last Edit: August 03, 2007, 11:36:51 am by Dave Greenberg »
Protect your investment in CiviCRM by  becoming a Member!

nessumsara

  • Guest
Re: how to access civicrm events page from frontend
August 05, 2007, 08:44:23 pm
Thanks for the additional information. Having the URL format really helps. Unfortunately, When I try to access either the info or registration page, I get the following error. "You do not have permission to execute this url."

Not sure if this helps, but the info page (with the above error) appears within my site template, the registration page (with the error message) does not.

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: how to access civicrm events page from frontend
August 05, 2007, 11:23:31 pm

Can you access CiviEvent from the backend? i.e. can u create events etc in the system?

If the above is true and you are a php programmer, you might want to debug the file

components/com_civicrm/civicrm.php, function civicrm_check_permission( )

We know a few people who have had registration working on the front end, so not sure why it is not working in your case

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

nessumsara

  • Guest
Re: how to access civicrm events page from frontend
August 06, 2007, 07:00:12 am
Yes, I'm able to create and view events on the backend, including the test and live links. I'm not a programmer.

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: how to access civicrm events page from frontend
August 06, 2007, 03:42:31 pm

Sorry, but i dont really have any ideas as to why this does not work for you. You might want to try downloading the 1.8 beta and see if that fixes your issues

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • how to access civicrm events page from frontend

This forum was archived on 2017-11-26.