This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
$machform_path sometimes blank
Started 10 years ago by AustinWeb | 1 post |
-
How can we change $machform_path so it inserts the full path in every variable location?
Most of the time the form works great. But some changes on our server cause a path problem for MachForm.In some places $machform_path will populate part of the path in the rendered HTML
<link rel="stylesheet nofollow" type="text/css" href="{$machform_path}{$css_dir}view.css" media="all" />
<link rel="stylesheet" type="text/css" href="./data/form_22222/css/view.css" media="all" />
We need to change that so it is href="/machformdirectory/data/form_22222/cs/view.css"In other places it doesn't add anything to the path.
<script type="text/javascript" src="{$machform_path}js/jquery-ui/ui/jquery.effects.core.js"></script>
<script type="text/javascript" src="{$machform_path}view.js"></script>
-
<script type="text/javascript" src="js/jquery-ui/ui/jquery.effects.core.js"></script>
<script type="text/javascript" src="view.js"></script>Posted 10 years ago #
Reply
You must log in to post.