Page 3 of 5

Posted: 2002-11-01 09:20:59
by Guest
how does one use/run that script?. and does the " include in any text fields or just the names?, as i dont have them in the names but i have this problem

Posted: 2002-11-01 09:41:13
by Guest
i worked out how to use the script, but im still having the same trouble?

Posted: 2002-11-01 10:55:29
by Twink
Under Tools -> scripting select the script to run, and there should be a button called Movies, make sure all the movies are selected before you run it

Posted: 2002-11-01 11:01:28
by Guest
thankyou :grinking:

Posted: 2002-11-01 18:02:08
by watchout
Hey Twink..

What a wonderfull template u made right there.. Just had a little remark.. If I set the option to view 200 movies on 1 page then my browser almost stresses out.. Takes a pretty long while before it loads all of the movies..
I guess u already knew.. Anyway.. Keep it going! Great template.. :grinking:

Posted: 2002-11-02 00:04:45
by anton
hey ...

me again ...

found some glitch in the template ...

don't know about english letters, but I have many russian names, and when the name begins with big case letter and another movie with the same small case letter ... it puts both of them in the list .... like : "C c"

Posted: 2002-11-02 01:25:48
by Twink
Not quite the news I wanted to hear :hum: oh well. My question is why would a movie not start with a capital? Guess I'll make it case insensitive somehow.

Anyway, now for some good news. 0.7, I've done enuf on it to release it.

New Features/Changes
  • Rating is now 5 stars, with half star ratings too. (Thanks to Bad Joker)
    Moved dialogs to horozontal positions instead of vertical
    Mozilla support, seems to work for me anyway.
    LayoutX.xml files to help customize the layout (See below)
    Group by Country
The new layout1.xml, layout2.xml and layout3.xml demonstrate different looks you can have for the template, simply change the var xmllayout = "layout1.xml"; line to swap between the styles. These by no way are particuarly simple to make, but it's easier then editing the actual template. I tried making it similar to HTML. I'm sure if you play around with the 3 files you should be able to figure it out.

You may have to renamed the style-BookMark.gif files to style-Bookmark.gif (Change capital M to lower case m, due to unix filesystems) I forgot to do this is the release.

There's other things I did too, and prolly other things I forgot to add/fix. I'm planning on expanding the layoutxml files a bit more to allow more customization. However with these files added language support becomes nearly impossible, so I have no more plans for this at the moment, sorry.

anyway, it's at it's normal home http://twink.orcon.net.nz/template.zip I've also updated my sample list to the latest version ( http://twink.orcon.net.nz )

Twink

hmm nearly forgot, yes it is slow when you try display 200 movies on the page, I see no fix for this except me optimizing my scripts, which I don't think would change it alot (specially if the file is online, it takes longer to download the html then to display it)

Posted: 2002-11-02 01:58:25
by Bad Joker
there is a "bug" in the template with the stars

you left some of the old stars in there :)

maybe you correct that...

rest looks really fine :)

EDIT: why can't i open the movie details when i click in the title? using IE 6.0 SP1

Posted: 2002-11-02 02:53:52
by Twink
Bad Joker wrote:there is a "bug" in the template with the stars

you left some of the old stars in there :)

maybe you correct that...

rest looks really fine :)

EDIT: why can't i open the movie details when i click in the title? using IE 6.0 SP1
Whoops, yeah that's cos I used Ants Export thing and it over wrote some of the stars :angry: guess I might have to give them a different name to stop it happening in the future. (I uploaded corrected version)

I'm not sure why that movie details bug happened. You can open it still by clicking on the cell instead of the title. I guess it's to do with making Texts into URLs in the Layouts, must be a small bug in the code. Will fix that.

EDIT: It's to do with referencing the item that was clicked, Internet explorer treats the text in the cell as a different item from the Cell itself, this bug isn't in Mozilla (I think).

If anyone knows how to set the cursor in mozilla please tell me, I can't seem to do it.

NEXT VERSION:
Hoping to fix the sorting bug (Only sorts on first letter/number so 100 is deemed to be smaller then 99 as 1<9)
Details Button (make it more obvious you can expand info)
Show Sort (small arrows like in windows that shows what column its sorted on)
uh yeah

Posted: 2002-11-02 03:12:54
by Bad Joker
ok works fine for me now, maybe in the next version :)

Posted: 2002-11-02 12:48:28
by antp
Twink wrote:My question is why would a movie not start with a capital?
e.g. : http://us.imdb.com/Title?0120907

Your template looks really nice ! It's a very nice work, congratulations ;)

One comment : I would call this "Template from Twink (3)", since i will include the zip file with the program but keep the "old" template that only needed a single .html file (except if you prefer that I remove it, of course)

All these template become quite difficult to manage, with all these zipped files that people may not see if they do not go to the folder to see what's there :/ I should find a better solution. If somebody has something to suggest...

