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

Products: Gossamer Links: Development, Plugins and Globals: Re: [tandat] create new variable of domain from URL: Edit Log

Here is the list of edits for this post
Re: [tandat] create new variable of domain from URL
I switched all the 'display_link' and 'display_link_pre' to 'form_link' and 'form_link_pre' in plugin.cfg and SimpleGlobal.pm and it was the same result when viewing the modify link page inside the admin area - the plugin works, no errors, but it shows a blank $domain value. Is there an alternative to this part of the code that would grab the current link's URL value some other way and place it between the brackets?

Code:
my $domain = remove_leading_http($link->{URL});


Do any of these have anything to do with it not working?
Perl version: 5.8.8
Gossamer Links version: 3.3.0
GT::Template version: 2.172
Running under mod_perl: No
Running under SpeedyCGI: No

Apache/2.2.14 (Unix)
mod_ssl/2.2.14
OpenSSL/0.9.8e-fips-rhel5
mod_bwlimited/1.4
PHP/5.3.1

Last edited by:

yo Huge: Mar 23, 2013, 11:49 PM

Edit Log: