Hướng dẫn rebuild Drupal 7 administration menu

Hướng dẫn rebuild Drupal 7 administration menu

Sometimes it happens your Drupal 7 administration menu gets scrambled. This may be caused by some nasty modules, or like in my case it was inherited from MySQL crash in Drupal 6 version of a site.

Of course you can use Devel module which has a menu rebuild link in its block. But if you don't have Devel module installed, don't worry, it is easy and safe enough to fix menu manually in Drupal 7:

  • Delete you current links via SQL DELETE FROM menu_links WHERE menu_name='management'.
  • Clear all caches at Administration > Configuration > Development (or just: http://example.com/admin/config/development/performance if your menu is ruined at this point). Drush users can of curse use drush cc allor even drush cc menu

The consequences: your administration (management) menu is reset to defaults. If you had any custom links attached to it (or menus created in views, etc.), they were moved to navigation menu now.

Bạn thấy bài viết này như thế nào?: 
Average: 5 (1 vote)
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Bình luận (0)

 

Add Comment

Filtered HTML

  • Các địa chỉ web và email sẽ tự động được chuyển sang dạng liên kết.
  • Các thẻ HTML được chấp nhận: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Tự động ngắt dòng và đoạn văn.

Plain text

  • No HTML tags allowed.
  • Các địa chỉ web và email sẽ tự động được chuyển sang dạng liên kết.
  • Tự động ngắt dòng và đoạn văn.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Cần Emotional Intelligence để Development tốt hơn trong Drupal 7

Cần Emotional Intelligence để Development tốt hơn trong Drupal 7

I am unabashedly an engineer. I obsess over the pursuit of finding the most efficient solution to any problem.

5 điểm cần chú ý để Content Migration trong Drupal 7

5 điểm cần chú ý để Content Migration trong Drupal 7

This past fall I undertook my first content migration effort. This was to migrate an existing site from Expression Engine to Drupal 7. I immediately began looking at the Migrate module to learn it's use and here are some lessons I learned along the way.

The State of Drupal: Building the Future

Theo dòng thời gian xây dựng CMS Drupal

Has it been six years already? I'm astounded. Drupal in 2004 was really really really different. 

Công ty diệt chuột T&C

 

Diet con trung