By nig on
I've just upgraded from D5.22 to D6.22. I couldn't put it off any longer.
In mysite/node/add I get /node/add/flexinode links, pointing to old flexinode content types that I replaced with CCK content types in D5 years ago. Eg /node/add/flexinode-2. In D5 this wasn't happening.
In D6 the proper CCK content types are also there, and they work fine, but punters will be confused as there are two links asking for eg "articles" - one works and one doesn't. The node/add/flexinode links don't work, of course.
Nothing odd shows up in /admin/content/types.
I did several runs of update.php from D5 to D6 - no difference.
Any idea how I can root out these old ghosts?
Thanks
Comments
still
still having problems with this. Confusing to punters.....
Any ideas what to do?
Thanks
Maybe "theme out" the links you don't want to see...
Removing the links in the themeing layer might be the simplest method to get rid of the confusion. It might require a bit of PHP and without seeing what's appearing it is hard to say how to resolve this particular situation, but my initial reaction is that this would be the easiest solution without "hacking core" or something. Turning off the display in CSS could be fairly easy and might not require even a bit of PHP. I'm afraid I don't have your "ghost links" to see what I'd do, but if you paste the generated code here (between "code" or "php" tags), maybe you'll get some more concrete ideas for a solution.
Hope that helps. :-)
See you at the Drupalcon!
Thanks for this suggestion.
Thanks for this suggestion. From the source code, below, I can't see a way of targetting a CSS class at the specific offenders.
As the code is all new code (I deleted all D5 code before replacing it with D6 code) then hacking core (even if I was able to commit such a sin) would be a waste of time, no?
I am thinking there must be some lingering reference to flexinode-1 and flexinode-2 in my MySql data somewhere. Is there any sense in this guess? If so, can I just delete it out of table somewhere?
Anyway, here's the page's source code - I hope that's what you meant.
Thanks
Nigel
I still can't sort this. Its
I still can't sort this. Its only started happening since upgrade to D6.
Here are the lines -
There are lots of lines saying
<li class="leaf">so I can't see how to specifically get rid of these two redundant ones.Thanks
Nigel