New Template
New Template
Hello!
I think my new template (xslt template) is finnished so i started a new topic (sorry Twink for messing up your thread before)
You can download the template from www.tegenaria.com/movieDB/xslt_template_3.zip
Requirements: PC and Internet Explorer 6 (IE 5 might work)
Features: sorting, filtering and searching and launch movies
!! Be sure to read the readme file before using it.
Screenshots:
Default html version
TV optimized version with play function
/w
I think my new template (xslt template) is finnished so i started a new topic (sorry Twink for messing up your thread before)
You can download the template from www.tegenaria.com/movieDB/xslt_template_3.zip
Requirements: PC and Internet Explorer 6 (IE 5 might work)
Features: sorting, filtering and searching and launch movies
!! Be sure to read the readme file before using it.
Screenshots:
Default html version
TV optimized version with play function
/w
Sure is it nice. I've changed some little things on your templete. Maybe there is an idea for you.
1.
<media> shows me a 'Yes' if I've seen this movie, or 'No' if not
The stars, I dont need, because thats not MY rating of the movie.
2.
If I search for an actor I want to see the table in an order by year. So I can see the first film of this actor... Also better by searching for movies like Star Trek or James Bond. So you can see the oldest movie on top and so on.
3.
So I can see on one view the number of the movie and I search for the film by the movie number in my movie rack.
4.
the infpviewtable is a little bit extended.
5. Now the style sheet:
Now I have a border on left and right. Also the title and genre-align is on left the align of the others is in centre. Oh, well terrible english. If you want I can make a screenshot. By that way: thx
1.
Code: Select all
<th><a href="javascript:sortBy('title')" class="tHead"><b>Titel</b></a></th>
<th width="200" nowrap="true"><a href="javascript:sortBy('category')" class="tHead"><b>Genre</b></a></th>
<th width="80"><a href="javascript:sortBy('media')" class="tHead"><b>gesehen</b></a></th>
<th width="80"><a href="javascript:sortBy('cdanzahl')" class="tHead"><b>CD Anzahl</b></a></th>
<th width="80"><a href="javascript:sortBy('year')" class="tHead"><b>Jahr</b></a></th>
The stars, I dont need, because thats not MY rating of the movie.
2.
Code: Select all
<xsl:when test="$search = 'true'">...
<xsl:sort select="*[name() = 'year']" order="{$sort_order}" data-type="{$sort_data_type}" />
3.
Code: Select all
<xsl:template match="movie" mode="normal_view">...
<xsl:number value="number"/>.
4.
Code: Select all
<td valign="top" class="infoViewTable">...
<p class="infoView">
<b>Nummer:</b> <xsl:value-of select="number" />
<br class="infoViewTable" />
<b>Genre:</b> <xsl:value-of select="category" />
<br class="infoViewTable" />
<b>gesamt:</b> <xsl:value-of select="filmegesamt" />
<br class="infoViewTable" />
<b>Jahr:</b> <xsl:value-of select="year" />
<br class="infoViewTable" />
<b>Länge:</b> <xsl:value-of select="length" /> min
<br class="infoViewTable" />
<b>Grösse:</b> <xsl:value-of select="bigness" /> MB
<br class="infoViewTable" />
<b>Regisseur:</b> <xsl:value-of select="director" />
</p><p class="infoView">
<b>Schauspieler:</b><br />
5. Now the style sheet:
Code: Select all
td.contentTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: center;
color: #333333;
cursor: hand;
}
td.titleTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
border-left: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: left;
color: #333333;
cursor: hand;
}
td.yearTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
border-right: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: center;
color: #333333;
cursor: hand;
}
td.genreTable {
font-family: Tahoma, Arial, Verdana;
font-size: 10px;
border-bottom: 1px solid light-gray;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 5px;
padding-right: 8px;
text-align: left;
color: #333333;
cursor: hand;
}
Thanks
Those are all good suggestions. I did not know what kind of columns people wanted so I started out with those I use. There is support to show hide some of them by addParam
Code: Select all
<script language="javaScript" src="default.js"></script>
<script language="javaScript">
addParam("show_country", "false"); // Dont show country column
</script>
/w
Wills buddy as i said before. You Da Man........it is sweet.
I am playing with it as we speek and will make my admendments as i need them. I will try for a few additions like a close main window button as the xml page can be a pain to close at times. And also see if i can maker it play from the hard drive.. Either way as i said...YOU DA MAN.
I am playing with it as we speek and will make my admendments as i need them. I will try for a few additions like a close main window button as the xml page can be a pain to close at times. And also see if i can maker it play from the hard drive.. Either way as i said...YOU DA MAN.
Woaw great template !!!
I like it a lot too !
Unfortunately, when I browse the page it goes very slowly. Can I do anything to make it load and browse more quickly ?
Thank you. Have a nice day.
Thank you "Guest" for your changes, these can all help us.
Yeah a screenshot would be appreciated befor changing everything
Thank you men, great community !
I like it a lot too !
Unfortunately, when I browse the page it goes very slowly. Can I do anything to make it load and browse more quickly ?
Thank you. Have a nice day.
Thank you "Guest" for your changes, these can all help us.
Yeah a screenshot would be appreciated befor changing everything
Thank you men, great community !
Strange
Strange
It should be pretty fast since it does'nt pre-load the image files. It runs smooth on my P3 600 with 120 movies.
But you can try to remove the fade effects in default.js:
And if you're running the tv version remove all filters in style_tv.css.
If that does'nt help you can try to download the latest XML parser from Microsoft. (Go to microsoft.com-->download-->search for xml parser). It might be faster.
/w
It should be pretty fast since it does'nt pre-load the image files. It runs smooth on my P3 600 with 120 movies.
But you can try to remove the fade effects in default.js:
Code: Select all
document.all.main.filters[0].apply();
document.all.main.filters[0].play();
If that does'nt help you can try to download the latest XML parser from Microsoft. (Go to microsoft.com-->download-->search for xml parser). It might be faster.
/w
Thank you for your answer.
I tried to do what you tell me but it isn't better.
When I deleted the two lines, it didn't change anything in the appearance and speed of movies.html
I also tried to download lastest xml parsers and nothing better.
I think it could be because of my 365 movies on the same page...
I'm running on a P3 650 - 392 Ram
Thank you for your help and template !!
I tried to do what you tell me but it isn't better.
When I deleted the two lines, it didn't change anything in the appearance and speed of movies.html
I also tried to download lastest xml parsers and nothing better.
I think it could be because of my 365 movies on the same page...
I'm running on a P3 650 - 392 Ram
Thank you for your help and template !!
Try this
Ok I have a new idea, replace all:
with:
in default.js. This works if you have the new parser installed. According to Microsoft 4.0 should be a lot faster than 3.0 but I don't know if it will help.
By the way how large is your movies.xml with 365 movies?
/w
Code: Select all
MSXML2.FreeThreadedDOMDocument.3.0
MSXML2.XSLTemplate.3.0
Code: Select all
MSXML2.FreeThreadedDOMDocument.4.0
MSXML2.XSLTemplate.4.0
By the way how large is your movies.xml with 365 movies?
/w
Try to remove the grey bar then (row 138 in transform.xml).
change:
to:
/w
change:
Code: Select all
<tr onmouseover="mouseOverTR(this)" onmouseout="mouseOutTR(this)" class="movieList">
Code: Select all
<tr class="movieList">
-
- Posts: 46
- Joined: 2002-12-14 19:24:59
Yes, I've seen the Javascript Hide function. But for me it's better to edit this in transform.xml because than there are less informations, which will be load. I've 769 movies in my database. With the images it's aver 70MB big. The movies.xml is 1.4MB big.
Okay here is the Screenshoot:
Sry for the bad quality.
Also I've upoaded the modified .xml and css.
http://www.chrisgideon.com/proggies/transform.zip
http://www.chrisgideon.com/proggies/style_default.zip
Willspo: If you have much time, it would be nice if you can look at my transform.xml. My problem I've described in the other Thread is not solved. In the end of transform.xml you can find "Graupelistiken" and there you can see a xml-command, which doesn't function. I don't know why . A short movies.xml you can find here:
http://www.chrisgideon.com/proggies/movieshort.zip
thx so much for your template. It's really great. Nearly perfect. It looks fantastic!
Okay here is the Screenshoot:
Sry for the bad quality.
Also I've upoaded the modified .xml and css.
http://www.chrisgideon.com/proggies/transform.zip
http://www.chrisgideon.com/proggies/style_default.zip
Willspo: If you have much time, it would be nice if you can look at my transform.xml. My problem I've described in the other Thread is not solved. In the end of transform.xml you can find "Graupelistiken" and there you can see a xml-command, which doesn't function. I don't know why . A short movies.xml you can find here:
http://www.chrisgideon.com/proggies/movieshort.zip
thx so much for your template. It's really great. Nearly perfect. It looks fantastic!
What does filmegesamt1 mean?
What does filmegesamt1 mean?
Is it one values for all movies or one for each?
/w
Is it one values for all movies or one for each?
/w
-
- Posts: 46
- Joined: 2002-12-14 19:24:59
Ok try to move it out of the movie node:
Change this:
to:
This involves putting the filmegesamt1 value outside the $$FOR_EACH
in your template.
/w
Change this:
Code: Select all
<movies>
<movie>
<filmegesamt1>769</filmegesamt1>
</movie>
</movies>
Code: Select all
<movies>
<filmegesamt1>769</filmegesamt1>
<movie>
...
</movie>
</movies>
in your template.
/w
-
- Posts: 46
- Joined: 2002-12-14 19:24:59
my list with this template: http://www.team-radar.net/user_files/accu/movie_list/
Sorry Twink, but you're template doesn't seem to be working on the internet
Thanx for this one!
Sorry Twink, but you're template doesn't seem to be working on the internet
Thanx for this one!
Willspo, I have a suggestion for you're template.
My movies.xml is +- 1MB, and it's very heavy to load on the internet.
But when you put only the information displayed on the main page in 1 file, and the rest of the information, in other files (1 file /movie), then it will be not so heavy to load.
If I had know xml I should have done it, but I can't
Greetings
My movies.xml is +- 1MB, and it's very heavy to load on the internet.
But when you put only the information displayed on the main page in 1 file, and the rest of the information, in other files (1 file /movie), then it will be not so heavy to load.
If I had know xml I should have done it, but I can't
Greetings