Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] Links::SiteHTML::display() - valid syntax?

Quote Reply
Re: [Andy] Links::SiteHTML::display() - valid syntax? In reply to
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:

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 Frown

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!
Subject Author Views Date
Thread Links::SiteHTML::display() - valid syntax? Andy 2423 May 16, 2008, 6:16 AM
Post Re: [Andy] Links::SiteHTML::display() - valid syntax?
Andy 2313 May 16, 2008, 6:25 AM