I've created a feature to update a menu. Then in my deploy module, I did this:  function phoenix_deploy_update_7106() {   $feature_list = array(     'campus_dropdown',   );   features_revert($feature_list); }   but then running drush updb -y on the staging site, doesn't enable my new menu items.  Have I gotten the commands right to revert the feature?
122414
I have a Feature installed using an Installation Profile. But I always have to go and Revert a particular Component so that it's no longer Overridden (so that, for example, the Feature's Blocks appear).  I just wanted to know if I can take this step programmatically using code itself in the Installation Profile.  In the screenshot below, I've shown the component that has to be reverted programmatically (in the screenshot, it's already reverted back so check box is not available).
50013
I am able to use Update Manager to install new modules, instead of having to manually upload them. I previously put everything in sites/all/modules, but now have reorganized my modules into sites/all/modules/contrib and sites/all/modules/custom (for the modules I write or modify).  However, Update Manager is still installing new modules in sites/all/modules. Is it possible to tell Update Manager to install new modules in sites/all/modules/contrib instead? I looked for a setting somewhere, but can't find one (D7).
78780
Update:  Update: We've heard you! . Please let us know what you think.  As  In a major effort to move as much UX cheese as possible in a single deployment significantly improve the site browsing experience, we have deployed a new version of the site navigation to Stack Overflow, Meta Stack Overflow and Meta Stack Exchange.  The catch is that this is only visible to users that explicitly enable it. What's new?  This is the list of major changes we're introducing. Unified home page All major question lists have been merged into a single page, the home page. This page has three tabs: new, which shows fresh content; popular, which shows the top posts over time ranges; need answer which helps you find stuff to answer. Almost all of these lists can be filtered by tag (we are working on the remaining ones). All of them allow different sorts and sets of questions. Finally there are further options to further customize your experience. Simplified top navigation Questions is now highlighted whenever we show a list of questions, including the home page. Unanswered has been removed. FAQ How do I get this?  Go to your , look at the bottom. Check the checkbox, or un-check it to go back to normal. Checking the box puts you in a waiting list. We allow people in batches to verify behavior under load, ensure we've fresh eyes as we fix the inevitable bugs and so on. There's a five minute cache expiration time, so any change you make might take a little to propagate.  Update: As we have 500 active testers now (you are amazing!), we will delaying new alpha activations until we roll out a set of fixes. Opting in now ensures you'll be in the next few hundreds to see the next version.    Update: We have activated 500 more testers after deploying a set of fixes. There are around 1000 testers active now. There are 3000 people in the waiting list, gosh! You might need to wait a little bit.  How can I help? Here's what we really want to know :-)  that we are not breaking stuff you used to do how easy is to find questions to answer, especially if you are a new user any ideas for improvement and feature requests bug reports  If there is anything you particularly hate, but it's not a breaking behavior, please think of a better alternative and suggest it as a feature request. &lt;3 Please read this  How do I get back to you? Use this question for general considerations only. Please use separate questions tagged with   or   as appropriate.  It's impossible to manage large amounts of bug reports or feature requests if you answer here. We periodically go through the list and ask answerers to move their bug/feature answers to a question and remove the post, and you likely will lose rep once the answer is gone. What are the next steps? We will spend the next few days hot fixing bugs which emerge. New ideas and breaking behaviors will be considered for the next iteration.  Thanks for all the feedback, we've planned the next iteration now, all the requests we're going to tackle in it are marked as . The ones tagged  will be reconsidered in the next cycle. Obviously feel free to test and contribute more, the new homepage is not going away.
24949
I want to change the menu type in Drupal 8. In Drupal 7 we can achieve this using   function module_menu_alter(&amp;$items) {   $items['admin/config/people/ip-blocking/default'] = array(     'title' =&gt; 'Block IP Address',     'type' =&gt; MENU_DEFAULT_LOCAL_TASK,   ); }   Similarly I want to change the menu type in Drupal 8. How can I do it. Thank You.
37469
I am looking at using  , but I am not sure how easy it is to update a distribution when a new version comes out.  Also, can I use drush to do it, or do I have to manually download and unpack the distribution?
118291
I’m trying to deploy custom objects, custom fields, page layouts, compact layouts, Lightning pages and Global value set (global picklist) , when uploading changeset it is giving me API version error as out production platform version 46.0 and SB version is 47.0 , I’m not sure how to bring the version down to 46.0 (There are no Apex triggers/classes in the changeset). Any help would be really appreciated.
66981
This is excerpt from my composer.json file (trimmed for readability). It was created by running composer create-project drupal/drupal my_site_name 8.0.* as described on :  {   "name": "drupal/drupal",   "type": "project",   "require": {     "composer/installers": "^1.0.21",     "wikimedia/composer-merge-plugin": "^1.3.0"   },   "replace": {     "drupal/core": "~8.0"   },   "minimum-stability": "dev",   "prefer-stable": true,   "extra": {     "merge-plugin": {       "include": [         "core/composer.json"       ],       "recurse": false,       "replace": false,       "merge-extra": false     }   } }    If I just do composer update - core is not updated, only packages inside vendor dir. If in addition to the above, I update my composer.json file and replace core version with ~8.1 - still core not affected.   The only thing that worked for me was to:   Remove core dir, vendor and composer.lock. Edit composer.json and:   Remove replace section. Add "drupal/core": "~8.1" to require section.  Run composer install.   That worked however every installed package complained that:     Class Drupal\Core\Composer\Composer is not autoloadable, can not call post-package-install script   So I'm not sure if the whole process completed flawlessly. Also removing core directory seems like a desperate move.  What is the recommended procedure of updating core to the next minor version with composer (for example 8.0 => 8.1)? Note that I am not using  as suggested in .  Update 1  After trying to use composer require --update-with-dependencies "drupal/core:8.1.*" I got no results:  $ composer create-project drupal/drupal my_site_name 8.0.* Installing drupal/drupal (8.0.6)   - Installing drupal/drupal (8.0.6)     Cloning c5afca05cde0c94ef4d7aff5b078be27024670d2  Created project in my_site_name Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files &gt; Drupal\Core\Composer\Composer::preAutoloadDump &gt; Drupal\Core\Composer\Composer::ensureHtaccess Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? Y $ cd my_site_name/ $ composer require --update-with-dependencies "drupal/core:8.1.*" ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Writing lock file Generating autoload files &gt; Drupal\Core\Composer\Composer::preAutoloadDump &gt; Drupal\Core\Composer\Composer::ensureHtaccess   I'm using composer version 1.1-dev.
90991
I have installed dconf-tools. In this case I am manipulating the display of a name in the panel on the session indicator.  I can change this in dconf-editor gui with no problem, I go to apps/indicator-session, and untick show-real-name-on-panel.  However, I have also tried to toggle it just using dconf at the command line:  dconf write /com/canonical/indicator/session/show-real-name-on-panel false   After rebooting, the panel is unchanged, and the key in the dconf-editor is unchanged as well.  Moreover, trying to update the dconf database via the terminal yields an error:  $ dconf update fatal: Error opening directory '/etc/dconf/db': No such file or directory   From my experience it seems as though dconf and dconf-editor have no relationship, so I just wonder what I am doing wrong.  If I can get this figured out, I want to just place the command in a bash script to run the next time I have to do a clean install for an upgrade*. I do a lot of tweaks in 6 months and I just want to automate as much as possible from now on.   Slightly off-topic: the distribution upgrade mechanism has never worked without a hitch for me; I tried it going from 11.04 to 11.10 as well.
94781
What changes are needed to migrate scripts from the ArcGis 9.x environment/gp-object to the ArcGis 10/arcpy environment?   Can anyone provide a good overview what the changes are?   Can someone share pitfalls etc from their own experience?
11319
I just installed a new version of Ubuntu and I want to roll it back to the previous version.  How can I do that? Is that even possible?
104669
I have a feature that deploys content types, a list definition and template that uses these content types and finally a list instance. This feature is already in production.  Now we have a change request to add new views to this existing list. So I make the changes to schema.xml and upgrade the solution. But alas, the new views don't show up. If I create a new site, the list instance is created with the new views. I tried deactivating/reactivating, iisreset but still no success. Is there anything I'm missing?
94292
Since a couple of days now, i switched from a ubuntu machine to a macbook pro retina for my development works.  I installed XAMPP on it, without to much trouble. But I have been struggeling with drush for quite some time now, and I am hoping to find a little help here.  Drush partially works... I can download Drupal, download modules etc. I CANNOT enable the modules, perform sql-cli commands (however sql-connect DOES work?!).  The error i get is:  Command pm-enable needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command.                                           [error] The drush command 'en token' could not be executed.                                                                                                                                              [error] Drush was not able to start (bootstrap) the Drupal database.                                                                                                                                     [error] Hint: This may occur when Drush is trying to:  * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases` for details.  * connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See http://drupal.org/node/1428638 for details.  Drush was attempting to connect to:   Drupal version         :  7.28                                                                            Site URI               :  http:// default                                                                  Database driver        :  mysql                                                                           Database hostname      :  localhost                                                                       Database username      :  root                                                                            Database name          :  drupal_site                                                                        PHP executable         :  /usr/bin/php                                                                    PHP configuration      :  /Users/myusername/drush/php.ini /Users/myusername/drush/php.ini   PHP OS                 :  Darwin                                                                          Drush version          :  7.0-dev                                                                         Drush temp directory   :  /tmp                                                                            Drush configuration    :                                                                                  Drush alias files      :                                                                                  Drupal root            :  /Applications/XAMPP/htdocs/drupal_site                                             Site path              :  sites/default         Now I have been googling around for this for days and found numerous topics, stating all kinds of things (change your settings.php file to use 127.0.0.1 instead of localhost => did not work)  One thing i would like to add is that i discovered that my OS runs a different php version as the XAMPP instance?!  Ps: My drupal_site is fully functional! Just drush won't work with me.  Any help would be very much appreciated!  Best,
19240
Can any one help me out with the advantages,disadvantages of Changesets ,Force.com IDE(Eclipse),Migration tool.  Which tool is preferred.  Correct me if im wrong  Changes Sets :Track the history,profiles can be moved.  Eclipse :profiles,premission sets cannot be moved,Any changes done in sandox is updated in production whereas in changeset we need to select nd move in to production.  Any help very much appreciated.
106532
I'm using Features to create a feature called foo which tracks content types and views so they can be described in code, committed to my repository and eventually pushed into the staging and production servers.  Some modules (e.g , , ) create some views as part of their functionality. The problem is that I can't include those views into my foo feature. So for those specific views I have to repeat (by hand) any customization I did locally to the staging and production servers.  Any ideas?  What I've tried:  1) I tried manually adding the view name in the foo_features.info file:  features[views_view][] = admin_content_node   but when I do drush fu foo_features -y that line is removed and the .info file and the view definition is not being included in the foo_features.views_default.inc file.  2) I had a look into the database:  mysql&gt; select vid, id, display_title, display_plugin, position from views_display; +-----+----------+---------------+----------------+----------+ | vid | id       | display_title | display_plugin | position | +-----+----------+---------------+----------------+----------+ |   3 | default  | Master        | default        |        1 | |   3 | page     | Page          | page           |        2 | |  30 | block    | Block         | block          |        2 | ... |  46 | default  | Defaults      | default        |        1 | |  46 | system_1 | System        | system         |        2 | +-----+----------+---------------+----------------+----------+   That last row (vid: 46, display_plugin: system) seemed suspicious so I've changed (directly via SQL) system to page. I then did drush cc all and retried the process at [1] for including the view into the feature but without luck. I tried this because I thought that "system view displays" (whatever that means) cannot be included in features.
83130
I have an error in my Drupal 7 site when I try to install any module.   If I try the Install from a URL I get:     HTTP error 0 occurred when trying to fetch .      Unable to retrieve Drupal project from .   If I try Upload a module or theme archive to install I get:     An AJAX HTTP request terminated abnormally. Debugging information follows. Path: StatusText: ResponseText: ReadyState: 4   The error page shows me:     Notice: Undefined index: log in update_authorize_install_batch_finished() (line 235 of V:\www\site\modules\update\update.authorize.inc).   Warning: Invalid argument supplied for foreach() in update_authorize_install_batch_finished() (line 235 of V:\www\site\modules\update\update.authorize.inc).   Notice: Undefined index: log in update_authorize_install_batch_finished() (line 276 of V:\www\site\modules\update\update.authorize.inc).   Notice: Undefined index: tasks in update_authorize_install_batch_finished() (line 277 of V:\www\site\modules\update\update.authorize.inc).   Installation failed! See the log below for more information.   Any ideas on how I can troubleshoot this?
112177
I'm running an Ubuntu 18.04 server and was trying to disable every update and upgrade there is but am still not quite sure on what exactly to do. Ignoring the security aspect that comes with it, how do I disable automatic updates for Ubuntu 18.04, MySQL, Apache and PHP via command line?  As far as I know, MySQL Apache and PHP should not automatically update when I disable automatic updates / package list updating on Ubuntu, is that correct?  For Ubuntu, the only things I found were in /etc/apt/apt.conf.d/10periodic :  APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0";   which I would set to 0.   APT::Periodic::Update-Package-Lists "1"; set to 0 basically makes it impossible for any package / software e.g. MySQL Apache and PHP to update, right?  And in /etc/apt/apt.conf.d/50unattended-upgrades :  Unattended-Upgrade::Allowed-Origins {           "${distro_id}:${distro_codename}";           "${distro_id}:${distro_codename}-security";           "${distro_id}ESM:${distro_codename}"; //        "${distro_id}:${distro_codename}-updates"; //        "${distro_id}:${distro_codename}-proposed"; //        "${distro_id}:${distro_codename}-backports"; };   In there, I would just comment out line 2-4.  Anything else I would need to do or are all automatic updates / upgrades disabled after this?
59725
I am trying to revert my PHP version to 5.6 from 7 and though I removed PHP 7 and then installed PHP 5.6 I still seem to be running version 7.  Is there a simple method for moving through PHP versions where apache, phpMyAdmin and co are configured appropriately?  A simple way to change the current version of PHP on the fly and even site by site would be great.