Ok, I found a fix.
Lets say I have 2 tempalte sets -
luna
my_test
I want to load a template in my_test, using Links::SiteHTML::display, with:
Now, if I just have:
luna
my_test/test_page.html
..then I get this error about it not existing in the luna tempalte set - *even though I'm specifying the root*
However, if I put a blank page here:
my_test/test_page.html (with just nothing in)
..then it works fine - and it loads the tempalte in my_test/test_page.html
A bug I'm guessing?
Just thought I would post my findings, as it had me baffled for a bit
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Lets say I have 2 tempalte sets -
luna
my_test
I want to load a template in my_test, using Links::SiteHTML::display, with:
Code:
print Links::SiteHTML::display('test_page', { %$vars } , { root => "$CFG->{admin_root_path}/templates/my_test" } );Now, if I just have:
luna
my_test/test_page.html
..then I get this error about it not existing in the luna tempalte set - *even though I'm specifying the root*
However, if I put a blank page here:
my_test/test_page.html (with just nothing in)
..then it works fine - and it loads the tempalte in my_test/test_page.html
A bug I'm guessing?
Just thought I would post my findings, as it had me baffled for a bit
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!