Page 1 of 3
Template for dynamic web page view version 1.2
Posted: 2008-12-17 07:55:08
by bonienl
This new version of the dynamic web page template includes the possibility to show 3D views of images. It uses the wonderful scripts of Christian Effenberger. I needed to adapt these scripts a little bit to make them work together with my own script.
At this moment 3D view works fine in Firefox but I can't get it to work in Internet Explorer. Therefore the default setting is 3D view off, but this can be easily enabled in the settings menu of the web page.
I have updated the layout files too to give a new look to the available layouts.
To address some of the questions asked in this forum I have added the possibility to display DVD region images. No input field is reserved for this so you need to assign one yourself (I use 'Resolution' for this). It is possible to display multiple regions by entering several values in the field separated by comma's.
The sorting direction is now remembered too, this means that upon a next visit both sorting column and direction are displayed as seen last time.
The flag images are more or less complete for all countries in the world, these images have all the same size and follow the ISO code naming. You might need to edit the flags.xml file to include any missing names for your collection.
An example of this new version can be viewed
here
And the zip file can be downloaded
here
Have fun!
BonieNL
Posted: 2008-12-17 19:10:20
by spiderman
Thanks for the update.
Also a big thanks for the option for seperated regioncode.
Posted: 2009-01-09 13:35:16
by biker72
Hi bonienl,
Used your earlier template on my other computer and was pleased with this great template.
On my laptop (Vista) the page hangs with the message "Loading movie database, please wait." In Explorer i get a java error:
'parent.footer.document' is leeg of geen object. (translated: parent.footer.document is empty or no object)
* Downloaded the latest template
* Tried to load the movies.xml file in both IE and FF, no errors except FF says there no linked stylesheet, but that shouldn't be a problem i guess
In Firefox same result but no java error visible.
Any idea what this can be?
Thanks in advance!
Posted: 2009-01-10 08:22:14
by bonienl
biker72 wrote:Any idea what this can be?
I guess the older version you were using was the one without frames and now you installed the latest version with frames. In this case clear the cache of your browser. This will force it to learn the variable content.
BonieNL
Posted: 2009-01-25 09:31:32
by Svampen
Can some one help me customize.. I want to use the collapsed view. How can I remove the rating, length, languages, subtitles and dates cells? And in the expanded view only leave synopsis and director and somehow make for example the synopsis clickable so you go to IMDB. No movie image. I deleted the useless stuff from the layout2.xml, but they still show up!
Thanks.
Posted: 2009-01-25 12:31:31
by spiderman
Svampen wrote:Can some one help me customize.. I want to use the collapsed view. How can I remove the rating, length, languages, subtitles and dates cells? And in the expanded view only leave synopsis and director and somehow make for example the synopsis clickable so you go to IMDB. No movie image. I deleted the useless stuff from the layout2.xml, but they still show up!
Thanks.
use the refresh button from your browser
Posted: 2009-01-25 14:11:40
by Svampen
Thanks for the reminder
I had all the time deleted cache from Opera, but the browser insisted on displaying the old version! Now I have it like I want, I even figured out to put after text style="" this: url="movie.getAttribute('URL')" title="'Goto external website'" to get the IMDB link!
I like this xml way of things..
about the guide images
Posted: 2009-02-04 12:47:41
by sureste
How I can eliminate the images that appear next to the icon of region? I refer to the image unknow.gif that I appear several times by film. Your template is very very nice and I am enchanted. Thank you very much.
an idea for a next version you can to fix the header row (rating,titles....) in order that it not Disappear when we scroll down the mouse. .
[/img]
Re: about the guide images
Posted: 2009-02-07 10:04:10
by bonienl
sureste wrote:How I can eliminate the images that appear next to the icon of region? I refer to the image unknow.gif that I appear several times by film. Your template is very very nice and I am enchanted. Thank you very much.
an idea for a next version you can to fix the header row (rating,titles....) in order that it not Disappear when we scroll down the mouse. .
[/img]
The "unknown.gif" image is used when no matching film rating is found. I guess you are not using film ratings at all (there is no default field within AMC for this), in that case you have to edit the layout files and remove the line which starts with:
<film src="movie.getAttribute(...
I have no immediate plans to create a fixed header row, but I'll keep this in mind (it is not a bad idea afterall)
Posted: 2009-04-18 18:41:34
by Blue84
Hi there,
I am pretty new to AMC, just trying to figure out how everything works and what you can do. Wanted to try your template because the sample page looks just awesome. But when I download the 1.2 version via the above given link (
http://www.bergware.com/amc/Template_v1 ... rgware.zip) I only get a .zip file containing four folders - flags, guide, images and themes. There are no .xml or .html files just those 4 folders. This can't be right, can it?
Posted: 2009-04-19 12:14:43
by bonienl
The four folders contain the necessary files. If they are empty then try to unzip the file with another program - such as winzip.
Posted: 2009-04-19 19:53:51
by Blue84
Well, I tried it with Winrar, Winzip and 7-Zip, always the same. Just 4 folders containing gif-images and 4 css files only. I found a link to the 1.1 version of your template a few threads below. No problems with this one. There I get the folders and everything else, like layout xml, html files etc.
Posted: 2009-04-20 20:47:31
by bonienl
Did you try to clear the cache of your browser and a new download of the file (size should be 284330 bytes)?
Posted: 2009-04-20 21:11:02
by bad4u
I did not try to setup the template itself, but I can confirm that the zip file from this topic only contains some folders with gif files, few jpg and 4 css files. File size is correct. If there should be other files inside, there probably something went wrong building the archive, I guess.
Posted: 2009-04-20 21:45:23
by bonienl
Not sure what has happened to the zip file, but some files went missing. Version 1.2 is restored again and complete.
Posted: 2009-04-26 20:04:32
by Blue84
Working, thanks for the fix - now I can enjoy 3D view
Posted: 2009-04-27 14:19:15
by erwalk
Hi,
I would like to change something in the thumbail view (layout 4), is it possible?
I'd like the informations about the film not to appear when the cursor is on the film but when I clic on it.
Can you help me plz? Thx
(I hope some one will understand my english...)
Posted: 2009-04-28 10:06:36
by bonienl
erwalk wrote:Hi,
I would like to change something in the thumbail view (layout 4), is it possible?
I'd like the informations about the film not to appear when the cursor is on the film but when I clic on it.
Can you help me plz? Thx
It is clear what you are looking for
I have made an update to the javascript file which you can download
here and unzip this to your export folder.
To activate the new click behaviour you must edit the
layout4.xml file and put the following
Code: Select all
<row thumbnails="true" click="true">
This will make the information only appear when you click on an image. The information will disappear when you click again or move your mouse away.
Remember that this behaviour you should not use in combination with a URL setting because it will open a web page in addition each time you click on the image.
Posted: 2009-04-28 12:09:26
by erwalk
Thx!
This morning, I found an over way to do what I want:
In the javascripts files I replaced the fonctions "onmouseover" by "onclick" and "onmouseout" by "onblur".
This way the information stay when I move the mouse and dissappear when I click somewhere else.
I also added the URL in the information window after "synopsis", so I still have the link to the external website.
Posted: 2009-04-30 11:15:00
by bonienl
erwalk wrote:Thx!
This morning, I found an over way to do what I want:
In the javascripts files I replaced the fonctions "onmouseover" by "onclick" and "onmouseout" by "onblur".
This way the information stay when I move the mouse and dissappear when I click somewhere else.
I also added the URL in the information window after "synopsis", so I still have the link to the external website.
Excellent idea
I have updated the script in such a way that tooltips appear dynamically or on a click of the mouse. In the latter case I moved the URL info to the title part, see the
updated example page and choose the 'thumbnail' view from the settings to see the new behaviour.
If you want this addition you can
download the updated zip file. This also contains the latest (adapted) scripts from Christian Effenberger for support of IE8.