BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Suggestions / New Features
 is there a way to
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

dhochh
Starting Member

10 Posts

Posted - 10 Jul 2016 :  18:32:31  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
get the subset on subgenre to use conatains vs like?

JDommi
Administrator

Germany
4657 Posts

Posted - 10 Jul 2016 :  19:18:51  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thought around the corner... you think of filtering the grid by subgenre?
Sorry, but I don't really understand what you are talking about. Explain it better, please.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

dhochh
Starting Member

10 Posts

Posted - 10 Jul 2016 :  20:30:30  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
window.external.COLLECTION_SUBGENRECLICK('_MOVIE_SUBGENRE_')

above code in movie card creates a subset with like of the subgenre but if multiple subgenres exist for a movie it is not displayed...

i.e. if a movie A has action and classic as subgenre and i have movie b with subgenre action and i click on its action subgenre in the card (it executes above code, but gives "like" and it would be better if it were contains.
Go to Top of Page

JDommi
Administrator

Germany
4657 Posts

Posted - 10 Jul 2016 :  20:48:35  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, that this command works for subgenres, too, I didn't know until now.
One thing new that i have learned

_MOVIE_SUBGENRE_ contains the whole subgenre string. You can split/examine it by a javascript function. When you have a look at the movie_bigcover.htm you will see such a processing multiple times.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

JDommi
Administrator

Germany
4657 Posts

Posted - 28 Aug 2016 :  20:04:42  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Update on that.

I have found here a workaround: http://www.jqueryscript.net/demo/jQuery-Plugin-To-Select-Single-Word-Within-An-Element-GetWordByEvent/
You only havbe to download jquery.get-word-by-event.js and modify the card a little...
example:
<html>
<head>
	<title>GetWordByEvent jQuery plugin example</title>
</head>
<body>
    <blockquote id="click-text">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</blockquote>
	<script type="text/javascript" src="./GetWordByEvent jQuery plugin example_files/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="./GetWordByEvent jQuery plugin example_files/jquery.get-word-by-event.js"></script>
	<script type="text/javascript">
		// <![CDATA[
		$('#click-text').getWordByEvent('click', function(event, word) {
			alert(word);
		});
		// ]]>
	</script>
</body>
</html>


I will try to have a look tomorrow. Should not be very difficult to implement. Anyway the like instead of the contains is still a problem.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.09 sec. Powered By: Snitz Forums 2000 Version 3.4.07