Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Errors When labels activated

  • Mark Scholfield
  • Mark Scholfield's Avatar Topic Author
  • Offline
  • New Member
More
16 years 4 months ago #15957 by Mark Scholfield
Errors When labels activated was created by Mark Scholfield
I just purchased the pro version, and I love the utility, but I'v having an issue with one site showing the labels. If I include the labels txt file, the labels and images show just fine, but I get the following error for every image :-

Notice: Undefined variable: download_link in c:\domains\mydomain.com\wwwroot\plugins\content\jwsigpro.php on line 324

If I remove the labels.txt, these errors go away, but of course the labels don't show!

I am using Jommla 1.5.5 stable

Here is my labels file:-
bounce.jpg|Bounce
cricketground.jpg|Alfas Cricket Ground
cut.jpg|Cut Shot
defensive.jpg|Defensive Shot
drinks.jpg|Drinks Break
fielding.jpg|Fielding Practice
fielding2.jpg|Fielding Practice 2
fourruns.jpg|Four Runs
leoagain.jpg|Dave Field
leosayer.jpg|Leo Sayer?
markagain.jpg|Johnno
markjohnson.jpg|Marky
mattprior.jpg|Is that Matt Prior?
morewides.jpg|Wides
mudbath.jpg|Mud Bath
neededbreak.jpg|Tea
noakseyagain.jpg|Dave N
noaksey.jpg|Noaksey
pavilion.jpg|Alfaz Pavilion
readytopounce.jpg|Ready To Pounce
scoreboard.jpg|Scoreboard
skipperagain.jpg|Paul
skipperbowling.jpg|Paul bowling
spottheball2.jpg|Spot The Ball
spottheball.jpg|More Spot The Ball
steveagain.jpg|Steve M
stevebowling.jpg|Steve Bowling
superstar.jpg|Superstar
supporters.jpg|Supporters
thatsgonemiles.jpg|thats gone miles
tony2.jpg|Tony P
tony.jpg|Tony
wellbowled.jpg|Well Bowled
whome.jpg|Who Me?
wideball.jpg|Wide

Please help !

thanks

Please Log in or Create an account to join the conversation.

  • Mark Scholfield
  • Mark Scholfield's Avatar Topic Author
  • Offline
  • New Member
More
16 years 4 months ago #15958 by Mark Scholfield
Replied by Mark Scholfield on topic Re: Errors When labels activated
ok, fixed this by adding the following line to my jwsigpro.php file

$download_link = false;

This was on line 90 immediatelt AFTER the following line

$clickopen= $pluginParams->get('clickopen', 'Click to open image!');

I hope this helps others!!

cheers
Mark

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum