"Redirect to:" lenght hack
Posted: Wed 6. Oct 2004, 08:38
Hi!
I got a problem with "Redirect to:" line under "Admin>Site structure" section - the char lenght was not enought to store redirection string longer than 50 symbols.
Open "admin.structform.tmpl.php" under "include/inc_tmpl" and find string:
Edit 'maxlenght="50"' to bigger
number that you need.
My problem was solved.
I got a problem with "Redirect to:" line under "Admin>Site structure" section - the char lenght was not enought to store redirection string longer than 50 symbols.

Open "admin.structform.tmpl.php" under "include/inc_tmpl" and find string:
Code: Select all
<tr><td><input name="acat_redirect" type="text" id="acat_redirect" class="f11b" style="width: 450px" value="<?php echo html_specialchars($acat_redirect) ?>" size="50" maxlength="50"></td></tr>

My problem was solved.
