By kevintje on
Hi,
When i try to create a new menu item and enter the url in "path" field.
I notice there is a limit of 128 characters.
I have read a lot of posts on this but none of them tell me how i can change this.
i understand that i need to modfy the database but what values?
And what file do i need to edit to remove the limit from the path field.
Comments
are you trying to use the
are you trying to use the alias?
if so just use the node/## the alias will still be used.
Hi, I'm not sure what you
Hi,
I'm not sure what you mean with the alias, but i'm not trying to ling to an internal node.
I am trying to add an external link in the menu.
Regards
ah well - that does matter
ah well - that does matter then :-D
Did you try this patch?
http://drupal.org/node/288946 - near bottom.
Hi i have checked this, but
Hi i have checked this, but in order to apply this patch, do you needs access to a command line on the server?
I have no experience in applying patches.
Well - you can apply it
Well - you can apply it manually - which you may want to do if you are going to do it.
you would need ftp access - and the ability to modify your database tables (ex: phpmyadmin) because you are changing the varchar (character limit)
the files that need editing are listed and anywhere you see a - at the beginning of a line is one that is being removed + is one that is being added.
So for example
path.admin.inc
means change 128 to 255 - do this for each file.
as for the database part - assuming you have phpmyadmin.... open up phpmyadmin and fin the row labeled "url_alias" click the icon with the title text of "Structure"
you should now see 4 rows two of which are in need of a quick edit
"src" and "dst"
click the edit icon next to each and change the value of varchar from 128 to 255 save and done.
Hi , I have made all the
Hi ,
I have made all the changes as listed in the patch.
But still i can only enter 128 characters in the path field.
I already cleaned my cache from drupal just to make sure this wasn't causing an issue.
run update.
run update.
When i start the update i
When i start the update i says updating 0 from 0 and finishes the update without errors
But no effect on the 128 character field
I will apply the patch to a
I will apply the patch to a test site and let you know if there are any further steps.
As i had some other issue
As i had some other issue with the site i decided to reinstall drupal all over.
Before doing this i changed all the files as listed in the patch and started installation, but still the url/path field is limited to 128 chars
Yes, the patch didn't seem to
Yes, the patch didn't seem to work for my 6.x either - I will dig around some more - and If I spot something new I will post it here.
Thank you for all the time
Thank you for all the time you have put in this already, i will bookmark this page .
Menu path is a separate issue
There is a separate issue for menu paths. Take a look at #1237290: Menu path length is limited by the UI to 128 characters.