Hi
1. First of all, you can change the default simple template to your needs, so that you don't have to change the header etc every time a page is created. If you still want to put the page content into the database, do the following: change the default simple template (pb_default_simple.html) to contain only
<%include include_my_header.html%>
<%page_content%>
<%include include_my_footer.html%>
Then you create a new column in the table called 'page_content', where you store the page content. A new template is created anyway for every page, but it will just contain the three lines, and it will be the same for every template. This sort of setup is also used by katabd, maybe he has some more tricks for you.
2. You can easily change this by modifying the file 'admin/Plugins/PageBuilder.pm'. Around line 30 you see the following code
Code:
sub init {
# -------------------------------------------------------------------
# initialize plugin variables
$PB_CFG = Links::Plugins->get_plugin_user_cfg('PageBuilder');
$PAGEBUILDER_FIELDS = { link => { filename => [qw/LinkID
builder_name/],
directory => [qw/LinkID Full_Name CategoryID/] },
category => { filename => [qw/CategoryID/],
..............
I have indicated the changes in red. Make sure the column is indeed unique, and that it only contains characters that are valid in a filename.
I hope that helps.
Ivan
-----
Iyengar Yoga Resources /
GT Plugins