* Waplocus * Waplocus With ref. to this page... syntax.xtgem.com/manual/basics/default?func=custom_paging&cpy=1#copy
2016-11-12 00:33 · (0)
* 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
2016-11-12 00:42 (edited 2016-11-12 00:43 by Waplocus ) · (0)
* 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">
2016-11-12 08:43 (edited 2016-11-12 08:57 by Graham ) · (0)
* 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.
2016-11-20 20:48 (edited 2016-11-20 20:49 by Waplocus ) · (0)
* Graham * Waplocus
<!--parser:xtscript-->
var $path=<xt:url type="path">
var $pos = call strrpos $haystack=$path; $needle=/
var $name = call substr $val=$path; $start=($pos+1)
print $name
<!--/parser:xtscript-->

Copy code
2016-11-20 23:26 · (0)
* Waplocus * Graham Thanks
2016-11-22 04:20 · (0)
* 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
2016-11-22 04:27 (edited 2016-11-22 04:28 by Waplocus ) · (0)
* 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
2016-11-22 06:29 · (0)
* 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
2016-11-22 08:06 (edited 2016-11-22 08:27 by Graham ) · (0)
* Waplocus * Graham Please I Need The Filelist Pagination.
2016-11-22 22:26 · (0)

Online: Guests: 3