0

When I go to node/add. I see the message showing there is no content type: enter image description here But, when I go to admin/structure/types. I see three content types I have : enter image description here

What could that be the problem ?
I'm using Drupal 7.14.

  • what user are you logged in as? – Jimajamma Jul 26 '12 at 3:42
  • I logged in as administrator. – Sithu Jul 26 '12 at 4:04
  • Is this a new Drupal installation ? – B2F Jul 26 '12 at 4:23
  • It was ok with fresh installation and it was also ok after I have added a new content type. I could not catch when it happened. – Sithu Jul 26 '12 at 8:06
2

Try these.

1) You may have changed the Navigation block settings:(Administration -> Structure -> Blocks -> 'Navigation'). Configure the 'Navigation' block under 'Content types'.

2) Configure :structure>menus>navigation>listlinks (if you are using Bartik theme).

Reference: http://drupal.org/node/1166416, http://drupal.org/node/1094238

1

I found a fix here with the help of Mohini.

I needed only "Add Vehicle" link in the navigation menu. Thus, I added it with the path "node/add/vehicle". Then I disabled "Add content" and all of its sub-links (Article, Basic page and Vehicle).

Now, when I enabled the Vehicle sub-link (I didn't enable the "Add content" back, and I kept the "Add Vehicle" menu I created earlier), I was redirected to node/add/vehicle from node/add. This is exactly what I wanted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.