Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [jaspercram] add my own pages

Quote Reply
Re: [jaspercram] add my own pages In reply to
Hi Jasper.

When you say "add your own templates" - do you mean add a new template set, or do you mean add a new template page within an existing template set?

Adding a new template set is pretty easy - just create a new subdirectory in the templates directory and add all the relevant template files in it.

Adding a new template page to an existing set that can be called via a particular url is a bit tougher, and involves some messing around with the perl modules (those .pm files). I'm pretty sure GForum and LinksSQL have the ability to add new "actions" (what you probably need to do) through the admin panel, but the current release of DBManSQL does not have that feature, which is why you'll need to work with the perl modules. Creating a new action isn't something I've done before (though I'm going to start soon), so I can't offer too much guidance. But I think you want to add a new subroutine to the Home.pm module. That appears to be the place where these different actions are dictated. If you follow the format of the other subroutines in Home.pm, you should be able to get a particular template to load pretty easily.

I plan on working on this a bit over the next few weeks, so please keep this thread alive if you run into trouble or have any success!

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
Subject Author Views Date
Thread add my own pages jaspercram 3680 Oct 9, 2002, 3:22 PM
Thread Re: [jaspercram] add my own pages
hennagaijin 3587 Oct 9, 2002, 3:47 PM
Post Re: [hennagaijin] add my own pages
hennagaijin 3588 Oct 9, 2002, 8:14 PM
Thread Re: [jaspercram] add my own pages
jaspercram 3579 Oct 14, 2002, 3:09 AM
Post Re: [jaspercram] add my own pages
jai 3522 Oct 17, 2002, 4:41 PM
Thread Re: [jaspercram] add my own pages
jai 3514 Oct 30, 2002, 9:23 PM
Post Re: [jai] add my own pages
jaspercram 3449 Nov 5, 2002, 8:16 AM