Mowi7
Please Graham or anyone how do you make page link like this
http://syntax.xtgem.com/manual/basics/default?func=assign
and use the ?func=anypage
please drop the tutorial if you know it
Graham
Mowi7 That particular site uses PHP so you cannot use the exact code
But it is basically very simple
The default page contains a set of include functions that use the variable 'func' to include other files into a basic framework you can do it with xt:includes like this
<div class="header"><xt:include file="/headers/{_$func|}" /></div>
<div class="main"><xt:include file="/main/{_$func|}" /></div>
<div class="footer"><xt:include file="/footers/{_$func|}" /></div>
The variable can actually have any name
Mowi7
Graham so how can make links to the pages?
Graham
Mowi7 the same way as in the link in your first post and the one in this post
You can also use html post and get forms
http://syntax.xtgem.com/manual/xtgem/default?func=get_variables
The include files have the same name as the value in the variables just in different folders
The values can also be read by xtscript
http://syntax.xtgem.com/manual/basics/default?func=get
Mowi7
Graham OK, what about that "show in textarea" script and when clicked it display "show as text"
Graham
Mowi7 http://syntax.xtgem.com/manual/basics/xtscripts/default?func=textarea_pre_switch
again it is slightly different to the actual script as that uses php but it has the same function
Mowi7
Graham thanks man, I saw something on my friends site but he refused to give me the trick, he upload files up to nine mb on his site I wonder if you have the trick/code/script
Graham
Mowi7 There are a few xtgem sites with larger upload limits mostly from old upgrades that are no longer available
I am unable to give out any size upgrades sorry
Mowi7
Graham ok, what about that source code, does it work with external link?
Graham
Mowi7 It is not a source code viewer
it just changes the containing html element from <pre> to <textarea> it will only work on xtgem as xtscript is xtgems own code system