By cristi1910 on
I have installed Drupal 6.1 and DHTML Menu version 6.x.
I made a new menu and I have tried to add new items but I received the following error: "The path 'node/x' is either invalid or you do not have access to it." (x is a number).
I must tell you that I was able to create the new menu and the first 2 items in it. For the menu, I wrote to the Path: node/1, for first item: node/2 and for second item: node/3. After that, I tried to add item 3 (with path: node/4) and I got that error.
If I put any other number instead of 4 I get the same error message.
Please let me know where my mistake. Please be explicit because these are my first steps in Drupal.
Thank you for your support!
Comments
Any solution for this
Were you able to figure out the problem with this, I am having the same issue. Thanks.
A solution
Hi,
I solved this problem, but I am nos shore about the good way because I have tried a lot of combinations.
First, go to administer -> site building -> modules and there enable the path module. Don't forghet to save configuration.
Now, go to create content -> page (story). On the page/story creation page you have a link "URL path settings". Click on it and you will be able to type the path to this new page (e.g. colors/blue). Don't forghet this link because you must remember when you will want to make a menu.
I hope that this will solve your problem.
I have 2 question for you:
You know how to instal a new language (translation)?
How to put on another page the login field?
Best regards,
cristi1910
Thanks for the help, it
Thanks for the help, it worked. Unfortunately I can't answer your other questions, I'm just starting to learn Drupal too.
..or
..or create block first:
Pages:
node/1
Sorry, ignore my reply
Yes it works
That worked for me too. Thnx
You have to add full path or use http:// as a placeholder
You have to add full path beginning with http:// if you want to add a link that is not inside Drupal system. If you need a placeholder, you can enter http://. Not sure about usefulness of this new link-checking feature.
Irina Zaks,
irina.zaks@iringweb.com
Irina Zaks,
irina.zaks@iringweb.com
Wow...
I was getting pretty frustrated trying to get Drupal 6.x to accept a menu entry for a "competing PHP product" on the same domain name. Full URL did the trick. I do not recall D5 being so persnickety, Thanks Irina!
Make content before menus. Just do it that way, sorry.
I'm not sure, but it sounds like a newbie mistake (that bit me the first time also)
DO NOT CREATE MENU ITEMS before the content!
Intuitively, it looks easier to start with a site map and fill in the content later. That's actually the worst thing to do. I'm consistently telling my clients/content managers to stop doing it. It hurts.
Make content.
Then place it in the sitemap.
Anything else hurts!
There are work-arounds, but they require DB-fu. I built one specially to handle wiki-style "This page does not exist yet - would you like to create it?" links. But it's a bad path.
Forego empty placeholders.
See node_import, with my path-menu patch for rapid CSV-based sitemap prototyping.
... If that's not your problem and you are describing some other symptom. sorry, ignore me.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Hi, I've got a problem to
Hi,
I've got a problem to link to the same page twice. For example I try to make an link entry in the normal menu and in a special menu for the same node.
I get the same error message like cristi1910.
Best regards,
Chris
It does not "hurt"
It does not "hurt" and this is either a bug or an oversight, IMHO. Prior to v6 you could create content and menus in any order you wished, and that provided maximum flexibility. People (especially clients) change their minds. Sometimes multiple times. The old system accommodated that. Unfortunately it seems the new system is more rigid in this regard.
-------------------------------------------
Interactive Worlds and Immersive Obsessions
http://www.asifproductions.com
-------------------------------------------
Interactive Worlds and Immersive Obsessions
http://www.asifproductions.com
I really agree with you. I
I really agree with you. I find that this is a major drawback for flexibility, with respect to previous versions of Drupal. However, this seems to me a deliberate choice: I'd be quite curious to see why it was made?
Are there workarounds? I'd really preferred to make the menu first, and THEN make (or let someone else make) the referred, non-existing nodes, just like wikipedia...
There's a big hoopla
going on about this over in the core issue cue.
http://drupal.org/node/308263
Still haven't figured out why they made the system more rigid however...
Mike
Civicsolar
http://www.civicsolar.com
hasnt anybody hacked the
hasnt anybody hacked the validation lines out yet?
search engine friendly url
http://dentalloupes.cn http://dentalloupe.cn
how to let the system create the url automatically?
You are posting in the wrong
You are posting in the wrong thread, but you want pathauto.module
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Funny, I just ran into the
Funny, I just ran into the same thing - no fun at all.
You have to type in your content (story, page, whatever). Then, go create the menu item. And then go back to the content and rejig the menu link title, the parent item and the weight. It looks like sometimes the menu item data gets messed up. Yeah I hear ya, its a pain in the behind navigating back and forth between panels.
A suggestion to Drupal core developers:
In the create content screen, why not have a screen pop up that allows the user to create, edit, delete, the menu item? Use AJAX to pull this off. Maybe model this sort of behavior on a website I use - projectplaylist.org. They have a good interface for adding, editing, removing, creating music items. The same sort of idea can apply for menu items. At least this way we can eliminate bouncing back and forth between screens and having to remember things.
Kerry Kobashi
when adding content, you can pop it into the menu at the same ti
there is a menu option in the interface for adding content, there is no need to go elsewhere to do so. just select what words you want to appear in the menu link and what menu to put it in and its weight and hey presto, it appears.
I'm running into this same
I'm running into this same issue, but the solutions mentioned so far in this thread do not appear to solve it in my case. The page I'm linking to already exists, and I'm using a relative URL which I'm sure is correct, and I'm logged in as User 1. Any further thoughts?
Yea my thoughts are the
Yea my thoughts are the developers are all drunk
:(
(same problem, trying to link to a relative, static file)
Not Dynamic Content Friendly
I have to agree that the best way to add node menu links is through create content rather than adding them manually.
We still need the option, however, to add items here...for instance, I have a view that is passed an argument, and I wanted to hand encode the url+argument into the menu system. Now, I can't do this without including the full path starting with http://, which hurts my pride.
In most cases this wouldn't be a big problem b/c you wouldn't want to manually add arguments to the menu system, but I only have three arguments... this way I only need one View instead of 3 (which would be silly)... this block isn't necessary.
EDIT
I was building this on a development server in which the view wasn't set to accept an argument. When I set the view to accept an argument, I was able to add the relative view path + argument to the menu system.
It looks like someone posted
It looks like someone posted a hack to disable menu validation over at:
http://drupal.org/node/308263
looks like it's just one line change? Seems to work on my end.
Newbie here as well.
I just ran into this issue trying to create a menu item for /node/#. It was actually really easy to fix, just make the link to node/#, without the preceding slash.
You may have changed the language
This is an old post, but my solution may be relevant to others as well.
I had changed the site language - and discovered that the article-aliases were all still assigned to English - the original language.
Enter "site building" -> "url aliases" and check what language your alias uses.
Hopefully this helps.
thx
glad you shared, had a similar problem and this info was helpful
Same issue in D7, couple years later
I have a brand-new install of D7 where I'm simply trying to change the Menu link title from My Blog to anything else. That results in "The path 'blog/%' is either invalid or you do not have access to it." In fact this occurs just clicking Save from Home » Administration » Structure » Menus » Edit menu link, without making any changes at all.
Same issue here.
I just used the full http://domain.com/blog to the blog until I have more time to look into it.
I run into this when I try to
I run into this when I try to put a / in front of the path like a command line. Instead, don't use the / because it is implied.
In other words, if you want a menu to link to http://yoursite.com/freetrial
DON'T put /freetrial
Put freetrial
I hope that helps.
--Ben Finklea, CEO
Volacci