I've added a new field (number 8) to my category.def file called "Page". This is to include the page title when the category pages are built:
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x10', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 500, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 500, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', '40x10', 500, 0, '', ''],
Page => [8, 'alpha', 40, 75, 0, '', '']
);
When I then go ahead and put this new Page variable on the category.html template using:
<%Page%>
I get the error of Unkown Tag: Page on all of the category pages when rebuilding the index.
Is there something I am doing wrong here? Maybe I need to modify something else in addition to the category.def page to incorporate the new Page field?
Any help on insight on this would be much appreciated!
--Frank
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x10', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 500, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 500, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', '40x10', 500, 0, '', ''],
Page => [8, 'alpha', 40, 75, 0, '', '']
);
When I then go ahead and put this new Page variable on the category.html template using:
<%Page%>
I get the error of Unkown Tag: Page on all of the category pages when rebuilding the index.
Is there something I am doing wrong here? Maybe I need to modify something else in addition to the category.def page to incorporate the new Page field?
Any help on insight on this would be much appreciated!
--Frank