-
- 135 Posts
hellow
i can i set up the following:
i have a template variable with input type ’URL’
in a new document you can see this template variable and i have 4 options: http:// https:// ftp:// mailto:
is it possible to have only one option or is it possible that de default value op this option menu is ’http://’
thanks
-
- 135 Posts
anyone understand my question?
or do i have to explain it better?
thanks
You can’t, at least not without hacking the core.
If you really must do it, see line 84 of the /manager/includes/tmplvars.inc.php file.
It might be better to just use a text input, then use a custom snippet to modify it, using the snippet call instead of the TV’s tags.
http://wiki.modxcms.com/index.php/Adding_TV_Widgets_without_hacking_the_core