Graham
admin_teGa Your 1st filelist on the page is using per_page="0"
This make all files appear on one page
and your xtscript is probably breaking the pagination
admin_teGa
Graham Why
Www.inshare.xtgem.com/ds.xt
filelist code is no paging him? And how do I make it?
Graham
admin_teGa type not language
time6=time5
;
ngay=(time2-time3)/(3600*24);
<script type="text/javascript">
var time=<xt id="countdown" format="seconds" from="now" to="01 jan 2016"/>;
time2=time-21600;
time3=time2%(3600*24);
time4=time3%3600;
time5=time4%60;
time6=time5;
ngay=(time2-time3)/(3600*24);
gio=(time3-time4)/3600;
phut=(time4-time5)/60;
if
(ngay<=0&&gio<=0&&phut<=0&&time5<=0)
{
document.write('<font color="red" size="30">HAPPY NEW YEAR 2014</font><br><b>Chúc mọi người một năm mới an khang thịnh vượng</b>');
}
else{
document.write('<b>Cònlại <font color="blue">'+ngay+'</font> ngày <font color="blue">'+gio+'</font> giờ <font color="blue">'+phut+'</font> phút <font color="blue">'+time5+'</font> giây nữa là tới<font color="red">TẾT 2014</font></b>');
}
</script>
Copy code
admin_teGa
Graham Help me, This is what is wrong?
<script language="text/javascript">
var time=<xt id="countdown" format="seconds" from="now" to="01 jan 2016"/>;
time2=time-21600;
time3=time2%(3600*24);
time4=time3%3600;
time5=time4%60;
time6=time5 ngay=(time2-time3)/(3600*24);
gio=(time3-time4)/3600;
phut=(time4-time5)/60;
if
(ngay<=0&&gio<=0&&phut<=0&&time5<=0)
{
document.write('<font color="red" size="30">HAPPY NEW YEAR 2014</font><br><b>Chúc mọi người một năm mới an khang thịnh vượng</b>');
}
else{
document.write('<b>Còn
lại <font color="blue">'+ngay+'</font> ngày <font color="blue">'+gio+'</font> giờ <font color="blue">'+phut+'</font> phút <font color="blue">'+time5+'</font> giây nữa là tới
<font color="red">TẾT 2014</font></b>');
}
</script>
Graham
rkumar29 Yes the way the script works is the description file must be in a folder named "descriptions"
and the file has the same name as the item but without any extension (ie no .html or .txt etc )
it can be a normal xtgem html page or a plain text file
the script extracts the content of the first <xt:text>...</xt:text> pair to use as the short description in the file list and the first image to use as the thumbnail image
the full description can contain more text blocks and more images
and these are displayed on the landing page
I think spaces in the file names cause problems so avoid them
the original is here
http://ggnnww.yn.lt/all_tricks_filelist
The script is a bit complex but I wanted to add nearly everything I could think of
rkumar29
Graham ok sir. So i need to make and folder name "descriptions" right?
Graham
rkumar29 it takes the image from the first image in the description it does not matter what it is called
rkumar29
rkumar29 everything is working fine else the video image preview. Otherwise it is an excellent piece of work. Thank you graham sir.