I've added new category fields in addition to the original fields, for demonstration purposes, I'll call them A, B, C, D, E, F
The DB file comes up with the correct data: A|B|C|D|E|F
But when I build the category pages my results return values:
A, B, C, D, E|F
It isn't recognizing the pipe seperation. I've tried adding more fields as a test and the results, no matter how many field I add are: A, B, C, D, E|F|G|H
Is there a field limit I'm missing? Any help would be greatly appreciated.
Here's my category.def:
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x3', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 75, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 75, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', 40, 75, 0, '', ''],
onehotitemid => [8, 'alpha', 20, 75, 0, '', ''],
onehotimg => [9, 'alpha', 40, 75, 0, '', ''],
twohotitemid => [10, 'alpha', 20, 75, 0, '', ''],
twohotimg => [11, 'alpha', 40, 75, 0, '', ''],
threehotitemid => [12, 'alpha', 20, 75, 0, '', ''],
threehotimg => [13, 'alpha', 40, 75, 0, '', ''],
fourhotitemid => [14, 'alpha', 20, 75, 0, '', ''],
fourhotimg => [15, 'alpha', 40, 75, 0, '', '']
);
The DB file comes up with the correct data: A|B|C|D|E|F
But when I build the category pages my results return values:
A, B, C, D, E|F
It isn't recognizing the pipe seperation. I've tried adding more fields as a test and the results, no matter how many field I add are: A, B, C, D, E|F|G|H
Is there a field limit I'm missing? Any help would be greatly appreciated.
Here's my category.def:
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x3', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 75, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 75, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', 40, 75, 0, '', ''],
onehotitemid => [8, 'alpha', 20, 75, 0, '', ''],
onehotimg => [9, 'alpha', 40, 75, 0, '', ''],
twohotitemid => [10, 'alpha', 20, 75, 0, '', ''],
twohotimg => [11, 'alpha', 40, 75, 0, '', ''],
threehotitemid => [12, 'alpha', 20, 75, 0, '', ''],
threehotimg => [13, 'alpha', 40, 75, 0, '', ''],
fourhotitemid => [14, 'alpha', 20, 75, 0, '', ''],
fourhotimg => [15, 'alpha', 40, 75, 0, '', '']
);