"Redirect to:" lenght hack

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
Mario
Posts: 2
Joined: Tue 5. Oct 2004, 09:11

"Redirect to:" lenght hack

Post by Mario »

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:

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>
Edit 'maxlenght="50"' to bigger :twisted: number that you need.

My problem was solved. :P
andib
Posts: 1
Joined: Wed 1. Dec 2004, 12:13

Post by andib »

thx ...
had this prob too :)

andib
Post Reply