Posted: 2002-11-02 14:59:29
by Guest
Effectivement, ce template est superbe !
Par contre, impossible de customizer les layouts, afin de changer les catégories à utiliser; les champs "loués à", "format video" ne m'interessant pas...

Posted: 2002-11-02 16:48:38
by anton
hey,


thx for the new template :)

haven't tried it yet, but looked at ur list ... works fine in mozilla now :)

though, tried to group by countries ... and it looks a little ackward (in the list) ...

also, is there any way to make it autofit all movies starting with specific letter in one page, with other letter in other page and so on ?

thx:)

Posted: 2002-11-02 17:00:03
by anton
ok ... when I click on the title, in my list, I get an error (IE 6.0)


here's what it says:

Code: Select all

 //Show Hide Object
 function dToggle(x,y){
   if (y==-1&&document.getElementById(x).style.display==""||y==0)
     document.getElementById(x).style.display = "none";
   else document.getElementById(x).style.display = "";
 }
in line with the if , for the 4th char. it says "Object required" :/

Posted: 2002-11-02 17:41:44
by anton
well, I did my list :)

fairly easy to customize it :)

BUT ... my html is over 2mb :( ... it loads pretty slow locally ... I wonder how long it will load on-line : (((

r u sure there is no way to decrease this ...

like load each page separe or something ... ? :(

and here's what it becomes when I select Letters + Countries :(

Image


p.s. here's my list, if anybody cares to see how I customized it ... though I forgot about a pictures, and too lazy to re-upload it ;(

Here it is

be aware , it's 2 mb :(

Posted: 2002-11-02 22:46:09
by Twink
Anonymous wrote:Effectivement, ce template est superbe !
Par contre, impossible de customizer les layouts, afin de changer les catégories à utiliser; les champs "loués à", "format video" ne m'interessant pas...
Sorry I only speak english. Can anyone translate for me?
anton wrote: though, tried to group by countries ... and it looks a little ackward (in the list) ...
and here's what it becomes when I select Letters + Countries
I see what you mean, doesn't look so bad when I do it. Guess I'll seperate the different categories by putting them on different lines? (Countries on one line, Letters on another)

anton wrote: also, is there any way to make it autofit all movies starting with specific letter in one page, with other letter in other page and so on ?
Not yet, you could put the Num per page up, but that would make the (ALL) group take ages to load. I will add something in next release.


anton wrote: ok ... when I click on the title, in my list, I get an error (IE 6.0)
If you read further up, this bug was already mentioned by Bad Joker, you have to click on the cell not the text, as the text is considered a different object, this will be fixed with next release.
anton wrote: BUT ... my html is over 2mb ... it loads pretty slow locally ... I wonder how long it will load on-line : (((

r u sure there is no way to decrease this ...

like load each page separe or something ... ?
Like I said the actuall loading time is nothing compared to what it is when it's online, the main problem is it has to read in all the movies and make all the groups, which takes a while. Also making Tables dynamically isn't the fastest of tasks. I am still working on speed, I think this version is actually alittle slower then others, I will try do some optimizing for next version.
anton wrote: thx:)
:D

oh and I like your layout. post it here, and I will include it.

Ant, yeah Template (3) sounds fine. I will think about what you can do bout the zip files.

Posted: 2002-11-02 22:55:33
by antp
Twink wrote:
Anonymous wrote:Effectivement, ce template est superbe !
Par contre, impossible de customizer les layouts, afin de changer les catégories à utiliser; les champs "loués à", "format video" ne m'interessant pas...
Sorry I only speak english. Can anyone translate for me?
he was saying the the template is beautiful, and asked if it was possible to customize layout, to change used categories; the fields "loaned to" and "video format" do not interrest him

Posted: 2002-11-02 23:33:57
by Twink
by edting the layout1.xml file you can change it (or whatever layout file your currently using, makes more sense to call it a new name, so you don't accidently overwrite it with my new releases).

Bug found: Categories with a space in the ie "New Zealand" don't work =(, guess I'll fix that for next release

Posted: 2002-11-03 02:03:23
by anton
oh and I like your layout. post it here, and I will include it.
If you were talking about my layout , then here it is :)

http://www.rachitskiy.com/layout2.txt

I also added there pictures (in details) , and movie numbers :)

and at the end of movie template html I added between <movies>:
MediaType = "$$ITEM_TYPE"
Subtitles = "$$ITEM_SUBTITLES"
(if I remember right :) )

oh, and almost forgot, I had to change all colspans , to look right ...

is there any way to make that be able to change in the xml ... so that each time I wouldn't need to change number in colspans ?

Posted: 2002-11-03 02:13:13
by anton
oh yeah , forgot to mention ...

maybe somebody can try to port it to perl ...

b/c I guess, perl is a server side language (Right ? ) so first of all, user wouldn't need to download all those movies at once ...

secondly there wouldn't be used a power of user's computer (my TB 1.4 goes to 100% when trying to see that page) ....

and probably it's not that hard to convert all those functions to perl functions ?