Waplocus
Waplocus With ref. to this page... syntax.xtgem.com/manual/basics/default?func=custom_paging&cpy=1#copy
Waplocus
Waplocus I Already Have De Below Selectors Name In One Of My Css File. Please graham i want u to replace or set it on how to work with The Xt pagination script.. thanks
#pagination_links {}
#pagination_links span { }
#pagination_links a { }
#pagination_links a:hover { }
Copy code
Graham
Waplocus All you need to do is add
id="pagination_links" to the pagination div element of the script
change
<div class="custom_paging"> to
<div id="pagination_links">
Waplocus
Graham Please Graham I Want To Get The Current Path name of a url. example
in
<xt:url type="path" /> the result is
/Themes/Desktop/Simply
Please how can i get the current path name which is
Simply... Thanks.
Waplocus
Waplocus Please Graham I Want U To Substitute The Below HTML Code For Filelist
<center>
<div class="Content">
<div align="center">
<div class="NBg">
<div id="NHead">
Name : bb coder
</div>
<div id="NBody">
<img src="/Websites/Images/PREVEWIMAGE.png" id="NPImg" />
Posible Description For The File.
</div>
<div align="right">
<a href="url for the file">
<xt:include file="/Websites/EXT/WebsitesReadMore" /></a>
</div>
</div>
</div>
</div>
</center>
Copy code
Lordeagle
Waplocus My filelist generator @
http://eaglenet.xtgem.com/wapmaster/xtfilelist can handle that, buh xt:include does not work in filelist buh can work somehow using xtscript
Graham
Waplocus If your filelist is assigned to a xtscript variable and then "printed" you can use xtinclude and most other xt:functions in the template because xtscript changes the parsing order
<!--parser:xtscript-->
var $list = <xt:filelist folder="" template="" filter="" per_page="" />
print $list
<!--/parser:xtscript-->
you need to give your description file the same name as the file without any extension
and the same goes for images
you can then use
<img src="/thumbs/.file_name_base..png" />
and
<xt:include file="/description/.file_name_base." />
in your template
The template MUST be all on 1 line or it will not work
it then has to be converted through htmlspecialchars before you can use it in the filelist
http://syntax.xtgem.com/manual/xtgem/default?func=xt_filelist#convert
Waplocus
Graham Please I Need The Filelist Pagination.