Youtubeplayer without message

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
mvandek2
Forum Members
Forum Members
Posts: 39
Joined: Wed Apr 28, 2010 8:48 pm

Youtubeplayer without message

Post by mvandek2 »

How can I achieve that in case of no video samples nothing will be shown?
Now I get the message "No items found".

It seems that it is not part of the templates.
Last edited by mvandek2 on Thu Aug 19, 2010 12:32 am, edited 1 time in total.
mvandek2
Forum Members
Forum Members
Posts: 39
Joined: Wed Apr 28, 2010 8:48 pm

Re: Youtubeplayer with message

Post by mvandek2 »

Anyone?
mw
Forum Members
Forum Members
Posts: 159
Joined: Mon Aug 25, 2008 8:38 pm

Re: Youtubeplayer without message

Post by mw »

It's supposed to be informative, part of the programming logic for error checking.
That being said if you wish to change the message then simply edit the language file.
if English then edit:  lang/en_US.php
change:
$lang["error_noitemfound"] = "No item found.";
to
$lang["error_noitemfound"] = "";
Last edited by mw on Thu Aug 19, 2010 2:12 am, edited 1 time in total.
mvandek2
Forum Members
Forum Members
Posts: 39
Joined: Wed Apr 28, 2010 8:48 pm

Re: Youtubeplayer without message

Post by mvandek2 »

Ok, thanks!
Post Reply

Return to “Modules/Add-Ons”