My New Template - Discontinued
My New Template - Discontinued
Well version 0.7 is my final offical release, but I decided to release what I'd done of 0.8 so far
0.8 = http://twink.orcon.net.nz/template0.8.rar
0.7 = http://twink.orcon.net.nz/template.zip
0.7 works with mozilla
0.8 might not work with mozilla , I never fully tested this, so likely to be very buggy (like the other ones werent )
At the moment I have no plans to work on this template further sorry
HISTORY
NEW IN 0.8
* Separated Javascript, HTML and Movies (Movies now in Movies.XML)
* Setting maxPerPage to 0 shows all movies in the category
* Ability to dynamically change layout (Choose Layout.xml in options)
* Shows sorted field (Small Triangle in Column Title)
* Buttons & InputText are now skinned (Thanks Willspo)
* Added Sorton field to Options in Layout.xml files (Original Sorting)
* Added Searchon field to Options in Layout.xml files (Fields that are searched on)
* Action Field in Layout.xml can hide/show multiple rows now (Layout2.xml does this)
* Popup Info using new popup action field in Layout.xml (Layout3.xml does this. Thanks to Willspo)
* Fixed the Quotation bug (By Using XML Movie Format)
* Fixed Groups with spaces in their name (ie New Zealand => New_Zealand)
* Fixed Column spans
* Fixed Sorting by numbers
* Fixed First Click Sort
* Fixed Click Text not Cell
* Character "|" is converted to <BR> (as AMC does opposite for saving to XML)
SO FAR
* Group by any field (With "(All)", "(None)" and "(Search)" support)
* Supports Multiple Categories/Groups for each movie
* Split into Pages of X Movies
* Options, Info and About Dialogs
* Sort on any field
* Expandable Info
* Search on any field
* CSS Themes/Styles
* Mozilla and Internet Explorer Support
* Ratings using 5 starts, each half star being 1/10 (Thanks to Bad Joker)
* Custom Layouts using the Layout.xml files
I have removed the code from these pages, please make sure you download my latest files instead
Template
OLD POST FOLLOWS, please read last post for latest news.
After a few requests of people that seemed to like my old template I decided to rewrite it. This is still being worked on (old one won't be anymore). The look is very similar to the old one, although the scripting beneath is very different (Thanks alot to Willspo, I used parts from his Scripts).
0.8 = http://twink.orcon.net.nz/template0.8.rar
0.7 = http://twink.orcon.net.nz/template.zip
0.7 works with mozilla
0.8 might not work with mozilla , I never fully tested this, so likely to be very buggy (like the other ones werent )
At the moment I have no plans to work on this template further sorry
HISTORY
NEW IN 0.8
* Separated Javascript, HTML and Movies (Movies now in Movies.XML)
* Setting maxPerPage to 0 shows all movies in the category
* Ability to dynamically change layout (Choose Layout.xml in options)
* Shows sorted field (Small Triangle in Column Title)
* Buttons & InputText are now skinned (Thanks Willspo)
* Added Sorton field to Options in Layout.xml files (Original Sorting)
* Added Searchon field to Options in Layout.xml files (Fields that are searched on)
* Action Field in Layout.xml can hide/show multiple rows now (Layout2.xml does this)
* Popup Info using new popup action field in Layout.xml (Layout3.xml does this. Thanks to Willspo)
* Fixed the Quotation bug (By Using XML Movie Format)
* Fixed Groups with spaces in their name (ie New Zealand => New_Zealand)
* Fixed Column spans
* Fixed Sorting by numbers
* Fixed First Click Sort
* Fixed Click Text not Cell
* Character "|" is converted to <BR> (as AMC does opposite for saving to XML)
SO FAR
* Group by any field (With "(All)", "(None)" and "(Search)" support)
* Supports Multiple Categories/Groups for each movie
* Split into Pages of X Movies
* Options, Info and About Dialogs
* Sort on any field
* Expandable Info
* Search on any field
* CSS Themes/Styles
* Mozilla and Internet Explorer Support
* Ratings using 5 starts, each half star being 1/10 (Thanks to Bad Joker)
* Custom Layouts using the Layout.xml files
I have removed the code from these pages, please make sure you download my latest files instead
Template
OLD POST FOLLOWS, please read last post for latest news.
After a few requests of people that seemed to like my old template I decided to rewrite it. This is still being worked on (old one won't be anymore). The look is very similar to the old one, although the scripting beneath is very different (Thanks alot to Willspo, I used parts from his Scripts).
Last edited by Twink on 2002-12-13 08:33:39, edited 3 times in total.
yeah, I know bout this bug. (thought I mentioned it)
if I changed it to " and Ant updates his program to use escape characters
like "=" (http://www.docnprof.com/character.html or http://kish.cc.il.us/faculty/dklick/cis119/html4.html bottom of page) i know this is a big ask, I just can't think of any other fix
if I changed it to " and Ant updates his program to use escape characters
like "=" (http://www.docnprof.com/character.html or http://kish.cc.il.us/faculty/dklick/cis119/html4.html bottom of page) i know this is a big ask, I just can't think of any other fix
Updated.
Added in this Update
I'm still adding things from first post.
Please feel free to suggest things.
Added in this Update
- Options Dialog
Changed some Layout stuff
Partial fix for ' bug
- Links are black background with white text when shouldn't be
Options Dialog isn't perfect
I'm still adding things from first post.
Please feel free to suggest things.
Last edited by Twink on 2002-11-01 03:48:32, edited 1 time in total.
ADDED
FIXED
small bug to do with multiple categories (ie movies categories that look like "ACTION / DRAMA / ROMANCE")
- Basic Sorting in Asceding/Descending Order (click Column Titles) WARNING don't click if you have alot of movies in the category it's rather slow.
Click on first row of info for any movie and it will expand (like my old template did) with Year, Director and Actors (Actors Disabled due to buggyness)
FIXED
small bug to do with multiple categories (ie movies categories that look like "ACTION / DRAMA / ROMANCE")
Last edited by Twink on 2002-11-01 03:49:19, edited 1 time in total.
ADDED/CHANGED
- Fixed a few Style Errors
Added "(None)" Groups
Renamed "All" group to "(All)" for sorting puposes
Now Sorts Groups
Changed how Groups and Group Types are made.
Modified a few things so external XML data source may be added in future edition (doesn't seem to support Movie.Attribute only Movie.getAttribute('Attribute'))
Last edited by Twink on 2002-11-01 03:51:13, edited 1 time in total.
mkay, here's a version where actors has been reenabled for you =).
Some stuff has been moved around again, I apologise if you can't find something I'm trying to find a good place to put things that can be customised.
Also has new Search support, most the time you can just type the title of the movie or partial title, (there does seem to be a bug in this thou). More Advanced searchs can be done using java regular expressions ( http://www.visibone.com/regular-expressions/ )
"E" Searchs for movies that contain E in Title or Description
"^Dog" Searchs for movies that start with Dog (^ = Starts with)
"ma$" Searchs for movies that end with ma ($ = Ends with)
"^Dogma$" = Starts with and ends with Dogma (ie full title)
see URL for better explanation
For those of you having the trouble with quotation marks ruining your fields, Ant's Find and Replace Script helps fixes this. I include it below with the neccessary changes to replace character " with ' but you'll have to set the Field variable for each field you wanna replace (I put the ones I ran it on in the comment above the line 'Field = fieldDescription;')
At the moment I'm trying to add multi-language support to it, so it doesn't have to be released in every language, although I haven't figured out a way to do this yet.
There may be some other small changes in this release, I can't think of anything worth mentioning.
PLEASE NOTE A BETTER REPLACE SCRIPT WAS RELEASED
Some stuff has been moved around again, I apologise if you can't find something I'm trying to find a good place to put things that can be customised.
Also has new Search support, most the time you can just type the title of the movie or partial title, (there does seem to be a bug in this thou). More Advanced searchs can be done using java regular expressions ( http://www.visibone.com/regular-expressions/ )
"E" Searchs for movies that contain E in Title or Description
"^Dog" Searchs for movies that start with Dog (^ = Starts with)
"ma$" Searchs for movies that end with ma ($ = Ends with)
"^Dogma$" = Starts with and ends with Dogma (ie full title)
see URL for better explanation
For those of you having the trouble with quotation marks ruining your fields, Ant's Find and Replace Script helps fixes this. I include it below with the neccessary changes to replace character " with ' but you'll have to set the Field variable for each field you wanna replace (I put the ones I ran it on in the comment above the line 'Field = fieldDescription;')
At the moment I'm trying to add multi-language support to it, so it doesn't have to be released in every language, although I haven't figured out a way to do this yet.
There may be some other small changes in this release, I can't think of anything worth mentioning.
PLEASE NOTE A BETTER REPLACE SCRIPT WAS RELEASED
Code: Select all
// SCRIPTING
// Find & Repace a value in a field
program FindReplace;
const
OldValue = '"';
NewValue = chr(39);
//fieldActors fieldDescription fieldComments
Field = fieldDescription;
WholeFieldOnly = False;
begin
if WholeFieldOnly then
begin
if GetField(Field) = OldValue then
SetField(Field, NewValue);
end else
begin
if Pos(OldValue, GetField(Field)) > 0 then
SetField(Field, StringReplace(GetField(Field), OldValue, NewValue));
end;
end.
Last edited by Twink on 2002-11-01 03:50:37, edited 1 time in total.
again great job!!
but i dont like one thing the comments... takes a little to much space for me but i love the search funtion!!!
also i'm getting some bugs with it...
some movies Format field says "undefined" when it is already defined and also some movies pictures are not showing up when but they do show in ANT???
great work!
but i dont like one thing the comments... takes a little to much space for me but i love the search funtion!!!
also i'm getting some bugs with it...
some movies Format field says "undefined" when it is already defined and also some movies pictures are not showing up when but they do show in ANT???
great work!