Template for dynamic web page view version 4.0

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Subbat
Posts: 79
Joined: 2010-06-19 13:23:25
Contact:

Post by Subbat »

@parry : Thanks for my english...

It's your movies xml wich I want you uplooad... but without certainty


The previous soulsnake message reminds me of something... Have you change your amc version ? If right, maybe something has change in the xml database export ?
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Post by parry »

I've made no changes or updates in the time that this has happened.

I'll PM the XML now :)
Subbat
Posts: 79
Joined: 2010-06-19 13:23:25
Contact:

Post by Subbat »

Your xml works fine for me... Sorry, but I have no more idea...
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Post by parry »

Hmmm ok then, I'll try and figure it out.

I'm guessing it's not to do with the XML as it worked for you?

I re-downloaded the files and saved my XML and still get the issue.

You can see below that it tries to come up but contains no data.

Image
Image
Image
gigi1250
Posts: 10
Joined: 2008-05-12 16:25:58

Post by gigi1250 »

je me permets de mettre le lien de telechargement du template 4.0 ou le script movies.js a été modifié pour le rendre compatible avec le nouveau format de date de amc 4.1.1;
je peux maintenant faire un tri par date d'ajout;nickel
http://mickaelvanneufville.online.fr/AM ... _Bergware/[/url]
parry
Posts: 15
Joined: 2010-01-12 21:08:34

Post by parry »

I've figured out the problem with the dropdowns, for some reason the Password Bank Firefox extension disables them.

Also how would I flip the order when you select them to order by date?
spiderman
Posts: 51
Joined: 2008-08-14 17:58:38

Post by spiderman »

Can someone please modify this template so i can see information of the customfields.

thanks in advanced
logmarc
Posts: 1
Joined: 2012-04-12 19:13:38

Covers display size / taille d'affichage des jaquettes

Post by logmarc »

Hello,

Could someone be kind enough to tell me how to change displaying size of the covers. The default theme automatically squeeze / resize my 300x200 px pictures to 140*100 .
I took a look, trying to find how to modify the files, but I got lost in the process pretty quickly.

Thanking you in advance for you help.


Bonjour,

Quelqu'un aurait il l'obligence de m'indiquer comment modifier la taille d'affichage des jaquettes. Le theme originel écrase mes images ( 300x200 ), le format semble être par défaut 100*140 px ? J'ai jeter un oeil au fichiers pour voir si je pouvais modifier ce paramêtre, mais je suis dépassé.

En vous remerciant par avance pour votre aide

Sincerely, cordialement,

Marc
spiderman
Posts: 51
Joined: 2008-08-14 17:58:38

Re: Covers display size / taille d'affichage des jaquettes

Post by spiderman »

logmarc wrote:Hello,

Could someone be kind enough to tell me how to change displaying size of the covers. The default theme automatically squeeze / resize my 300x200 px pictures to 140*100 .
I took a look, trying to find how to modify the files, but I got lost in the process pretty quickly.

Thanking you in advance for you help.



Marc
in the layoutfile you can change the imagesize width: 300 height: 200
im2020
Posts: 11
Joined: 2006-08-15 14:05:20

Column widths question using (original) Bergware template

Post by im2020 »

Oops, I mistakenly added this as a new topic when I meant it be added to this thread. Sorry for any duplication. My question is .......

Depending on the length of the contents, the width of my Title column changes from page to page. It adjusts to the longest title in the 25 entries on that page. I find this disconcerting.

Is there an easy way in the layout1.xml to fix the width of the Title column to, say, 50 characters?

Thanks in advance for any help.

Ian
spiderman
Posts: 51
Joined: 2008-08-14 17:58:38

Re: Column widths question using (original) Bergware templat

Post by spiderman »

im2020 wrote:Oops, I mistakenly added this as a new topic when I meant it be added to this thread. Sorry for any duplication. My question is .......

Depending on the length of the contents, the width of my Title column changes from page to page. It adjusts to the longest title in the 25 entries on that page. I find this disconcerting.

Is there an easy way in the layout1.xml to fix the width of the Title column to, say, 50 characters?

Thanks in advance for any help.

Ian
yes in the field <cell title="title" width="50">
im2020
Posts: 11
Joined: 2006-08-15 14:05:20

Post by im2020 »

Thanks spiderman. I had tried that with no luck. Have just tried again, equally with no luck. Extract from layout1.xml shown below. Can you see what I'm doing wrong?

