* Graham * Waplocus Nope
2016-07-17 23:36 · (0)
* Waplocus * Graham Bt i av 3 xtgem site and each of them with thier parked domain, only six result is alwayz appear on search of the parked domain bt all sub url 4 site.xtgem.com all appear on search engine...
2016-07-18 16:44 · (0)
* Waplocus * Waplocus I Hav 5 files all wit .txt ext e.g(A.txt, B.txt, C.txt e.t.c), all in 1 folder...
i want to make a random include, bt in this caze the random include to start wit C.txt hw can i du it using <xt:include file="/FOLDER/*.txt" /> thanks.
2016-07-20 23:26 (edited 2016-07-20 23:27 by Waplocus ) · (-1)
* Graham * Waplocus
<xt:include file="/FOLDER/C*.txt" />
You can also use a range or other regex (must have at least one * in the expression)
This will include files that start with B or C as long as it is not followed by an a
<xt:include file="/FOLDER/[B-C][^a]*.txt" />
Or if it is from a get variable set by a link or form
<xt:include file="/FOLDER/{_$var|default}*.txt" />
or a xtscript variable
<xt:include file="/FOLDER/{_$$var|default}*.txt" />
You can also mix them
This will include files that start with B or C as long as it is not followed by the value set in the variable
<xt:include file="/FOLDER/[B-C][^{_$var|default}]*.txt" />
2016-07-21 00:09 (edited 2016-07-21 00:43 by Graham ) · (0)
* Waplocus * Graham Plz The
<xt:include file="/FOLDER/C*.txt" />
Copy code
Does Nt Wrk...
2016-07-21 21:25 · (0)
* Waplocus * Waplocus It Only Include C.txt Without Any Random Include...
2016-07-21 21:25 · (0)
* Graham * Waplocus
Yes it does work
If you only have 1 file that starts with uppercase 'C' then it only has 1 file to choose from
here is my test using <xt:include file="/00inc/files/a*.txt" />
http://auldphart.yn.lt/00inc/test
It will only choose from my test files
abc1.txt
abc2.txt
abc3.txt
The folder has several other files that do not match a*.txt
2016-07-21 22:48 (edited 2016-07-21 22:49 by Graham ) · (0)
* Waplocus * Graham Please I Nid The Code 4 Jst The Comment Box that is attached to xt blog post.
2016-08-16 06:52 · (0)
* Graham * Waplocus You can slice the comments section off a blog post with xtscript or a custom twig file or just hide the rest with css but that requires that a blog post is open on the page
2016-08-16 07:54 · (0)
* Waplocus * Graham Can sum1 disable default forum search frm his forum?.
2016-09-01 12:11 (edited 2016-09-01 12:33 by Waplocus ) · (0)

Online: Guests: 1