Closed (fixed)
Project:
OpenPublic
Version:
7.x-1.0-beta2
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Apr 2011 at 18:12 UTC
Updated:
8 Nov 2011 at 18:18 UTC
Jump to comment: Most recent
Comments
Comment #1
damiandab commentedI 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
Comment #2
202Itsolutions commentedI 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.
Comment #3
WebmasterDrake commentedI've had no luck with this. Unfortunately for me I can't scrap this far into development.
Comment #4
damiandab commentedI 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.
Comment #5
dusov commentedI am having the same issue. BLOG, MEDIA ROOM always turns back to the defaults
Comment #6
damiandab commentedcrazy 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 :(
Comment #7
metakel commentedHow come a project has no documentation at all!
Comment #8
metakel commentedUsing 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".
Comment #9
metakel commentedI have disabled the "OpenPublic Defaults" features (not the module) and it seems that those deleted default menu items do not reappears after cron.
Comment #10
metakel commentedAfter disabled the "OpenPublic Defaults", the Search Box disappeared, and the "Follow us" block changed its appearance. I used the "OpenPublic European" theme.
Comment #11
metakel commentedI 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.
Comment #12
metakel commentedI 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 :
(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:
before the:
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.
Comment #13
idcm commentedIt 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.
Comment #14
jec006 commentedBased 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)
Comment #15
Anonymous (not verified) commentedI am marking this as fixed. Please let me know if you are still having this issue, and we will reopen it.
Comment #16
confid66 commented#14 Worked for me as well!