User login

Disabling or moving node/add/[content-type] links from beneath "Add content" in the navigation menu also removes them from the Add content page (node/add)

Short story: Turn the navigation menu off on any site for which you are customizing the user experience, it is only going to cause you pain.

Seeing "You have not created any content types yet. Go to the content type creation page to add a new content type." when you know darn well you have content? And node/add/page, say, still works?

Is it a bug, a feature, or 'gee. huh' that moving a content add form out from under "Add content" in the navigation menu will also remove it from the node/add page?

Bug filed: Removing node/add/[content-type] link from beneath "Add content" in the navigation menu also removes it from the Add content page

i mean, move node/add/story from its place in the navigation menu and it disappears from the node/add page?

in Drupal 7. Finding no documentation. It's not too bad since you can't delete the "Add content" link. I'm going to go with calling it a hidden feature

Steps to reproduce:
go to any drupal 7 site, /admin/structure/menu/manage/navigation -- move both Article and Basic page (on a default install) out from under "Add content"
now visit node/add -- and it will tell you that you have no content types

now, just disable the node/add menu link that is parent to node/add/article etc, and then the page still works, which is good

IRC response: omfg why would you do that o_O :D

why should you try to change the menu structure

A: if someone wanted to group their content in the menu

ow I see

"Add serious content" - page, article. "Add silly content" - poll ;-)

i imagine it's a "you're weird if you do that, deal with it" issue at D7 at this point, because i don't think we'll be changing how system_admin_menu_block() works

Note: This was actually caused for me by a Drupal 7 dev/alpha upgrade through beta to release candidate, which left the Add content menu item stranded in the Manage menu rather than going with its Basic page, Article, etc. children to the revived Navigation menu.

Searched words: 
node/add

Comments

Just ran into this today. My

Just ran into this today. My workaround was to hide/disable "Add content" (but not the article/basic page content types underneath it) in Navigation. If you need the links to, for ex. node/add/article, just create a new menu item for it which you can then place wherever you want. Seems to be working.

Thank you!!

I read your comments and i fillaly (thank to you)found the f..g solution.
:)
I appreciate,
Chris

After enabling Views, a

After enabling Views, a message appears saying something for an offset 1 that is undefined in 519 line of view.module

Please help me!!
Drupal, without views, is not Drupal!!
Thank you
Chris

Blog Module is not stable

(Sorry for my poor English)

I' ve created a blog (in drupal 7).
Everything work fine (i think so) but when i press Reply gives me a fatal error:
..............................
Fatal error: Call to undefined function _comment_load() in C:\xampp\htdocs\www_anaptyxis\sites\all\modules\page_title\modules\comment.page_title.inc on line 46
..............................
about line 46:

// Is this a root comment or a child comment (top level or nested)...
(46)---> if (($pid = arg(3)) && $comment = _comment_load($pid)) {
// Reply to comment...
$types['comment'] = $comment;

Can you help me?
Thank you
Chris

I erased the _ before

I erased the _ before "comment"...!!

if (($pid = arg(3)) && $comment = _comment_load($pid)) {

like this!!

if (($pid = arg(3)) && $comment = comment_load($pid)) {

and it works!! am i right?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.