Gossamer Forum
Quote Reply
Using Links::language?
I've seen how to call a Links::language, but I don't know how to actually 'install' new language Tamples....how on earth is this done? I looked at PugDogs 'Bad_Link' plugin, and he uses it...but I couldn't for the life of me, see where he installed it!

Any help is much appreciated. BTW: I did look at the docs, but couldn't find any replated material under 'Links'.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Using Links::language? In reply to
Now if only I knew what "Tamples" were LaughLaugh
Quote Reply
Re: [Paul] Using Links::language? In reply to
Isnt that where you go to pray?


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Ian] Using Links::language? In reply to
Tamplates = Templates Crazy

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Using Links::language? In reply to
It was Tamples not Tamplates ;)

Code:
my $selected_dir = "$CFG->{admin_root_path}/templates/$CFG->{default_template_set}";
my $language = GT::Config->load("$selected_dir/language.txt", { create_ok => 0, inheritance => 1, local => 1, debug => $CFG->{debug_level}, header => <<HEADER });
# This file is auto-generated and contains a perl hash of your
# language variables for the '$selected_dir' template set.
# Generated: [localtime]
# vim:syn=perl:ts=4
HEADER

$language->{LANG_VAR} = 'La la la.';
$language->save();

That was from Yogi's Poll plugin.

Last edited by:

Paul: Aug 28, 2002, 9:47 AM
Quote Reply
Re: [Paul] Using Links::language? In reply to
Cheers...hopefully that will work...I'll try it in a minute...

EDIT: Never mind where you got it, I'm assuming you posted about it being from Yogi's poll plugin after I posted my thread Crazy

Cheers Smile

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

Last edited by:

Andy: Aug 28, 2002, 9:50 AM
Quote Reply
Re: [Andy] Using Links::language? In reply to
Mmm...that code comes up with;

Unable to load install file: Unable to load plugin Recip_Link Reason: Install.pm does not compile: Can't find string terminator " HEADER" anywhere before EOF at (eval 3) line 142.

Unsure Is that the exact code he used??

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Using Links::language? In reply to
Eugh, never mind...it was spewing up that error code I was missing the 'use GT::Config' part at the top of the script.

Thanks Smile

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Using Links::language? In reply to
I assume you have no spaces before HEADER and it is on a new line on its own?
Quote Reply
Re: [Paul] Using Links::language? In reply to
Nope..see above post Crazy

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Using Links::language? In reply to
Andy, if I understand correctly, you found the problem.
If not, let me know, and I help you with Links::language.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...