* The_Netter
<form action="/???" method="post">
<input type="hidden" name="test" value="<xt:include file="/folder/* />" /><br/><input type="text" name="go" value="" size="5" />
<input type="submit" value="subMit" /> </form>

Copy code

its only displaying the submit button. What did I do wrong? Secondly the "input type="hidden" name="test" value="<xt:include file="/folder/* />" /> is it allowed in xtgem? Test at http://xt-wap.ml/files/test/
2015-01-08 10:54 (edited 2015-01-08 10:55 by The_Netter ) · (0)
* Graham * The_Netter For a start you are missing a " after * in the include and also you are trying to include the content of .jar and .apk files into a text field which just will not work
if you are trying to include the name or url of the .jar/.apk file into the text field you will need to have a folder of plain text files each holding the name/url of one of the .jar/.apk file and include from that folder
2015-01-08 11:51 (edited 2015-01-08 11:59 by Graham ) · (0)
* The_Netter * Graham Thanks. Corrected and its working now. But what if I want to include a link to these files?
2015-01-08 14:11 (edited 2015-01-08 14:13 by The_Netter ) · (0)
* Graham * The_Netter Then just use another include function in the link it will include the same text file.
Multiple random includes on one page include the same file unless you add another parameter/value pair before the file parameter.
ie :<xt:include file="/text/*" /><xt:include file="/text/*" />
Will include the same file twice.
<xt:include file="/text/*" /><xt:include x="1" file="/text/*" />
Will include different files.
The name of the parameter or its value do not matter
the same parameter name and value will include the same file on that page load.
2015-01-08 15:29 (edited 2015-01-08 22:31 by Graham ) · (1)

Online: Guests: 1