Re: [drupal-devel] reviews needed
How about "Custom URL:" but before the text field for input, the base URL is presented as a static text? This implies that what is to be input is the bit after the base URL.
I am not sure the current form API allows this, but it sounds good too. Regards, Kobus
On Tuesday 04 October 2005 08:44 am, Kobus Myburgh wrote:
How about "Custom URL:" but before the text field for input, the base URL is presented as a static text? This implies that what is to be input is the bit after the base URL.
I am not sure the current form API allows this, but it sounds good too.
That was suggested in this thread a month ago and got a few +1s, from myself included. I've not bothered writing a patch to do so because I don't think I can do it in the old forms API (someone correct me if I'm wrong) and the new forms API hasn't gone in yet (and I don't know if it can do it, either). That would solve the main usability problem right now, and it wouldn't even need to be translated. :-) (It wouldn't help marketing matters, but that's a separate issue.) If it can be done in the new forms API, I'd say wait for that to hit core then put the $base_url before the text box. It shouldn't take more than a moment, and I'm willing to do so myself if someone can give me a brief tutorial on the new forms API. :-) -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson
How about "Custom URL:" but before the text field for input, the base URL is presented as a static text? This implies that what is to be input is the bit after the base URL.
I am not sure the current form API allows this, but it sounds good too.
I don't also think it alows this... I don't know how to make this. Btw, I'm sorry Morbus, but I don't understand your complaint, the help below the field text made it pretty clear that you just need to add the final path doesn't it ? See : Specify an alternative path by which this data can be accessed. For example, enter mypages/about if you want a page to appear at http://192.168.0.180:8080/drupal_cvs/mypages/about. This is my help text... I perfectly agree that URL maybe a little inapropriate as it describe "full URL" but how many time CMS or people use "custom URL" ? Regards tostinni
participants (3)
-
Kobus Myburgh -
Larry Garfield -
Nicolas Tostin