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) »
  • when civicrm contribution occurs JOOMLA modules disaapears
Pages: [1]

Author Topic: when civicrm contribution occurs JOOMLA modules disaapears  (Read 4163 times)

altaf

  • Guest
when civicrm contribution occurs JOOMLA modules disaapears
March 13, 2008, 09:44:19 am
Hello Everybody , I have uploaded CiviCRM in Joomla and using civicontribute and civprofile for that when i enters wrong value or submits the form Joomla modules disappears , i have already set URL in civicrm profile advance settings for submit url and cancel url so thats not the issue. . i guess problem is because of changing url once u set link in joomla modules it only appears for that url only while here civicrm url keeps changing so what to do when it keeps changing                           Any help would be appreciated        -- Thanx in Advance                               -- altaf

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: when civicrm contribution occurs JOOMLA modules disaapears
March 13, 2008, 11:25:11 am
I've run into this as well. One of the weaknesses of Joomla.
Because of Joomla's dependence on menus to generate page links, what I often do is create a "development menu" visible only to the special category. I then use it to build links. If you create a menu like this, create a link menu item to the page in question. Then in your module settings, add this menu item to the list of pages the module should be visible on. That should solve it.
-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: when civicrm contribution occurs JOOMLA modules disaapears
March 13, 2008, 04:40:11 pm
Brian - this sounds like a very useful tip for front-end CiviCRM pages under Joomla. If you agree that it's a useful approach for folks, it would be great if you could describe the steps in a bit more detail, and add it as a {tip} on these wiki pages:

http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites
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+Event+Info+and+Registration+in+Joomla%21+Sites

thx!
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: when civicrm contribution occurs JOOMLA modules disaapears
March 15, 2008, 12:25:31 pm
That's exactly what I do too. Also that will work for templates. If you have a certain template you want that is not the default, you assign the templates using the hidden menu. This is most important (I have found) for the error pages. So make an error on purpose, grab the url, put it in the hidden menu and assign the template.

altaf

  • Guest
Re: when civicrm contribution occurs JOOMLA modules disaapears
March 16, 2008, 10:21:20 pm
okie you mean to say that , add that url as a Menu item  and enable modules for that menu right? but the thing is it adds itemid so it doesnt load those modules :( , the problem remains same only thing is you are adding extra menu and when u go for error page its not adding itemid and not loading modules , if i m wrong anyway plz give me right direction thanx in advance

--altaf

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: when civicrm contribution occurs JOOMLA modules disaapears
March 17, 2008, 01:01:43 am
When you have your redirect you need to include the item id--just grab the whole url.

altaf

  • Guest
Re: when civicrm contribution occurs JOOMLA modules disaapears
March 18, 2008, 05:12:46 am
Hey Mcsmom thanx for the reply , here i find d no of ways
 1) In joomla you can assign modules to assigned pages like
      for Civicrm error page there is no module assigned due to changing url so the thing you have to do is watever module you want to see ,
         From Modules->(your Module)->Page(items)->Unassigned

    So that modules comes by default to that CiviCRM Error page

2) Other way is track that url using JAVASCRIPT
     suppose your form name is Edit for that page now append the itemid with that as MCSMOM said
ex. Form name is Edit

  if(document.forms['Edit']) {
       LOQ=document.forms['Edit'];
       LOQ.action=LOQ.action+'Itemid=98';
}

    :) i Find this 2 solutions for d prob if anybody find d easier way to do it plz share
        thank you.....  :D

      -altaf  8)
       
       

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: when civicrm contribution occurs JOOMLA modules disaapears
March 18, 2008, 07:07:26 am
The idea of creating a "development menu" or "link setting menu" is that once you happen upon a page in Joomla (CiviCRM or other) that doesn't have modules appearing the way you expected (the inheritance of module settings from a parent item was lost), grab the url for that page and create a url-type menu item to that url. Now you have a menu item that you can set the module to appear on.

ItemID's are set by the menu item. The problem is that sometimes when you click deeper into a component's tools, you lose the ItemID, thus losing the reference to the menu item, and losing the module setting. This workaround creates a new ItemID for the page with missing modules, and lets you reference it from the module setting.

I have not used this for error pages. It should work in theory, unless the specific error page has very user-specific info in the url, or other url variables that change a lot.

This is a workaround -- so it's not perfect. But it gets the job done for the most part. The issue is not specific to CiviCRM -- I run into it with other Joomla components as well.

-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • when civicrm contribution occurs JOOMLA modules disaapears

This forum was archived on 2017-11-26.