Closed (fixed)
Project:
Context links
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 May 2007 at 13:03 UTC
Updated:
2 Aug 2007 at 13:27 UTC
Jump to comment: Most recent file
It would seem that the optional URL Template field is being considered as obligatory (see screenshot attached) - even when editing and saving the classes that come pre-installed.
Any ideas?
Thanks a mil.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | contextlinks-5.x-1.1-URL_template_validation.patch | 458 bytes | telcontar |
| ContextLinks.jpg | 42.33 KB | Doobyfrucan |
Comments
Comment #1
mh-1 commentedSame problem here: Entry of URL Template not optional but obligatory. Any help would be appreciated!
Comment #2
telcontar commentedReplace the folloing line in contextlinks.module:
if (!valid_url($template, TRUE) && !valid_url($template, FALSE)) {with
if ($template && !valid_url($template, TRUE) && !valid_url($template, FALSE)) {I believe that should do it.
You could also apply the attached, oh-so-trivial patch by placing it in the module's directory and run
patch < contextlinks-5.x-1.1-URL_template_validation.patch-- HTH, telcontar
Comment #3
Doobyfrucan commentedThanks. That patch is most appreciated.
Comment #4
jhriggs commentedThis is fixed in version 5.x-1.2. Thanks!
Comment #5
(not verified) commented