MD's Glass template

Description: Feel free to ask here any questions about All My Movies software. Any suggestions are welcome
Moderators: Viki, Gus, datasource, Gemini, admins

MD
MD
Reputation: 0
With us: 15 years 2 months

Post #1by MD » Sat Aug 25, 2007 2:20 pm

Here is a preview (Wallpaper is not included):
Image Image
Some key Featurers are:
  • Easy to translate (because of the global stringtable)
  • Search option (Users can select in wich fields the search function works)
  • Instant search, just like Vista :roll:
  • Filter option (users can filter on almost any field)
  • Extended sort feature (up to 18 fields you can sort on)
  • Support for the Dutch Kijkwijzer system
  • Configuration for each user who visits your website
  • You can bookmark the list on a specific filter and movie
  • It's easy to replace the default wallpaper
Download: glass_(rc-3).zip
Changes:
  • Fixed some minor IE problems (Thanks to 'Cor')

[size=75]glass_(rc-2).zip
Changes:
  • Added aspect ratio
  • Added Studio to the search locations
  • Added Comments to the search locations
  • Added 3 more sort options
  • You can now filter on MPAA fields when Kijkwijzer is disabled
  • Some improvements on the Kijkwijzer code
  • Sort list now folows the moviecard order
  • Fixed the dropping search box on low resolutions
  • Fixed progress bar rating
  • Fixed the "text over cover" bug on low resolutions
  • Fixed sort on duration for numbers > 99
  • Fixed some undefined text in tooltips and filter buttons
  • Some small improvements in the code
glass_(rc-1).zip
Changes:
  • Added more space between the commens field and the actors
  • Added a preview message for AMM
  • Added some extra space before the moviedescription in Internet Explorer
  • Changed all files to UTF-8 (Unfortunately Javascript has some problems with displaying the correct characters)
  • Fixed ' ' in some description fields
  • Fixed 'new last update' every time you open the settings panel
  • Fixed wrong leged color in Internet Explorer
  • Fixed 2 more errormessages when exporting from AMM (This was a very difficult one)
  • Fixed 2 potential problems in the Resize routine
  • Fixed a layout issue in Internet Explorer
Glass_beta_301007.zip
Changes:
  • Fixed sort on date
  • Fixed '<br>' and '&quot;' in text
  • Disabled most error messages when you export from AMM
Glass_beta_060907.zip
Changes:
  • The template is now compatible with Internet Explorer 7
  • Newline characters are no longer ignored with descriptions and comments (Thanks to 'Thorondor' for finding this problem)
  • Fixed wrong info on clear filter link
  • Added 'Last update' message
  • Added copyright message :roll:
  • Lots of small changes
Glass_beta_290807.zip
Changes:
  • Fixed the missing htmlelement with resize - error
  • Fixed problem with single quotes in text (Thanks to 'Thorondor' for finding this problem)
  • Fixed a problem where some images where not exported
  • Created a hack which makes external javascript files possible
Glass_beta_250807.zip[/size]

Known problems
  • Glow effect doesn't work in Internet Explorer
    This template works on Internet Explorer 7, but is not 100% compatible

Code: Select all

I have spend a lot of time creating this template.
Please don't copy my work (the .png images) without my permission.
The code is free to use

If you have feedback for improvements, new errors, questions, etc. just post them in this topic :wink:
Last edited by MD on Sat Feb 16, 2008 2:05 pm, edited 13 times in total.

Jarl
Jarl
Reputation: 0
With us: 14 years 5 months

Post #2by Jarl » Sat Aug 25, 2007 3:46 pm

I do hope you will fix this one for IE aswell.
Just downloaded Firefox to watch it and it looks awsome.
http://www.jarl.gnr.gr/test2/test2.html

Johan

MD
MD
Reputation: 0
With us: 15 years 2 months

Post #3by MD » Sat Aug 25, 2007 6:11 pm

Jarl wrote:I do hope you will fix this one for IE aswell.
Just downloaded Firefox to watch it and it looks awsome.
http://www.jarl.gnr.gr/test2/test2.html

Johan
That what I intend to do :wink:


By the way, for the dutch guys who want to use the kijkwijzer system, it works like this (without the quotes):
  • For 16 add '16' to the MPAA field
  • For 12, add '12' to the MPAA field
  • For 9, add '9' to the MPAA field
  • For 6, add '6' to the MPAA field
  • For All ages, add 'AL' to the MPAA field
  • 'discriminatie' (discrimination)
  • 'drugs' or 'alcohol' (drugs and or alcohol)
  • 'angst' or 'eng' (scary)
  • 'geweld' (violence)
  • 'grof' or 'taal' (bad language)
  • 'sex' (sex)

Here are some examples:
"AL" results wil add the 'All Ages' icon
"6, geweld" will add the '6 years or older' and the 'violence' icons
"12, geweld, angst" will add the '12 years or older', the 'violence' and the 'scary' icons (see preview in my first post)

Thorondor
Thorondor
Reputation: 0
With us: 14 years 1 month

Post #4by Thorondor » Wed Aug 29, 2007 7:37 am

Hi

I've got a problem with your template. It doesn't work. I've got loads of runtime error messages when I preview your template in AMM. And when I open the exported file I get nothing. Click on the thumb to see what I get instead.
Image
This is by the way the same as the preview I get im AMM after several errors. None of the buttons work too. And yes I have javascript enable in Firefox.

