PDA

View Full Version : Add a Template to Multiple Template Sets...


Chris M
08-29-2002, 06:28 PM
How would I achieve this?

Satan

NTLDR
08-29-2002, 07:38 PM
The simpliest way is to insert it into the database as part of the default template set (-1).

Chris M
08-29-2002, 07:42 PM
So I would change :

WHERE templatesetid='$templatesetid'
to
WHERE templatesetid='$templatesetid' AND templatesetid='-1'
??

Satan

g-force2k2
08-29-2002, 08:12 PM
INSERT INTO template VALUES (NULL, '[ title here ]', '[ template name here ]', '-1')

regards...

g-force2k2

Chris M
08-31-2002, 06:00 PM
Hmmm...

How would I incorporate that Query into the "Add Template" function?

Satan