position of product and category

nicarcola

Avatar: nicarcola

2008-02-18 19:50

I work with v1.4 loaded. In admin when you enter a new product or a new category you can give these items a position number. This nimber is now 3 positions long. How can I make this 6 positions long?

» Quick.Cart v1.x

noudshoorn@scarlet.nl

treewood (OpenSolution)

Avatar: treewood

2008-02-19 07:28

nicarcola - edit core/categories-admin.php, find and delete

$aForm['iPosition'] > 999


After edit templates/admin/categories_form.tpl, find and delete

,Array( "iPosition""int""999"null"<=" )

and change

<input type="text" name="iPosition" value="$aData[iPosition]" class="label" size="3" maxlength="3" />

to

<input type="text" name="iPosition" value="$aData[iPosition]" class="label" size="3" maxlength="6" />

nicarcola

Avatar: nicarcola

2008-02-19 13:30

Thanks very much.

noudshoorn@scarlet.nl

Back to top
about us | contact