Page 1 of 1

adding a new page to a template

Posted: April 21st, 2011, 3:31 pm
by exussum
Hi guys,

How can i add a new page to a template ?

Ive added the file to the templates folder but when i navigate there it shows a 404.

Is there anything else i need to do ?

Thanks

Re: adding a new page to a template

Posted: May 3rd, 2011, 2:08 pm
by shypike
Not much use, since the page needs to be addressed by the SABnzbd code.
There's no one-to-one correspondence between the URL and the template files.
What would your page do if the SABnzbd core knows nothing about it?

Re: adding a new page to a template

Posted: May 3rd, 2011, 3:07 pm
by exussum
Ahh, I should have grepped the source first, I see how they are declared.

Thanks for the reply