<cell title="Title" width="50" sortby="FormattedTitle" ident="true">
<text style="bold">merge(movie.getAttribute('OriginalTitle'),': ',movie.getAttribute('TranslatedTitle'))</text>
</cell>
im2020
Posts: 11
Joined: 2006-08-15 14:05:20

Post by im2020 »

Aha. Experimentation shows that I need to specify width="5000" to get what I want. This suggests the parameter is specified not in characters but in pts or pixels or something else.

Thanks again spiderman for getting me there.
im2020
Posts: 11
Joined: 2006-08-15 14:05:20

New Problem has emerged

Post by im2020 »

One step forward three steps back. Can anyone help?

While experimenting with layout1.xml as indicated above I've suddenly found that I can no longer run my Bergware template locally, with either IE or Firefox. It was working fine yesterday and earlier today but it now gets no further than the message "Please wait! Loading of movie database in progress ......"

It looks as if I've corrupted some part of my Windows 7 system's ability to process movies.xml and its associated scripts locally.

Everything works fine when it's up on the web and it works fine locally on my other computer but the template just won't load locally on my main computer, not even when I run a cleanly installed, unmodified version of the package.

Once again, thanks in advance for any ideas.l
spiderman
Posts: 51
Joined: 2008-08-14 17:58:38

Re: New Problem has emerged

Post by spiderman »

im2020 wrote:One step forward three steps back. Can anyone help?

While experimenting with layout1.xml as indicated above I've suddenly found that I can no longer run my Bergware template locally, with either IE or Firefox. It was working fine yesterday and earlier today but it now gets no further than the message "Please wait! Loading of movie database in progress ......"

It looks as if I've corrupted some part of my Windows 7 system's ability to process movies.xml and its associated scripts locally.

Everything works fine when it's up on the web and it works fine locally on my other computer but the template just won't load locally on my main computer, not even when I run a cleanly installed, unmodified version of the package.

Once again, thanks in advance for any ideas.l
sometimes clearing cache of the browser will help.
im2020
Posts: 11
Joined: 2006-08-15 14:05:20

Post by im2020 »

mmmmm - tried that, to no avail. Even reinstalled IE. All that, and the fact that the problem exists with Firefox as well, is what suggests the problem lies outside the browser. Thinks ..... thinks .....
strife
Posts: 2
Joined: 2012-12-02 09:20:50

Post by strife »

spiderman wrote:Can someone please modify this template so i can see information of the customfields.

thanks in advanced
I looked at the generated xml and the layout and the problem is the custom fields are not written to the Movie type during export.

The template reads attributes from the Movie object and won't find your custom field because it's in a subblock (where all custom fields go).

I don't know enough about javascript to fix, but hopefully someone can.

If there was an option in AMC to export custom fields as standard fields, that would be good.
dosser
Posts: 2
Joined: 2012-06-16 14:26:55

Post by dosser »

I tried Template for dynamic web page view version 4.0

on serveral PC & Webservers. No way to get it to work .

FF, Chrome , Safari ( on any system : WIN, MAC, ANDROID )
On all these system, the browser displays endless Message:
Please wait! Loding of movie database in progress

With FF on Windows 7 x64 and WIN-XP i get: ( on 3 PC's ond 2 Laptops )
No matching titles found

But with IE everything works fine.

Any hint and help welcome.
regards in advance.
mfournet
Posts: 3
Joined: 2013-02-18 14:13:30

Post by mfournet »

Bonjour,

Je voudrais savoir si il est possible d'interroger un champs personnaliser pour le chemin du fichier vidéo a lire.

J'ai essayé de modifier le fichier layout comme suit :

Code: Select all

<play url="CustomFields.getAttribute('path')" title="movie.getAttribute('FormattedTitle')" info="true"/>
Mais ca ne fonctionne pas hélas.

Cordialement
rod
Posts: 4
Joined: 2013-05-30 12:00:30

Post by rod »

Repost from incorrect new topic

I am trying to edit the datapath variable in index.html so that I can store my database files and template files on my NAS and view the html through any local device through wifi. Android tablet, android phone or Wii.

The original relative path works on the pc but not on anything else

I have tried using various paths but am not having any luck.
I have tried
file://///mybooklive/public/catalog/movieDB
file://mybooklive/public/catalog/movieDB
http://mybooklive/public/catalog/movieDB
\\mybooklive\public\catalog\movieDB

all with the servername "mybooklive" and with the IP address
I have also tried removing the line
if (datapath) datapath=datapath.addSlash();
from movies.js and adding the slash to the datapath variable
All I get is "Please Wait! Loading of movie database in progress"
Has anyone done this successfully?
Any ideas?

Thanks Rod
Post Reply