List of messages (you're probably aware of these because you've said yourself "Known errors: error messages when exporting from AMM":

Line: 69
Error: Expected ';'

Line: 318
Error: 'HTMLTableElement' is undefined

Line: 1326
Error: Object expected

Line: 560
Error: 'settings' is null or not an object

MD
MD
Reputation: 0
With us: 15 years 2 months

Post #5by MD » Wed Aug 29, 2007 10:00 am

Thorondor wrote:Hi

I've got a problem with your template. It doesn't work. I've got loads of runtime error messages when I preview your template in AMM. And when I open the exported file I get nothing. Click on the thumb to see what I get instead.
Image
This is by the way the same as the preview I get im AMM after several errors. None of the buttons work too. And yes I have javascript enable in Firefox.

List of messages (you're probably aware of these because you've said yourself "Known errors: error messages when exporting from AMM":

Line: 69
Error: Expected ';'

Line: 318
Error: 'HTMLTableElement' is undefined

Line: 1326
Error: Object expected

Line: 560
Error: 'settings' is null or not an object

If you can send me the html file, I can see where it goes wrong.

Edit: Problem has been fixed in the newest version (see changelog)

danny_boy
danny_boy
Reputation: 0
With us: 14 years 1 month

Post #6by danny_boy » Thu Aug 30, 2007 11:39 am

amazing work on this nice looking template! still, for me, there are some unnecessary fields: movie number, movie id, scenario, media count, loan, media, resolution, audio info, subtitles... the template can be stripped? i noticed that removing fields from the template.html result in a blank page.
thanks for sharing your work with us! :D

Thorondor
Thorondor
Reputation: 0
With us: 14 years 1 month

Post #7by Thorondor » Thu Aug 30, 2007 12:46 pm

Thanks for your update. It works now.
However. I have now another problem. I have got a couple of series like Stargate and in AMM I have put all the episode names in the description. When your template parses the description it ignores all newline characters. Now all the descriptions are one big block of text.
But I have solved it. It took me some time, because I have never programmed in Java (I have experience in C++ and Pascal). Here's an updated code:

Code: Select all

   //description
   if ( Movie.strDescription.length > 0 && Movie.strDescription != "&nbsp;" ) {
      var myStringArray = Movie.strDescription.split("\n")
      for (var i = 0; i < myStringArray.length; i++ ) {
         objRow = objTBody.insertRow( objTBody.rows.length );
         objCell = objRow.insertCell(0);
         objCell.colSpan = 3;
         objTemp = objCell.insertChild("p");
         objTemp.insertText( myStringArray[i] );
      }   
   }

I don't know if others have this problem, but it would be nice to include this in your code just in case.

Thorondor
Thorondor
Reputation: 0
With us: 14 years 1 month

Post #8by Thorondor » Thu Aug 30, 2007 1:34 pm

danny_boy wrote:amazing work on this nice looking template! still, for me, there are some unnecessary fields: movie number, movie id, scenario, media count, loan, media, resolution, audio info, subtitles... the template can be stripped? i noticed that removing fields from the template.html result in a blank page.
thanks for sharing your work with us! :D


I think the solution for your problem isn't removing the fields, but replacing the fields with "". So "[amm:scenario]" becomes "".
I hope this helps.

Edit: You should probably also edit the header.html to remove the labels.

MD
MD
Reputation: 0
With us: 15 years 2 months

Post #9by MD » Thu Aug 30, 2007 6:38 pm

@danny_boy: you just have to replaces the tags in the template.html files with double quotes like Thorondor said.
Removing anything else won't be necessary because the template will detect unused fields and hide them :wink:
However you have to manually remove the those fields from the 'sort on' list.
Just open js_functions.png in a texteditor and go to line 1107 to find the 'sort on' list
Yes I know, its weird, but most of the javascript code in in that fake picture

@Thorondor: Nice work arround :idea:
I'll make sure that this will be fixed as soon as possible :wink:

MD
MD
Reputation: 0
With us: 15 years 2 months

Post #10by MD » Thu Sep 06, 2007 6:30 pm

I have just released a new beta :idea:
This one is also compatible with Internet Explorer 7

See first post for changelog.
Everyone, please tell me if you have problems, idea's and other feedback :P

Jarl
Jarl
Reputation: 0
With us: 14 years 5 months

Post #11by Jarl » Thu Sep 06, 2007 8:43 pm

When I generate a page with it there is a white glow over it.
You see that glow with IE but not with for example Firefox.

http://www.jarl.gnr.gr/test2/test2.html

sergiocos
sergiocos
Reputation: 0
With us: 15 years 2 months
Location: around the corner

Post #12by sergiocos » Thu Sep 06, 2007 9:11 pm

neat work... i'm hope you fix "sort by date" too, thanks!

MD
MD
Reputation: 0
With us: 15 years 2 months

Post #13by MD » Fri Sep 07, 2007 4:47 am

Jarl wrote:When I generate a page with it there is a white glow over it.
You see that glow with IE but not with for example Firefox.

http://www.jarl.gnr.gr/test2/test2.html

You meen it doesn't work on IE, but it does does work on Firefox.

The white glow does work on Firefox, but not on IE, on my pc.
Internet Explorer can't handle background images on table rows.
It's the only thing I wasn't been able to fox for IE.

Jarl
Jarl
Reputation: 0
With us: 14 years 5 months

Post #14by Jarl » Fri Sep 07, 2007 12:13 pm

Sorry for the misscommunication about the "glow".
It would be easyer to explain it in dutch but most of the forum members won't understand that.
So i guess it's a big step forward.
About the "glow", i'm sure you will fix that in time.

Johan

sergiocos
sergiocos
Reputation: 0
With us: 15 years 2 months
Location: around the corner

disable sort on load

Post #15by sergiocos » Fri Sep 07, 2007 9:43 pm

on your previous template you teached me how to disable sort on load... can i do that with this template? i tried to find the "disableSortOnLoad" option...


Return to “All My Movies”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest