Sign up here and you can log into the forum!

Tool to create HTML Pages using ThumbGen Sheets and Thumbs

Support forum for the great ThumbGen software

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby migube » Sat Apr 07, 2012 11:03 pm

Tx
started to play with the templates and found what u mean, I can add
/tmp/media/usb/USB2/movies/%MOVIENAME%

and the play command :) (have to find the play.php first can't find it now...)

ps: is there a way to Alphabetically sort all movies in the list ( & have a filter name option , where u can type any part of the moviename & it gets filtered :)

Might be nice to have a cover only view (alphabetic), with the filter at top, e.g.
http://3.bp.blogspot.com/-EnQBz6GQtM4/Ts9xwXOjicI/AAAAAAAAJfg/1cEK5OcZkMU/s1600/ipad-zappiti.jpg


tx
-----
WdTvLive - LG BD390 - Philips 47PFL8404h - Yamaha RXV-667 - DM7000 - Synology 107+ - HP Touchpad (Webos)
migube
Global Moderator
 
Posts: 163
Joined: Thu Apr 08, 2010 7:23 am

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby mh667 » Wed Apr 11, 2012 2:35 am

migube wrote:Tx
ps: is there a way to Alphabetically sort all movies in the list ( & have a filter name option , where u can type any part of the moviename & it gets filtered :)

tg2htm creates static "classic" html-pages. These run on differnt web-servers without problems. Even dynamic html can be created see http://tg2htm.mh667.bplaced.net/complex.nfo.demo.all.selections .
All results of the filters in this example are created by tg2htm before the page is started (pre caluculated results / html pages).

But ..... to create a real full flexible dynamic html ( e.g. type parts of the filename ..) a html server component managing this is needed (or the browser supports it .. like the find command) or an APP on your tablet may manage it.
It might get very complicated, but it is up to you. You can put any html statements in your tg2htm templates to satisfy your needs.
Perhaps some html-pro's in this forum have a solution for your problem ?

Might be nice to have a cover only view (alphabetic), with the filter at top, e.g.
http://3.bp.blogspot.com/-EnQBz6GQtM4/Ts9xwXOjicI/AAAAAAAAJfg/1cEK5OcZkMU/s1600/ipad-zappiti.jpg
tx

Without a filter this is no problem at all. It's pure html like
<!-- $TG2HTM_MOVIE_LOOP_START$ -->
<td><img src="%MOVIETHUMB%"></td>
<!-- $TG2HTM_MOVIE_LOOP_END$
Check the templates using Thumbs for more information.

By the way, tg2htm output is always sorted by the movie filename (numbers first ....).
mh667
WDTVer
 
Posts: 34
Joined: Sun Jul 31, 2011 3:03 am

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby jazz » Wed Apr 11, 2012 1:15 pm

What he needs is client side table sorting. It is posible, with jquery. Table has to have thead and caption tags also. It works amazing (meaning speed, cause java script can be very cpu demanding). Good thing is sorting is possible on every column. ;)

http://stackoverflow.com/questions/1442026/jquery-tablesorter-plugin-retain-alternative-row-colors
jazz
DLX'er
 
Posts: 138
Joined: Sun Apr 25, 2010 11:35 pm

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby mh667 » Fri Apr 13, 2012 2:20 am

New version of tg2htm available (see first page).
mh667
WDTVer
 
Posts: 34
Joined: Sun Jul 31, 2011 3:03 am

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby migube » Mon Apr 23, 2012 11:15 am

I love added new template "text.table.thumbs.sortable" :)
Based on this Idea,
found a nice script for the querying :)
http://www.javascriptkit.com/script/script2/tablefilter.shtml

Just needs:
in the head
<script src="files/tablefilter.js"></script>

give the table an ID, ex table1

in the body after the table
<script language="javascript" type="text/javascript">
setFilterGrid("table1");

Little bit more cleanup, but looks great :)

cheers !
-----
WdTvLive - LG BD390 - Philips 47PFL8404h - Yamaha RXV-667 - DM7000 - Synology 107+ - HP Touchpad (Webos)
migube
Global Moderator
 
Posts: 163
Joined: Thu Apr 08, 2010 7:23 am

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby mh667 » Mon Apr 23, 2012 11:55 pm

Good job migube :)

The script for querying really rocks :)
The guy who created it (Max Guglielmi) really knows how to use javascript :shock:
The best thing is, that the script can be used easily without too much adapation of your own html code .. and it is free .. thanks a lot Max Guglielmi ;) .
mh667
WDTVer
 
Posts: 34
Joined: Sun Jul 31, 2011 3:03 am

Re: Tool to create HTML Pages using ThumbGen Sheets and Thum   

Postby thumbgen » Fri May 25, 2012 12:47 am

Excellent tool, guys! Keep it going :ugeek:
Get ThumbGen!
If you like ThumbGen then buy me a coffee Image
User avatar
thumbgen
Developer
 
Posts: 1094
Joined: Mon Apr 05, 2010 10:04 pm

Previous

Return to ThumbGen

Who is online

Users browsing this forum: No registered users and 1 guest

cron