English > Scripts and Templates

Export template: HTML List (English + German)

<< < (25/37) > >>

svenne:
Ok, the error shown when switching tabs has nothing to do with the export template and I don't think it has an effect on it.
Try to reload the exported HTML page and see if there are errors in the error console (don't mind two or three warnings showing up). If there aro no additional errors the javascript part seems to work.

By the way, "Show newest 25 entries" would have no effect if "Date Added" (including the time stamp down to the second!) is the same for all exported database entries.
I changed the export templates now. With the new versions, even in this case, only 25 entries should be displayed. Try it. Can the list be trimmed down to 25 entries, now? Than at least the javascript does it's job. But the main problem (the javascript function still being not able to discriminate between newer and older entries) would persist. If you want to you might send me a PM with the exported list (for smaller size leave out the images folder) and I will try to identify the error.

arj0n:

--- Quote ---If you want to you might send me a PM with the exported list (for smaller size leave out the images folder) and I will try to identify the error.
--- End quote ---
Uploaded the result of the template that doesn't work with showing the 25 newest here.


--- Quote ---By the way, "Show newest 25 entries" would have no effect if "Date Added" (including the time stamp down to the second!) is the same for all exported database entries.
--- End quote ---
For most of the records the timestamp is the same except for the 'seconds' part of the timestamp.


--- Quote ---I changed the export templates now. With the new versions, even in this case, only 25 entries should be displayed. Try it. Can the list be trimmed down to 25 entries, now?
--- End quote ---
Yes, the new version does trim down indeed to 25 records being shown.

svenne:
Ok, got it! :)
The date's format seems to be dependent on system settings.  ::)  The template could only handle the format...
dd.mm.yyyy hh:mm:ss
...but not...
m/d/yyyy h:mm:ss [AM/PM]

Just saw that my templates also will not process the timestamp down to the second, but to the minute. But I think that should be sufficient.

So, here are the new versions. Hope it works fine now.

arj0n:

--- Quote from: svenne on February 29, 2012, 03:25:14 pm ---Ok, got it! :)
The date's format seems to be dependent on system settings.  ::)  The template could only handle the format...
dd.mm.yyyy hh:mm:ss
...but not...
m/d/yyyy h:mm:ss [AM/PM]

--- End quote ---
That's quick!
So the template now can handle 'multi date formats'?


--- Quote from: svenne on February 29, 2012, 03:25:14 pm ---Just saw that my templates also will not process the timestamp down to the second, but to the minute. But I think that should be sufficient.

--- End quote ---
Down to the minute will be enough indeed.


--- Quote from: svenne on February 29, 2012, 03:25:14 pm ---So, here are the new versions. Hope it works fine now.

--- End quote ---
Works like charm, THANX!

svenne:

--- Quote ---So the template now can handle 'multi date formats'?
--- End quote ---
No, only the two formats mentioned.
It is too difficult to determine wether the format is dd/mm/yyyy or mm/dd/yyyy...  :-\
I will see if there is a possibility to read out the system's settings or to get the date from PVD as seconds since 1970 or something like that...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version