I have been unable to remove the blog from the main menu. I can go into Structure > Menus > Main Menu and delete BLOG and it does get removed. However, when I close out of the browser and come back it shows up again. I have cleared the cache multiple times.

I can't disable the module since it is part of the OpenPublic defaults. Is there somewhere else I can disable it?

Comments

damiandab’s picture

I have the same problem with main menu. I deleted "Blog", I disabled "Staff Directory" and "Leadership", changed name of "Media Room", but after some time everything coming back. I've never had similar problem with any drupal installation.

Could please someone help?

Thanks,
Damian

202Itsolutions’s picture

I am having the same issue. I have made several modifications to the main menu but it is not stay. It always turns back to the defaults. I want to get this site ready for delivery to my client but it looks like Im going to have to go with my joomla draft since its not having these issues. Any help would be great.

WebmasterDrake’s picture

Priority: Normal » Major

I've had no luck with this. Unfortunately for me I can't scrap this far into development.

damiandab’s picture

I think cron set all menu items back, but what module is responsible for that, I didn't figure out yet.
I switched cron off, everything stays , its not a solution, but good for now, till I find what causes this problem.

I think I have to check Features > Open Public Defaults.

I will work on that today, I will let know, if I find something.

dusov’s picture

I am having the same issue. BLOG, MEDIA ROOM always turns back to the defaults

damiandab’s picture

crazy system, its not possible to customize the website, the menu items coming back. I installed imagefield crop and it didn't work on this system(tested without problems on standad D7) There is no documentation and no maintainers help. I thought I will safe the time to use this installation, but at the end I have to go back to D7 standard installation and start my project again :(

metakel’s picture

How come a project has no documentation at all!

metakel’s picture

Using the "Cron Debug" module, I tested each cron's hook one by one, by deleting the BLOG menu item to see which hook turns it back.

The culprit is the "Default Content" module. Is there anyone know how to disable this without affecting most of other structure? It is required by the "OpenPublic Defaults".

metakel’s picture

I have disabled the "OpenPublic Defaults" features (not the module) and it seems that those deleted default menu items do not reappears after cron.

metakel’s picture

After disabled the "OpenPublic Defaults", the Search Box disappeared, and the "Follow us" block changed its appearance. I used the "OpenPublic European" theme.

metakel’s picture

I have figured out how to deal with this:

1. make changes to your menu(s)
2. go to structure -> features. You'll see "review" at "OpenPublic Defaults". Click the yellow "needs review"
3. Check the box at the right next to "menu items".
4. Click "Mark as review" at the bottom. This mark the items you'd changed as "overridden".

Try clear the cache and see whether the changed items are still being restored to stock settings.

metakel’s picture

I have confirmed that the above method at #11 does not work. The default menu items come back after cron.

My new moves are to hack into the Open Public's stock features ( profiles > openpublic > modules > features > openpublic_defaults ).

There are a few *.inc files storing the default "demo" settings. I hacked into :

openpublic_defaults.features.content_menu_links.inc, and 
openpublic_defaults.features.content.inc

(Maybe it is a better idea to override the features files rather than hacking them, but I am not sure how to do that.)

Each of these *.inc simply contains a PHP functions to return the "default demo contents" array. What I did was just emptying the array before the last "return" statements (you can choose to delete the contents alternatively). I use "$XXX = array();" to empty the arrays. e.g. in the *menu_links.inc file:

 $menu_links = array();

before the:

  return $menu_links;

For the *content.inc file, change the above from "$menu_links" to "content".

It seems that this works. But I'll need more time to test it.

idcm’s picture

It sounds like this is issue is similar to the one Drupal Commons had. http://commons.acquia.com/discussion/bug-customizing-primary-links. This thread offered a solution. I don't have time to compare further to see issues are the same, just throwing this out there in case it helps.

jec006’s picture

Based on my testing, disabling the app 'Demo Content' will stop this issue from occurring. (note that I am using the most recent version of Features)

Anonymous’s picture

Version: » 7.x-1.0-beta2
Status: Active » Closed (fixed)

I am marking this as fixed. Please let me know if you are still having this issue, and we will reopen it.

confid66’s picture

#14 Worked for me as well!