|
From: Mark S. <ma...@be...> - 2001-09-27 20:00:07
|
Chsris' response actually fixed it. I restarted Apache on the wrong machine after I added the new template.
On Thu, Sep 27, 2001 at 07:48:35AM -0400, shane wrote:
> >I try to make this call in my getprefs.pl file:
> >
> >slashDisplay('create', {
> > nickname => $nickname,
> > test => $test,
> > });
>
> Well, when you do that, aren't you calling the template
>
> name page section
> -----------------------------------------------
> create misc default
>
> and *that* template doesn't exist.
>
Actually, according to the documentation , if the script running is call foo.pl the slashDisplay will first look for the page foo, then if not found, it looks in misc. I had to restart Apache in order for it to find the right template.
Its working correctly now.
>
> From my experiences, the *easiest* way to deal with templates is the
> template-tool.
>
> to load the template into the system:
>
> template-tool -u bj -s bjplyrbankrupt;misc;default
>
> to dump the template to a file to edit it:
>
> template-tool -u bj -d -i 126
>
> I recommend you use that to work with your templates.
>
> Shane
This works, but while troubleshooting and coding, I wanted to be able to add stuff on the fly.
Thanks for all the help to everybody on the list that responded.
-Mark
> _______________________________________________
> Slashcode-general mailing list
> Sla...@li...
> https://lists.sourceforge.net/lists/listinfo/slashcode-general
|