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 Multi-Site functionality »
  • rebuilding multi-site navigation menu
Pages: [1]

Author Topic: rebuilding multi-site navigation menu  (Read 2570 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
rebuilding multi-site navigation menu
February 14, 2010, 07:18:19 pm
Hello,

Is there a function/ url to rebuild the navigation menu for a multi-site subsite.

I could create the links with this sql & then go to the navigation menu & edit and save & I got it back but I'm wondering if there is another way?

 INSERT INTO civicrm_navigation( domain_id, label, name, url, permission, permission_operator, parent_id, is_active, has_separator, weight ) (

SELECT 2 , label, name, url, nav.permission, nav.permission_operator, nav.parent_id, nav.is_active, nav.has_separator, nav.weight
FROM `civicrm_navigation` AS nav
WHERE domain_id =1
)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: rebuilding multi-site navigation menu
February 14, 2010, 07:38:13 pm
Actually that didn't work because it involved copying across the incorrect Parent_ids
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

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: rebuilding multi-site navigation menu
February 14, 2010, 08:28:58 pm

check

sql/civicrm_navigation.mysql

you might have to do some manual drops for that specific domain 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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • rebuilding multi-site navigation menu

This forum was archived on 2017-11-26.