The "Landing Page" link appears twice on "Add content" page (node/add) after we updated the OA site to 7.x-2.43, see attachment. The first one (node/add/landing_page) actually loops back to the "Add content" page, the second one goes to node/add/panopoly-landing-page. How to eliminate the first "Landing Page" link?

CommentFileSizeAuthor
#1 addcontent.jpg105.64 KBJulius Z
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Julius Z’s picture

Title: Duplicate landing page links on add content » Duplicate landing page links on add content page
FileSize
105.64 KB
mpotter’s picture

Category: Bug report » Support request

What version were you running before? Did you run update.php (or drush updb), revert features, and clear cache as described in the update instructions?

Otherwise, it sounds like you have a duplicate content type with a different machine name. Landing Page is part of Panopoly rather than Open Atrium. I haven't seen this on any other sites so it must have been something done on your local site.

The one that points to node/add/panopoly-landing-page is the correct one. Looks in your Structure->Content Types for a duplicate with the landing-page machine name. If you can verify that you don't have any content using that content type then you can remove it.

hefox’s picture

Delete the duplicate menu link. the reason why it displays the node/add page at the "duplicate" link is that there isn't a menu router item for the node/add/landing-page item so it falls back to node/add (cause that's how the menu system works; check out node/add/gibberish, node/add/whatever-is-not-a-node-type).

The node/add menu is actually made from the menu system, it shows all the menu links "under" node/add (navigation menu I believe but could be wrong). It sounds like at one point someone made a landing-page node type then removed it, and the old menu link still remains for some reason (was customized perhaps?).

Julius Z’s picture

Fixed, thanks. Reset the duplicate Landing Page menu link in navigation menu, then it's gone.

hefox’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.