* Vivo thanks all :D its work http://sharepedia.xtgem.com
2016-10-26 21:08 · (1)
* Mwebvendor * Graham Its interesting.. but i dont use filelist... in using xtblog..
2016-10-26 11:00 · (-1)
* Graham * Vivo in my script you add this
var $spc=call chr $val=32
var $linktext=call str_replace $subject=$linktext;$search=_;$replace=$spc

<!--parser:xtscript-->
/* INITIALIZE VARS */ 
var $path= <xt:url type="path" />/
var $offset=0
var $len=call strlen $val=$path
var $button_class= xt_button  xt_text small
var $button_style= padding:0 1px !important;margin:01px !important
/* HOME LINK*/
print <a href="/"><span class="$button_class" style="$button_style">home</span></a>
/* MAIN LOOP START*/
@loop
var $strt = call strpos $haystack=$path;$needle=/;$offset=$offset
var $end= call strpos $haystack=$path;$needle=/;$offset=($strt+1)
var $link=call substr $val=$path;$start=0;$length=$end
var $linktext=call substr $val=$path;$start=($strt+1);$length=($end-$strt-1)

var $spc=call chr $val=32
var $linktext=call str_replace $subject=$linktext;$search=_;$replace=$spc

/* EXIT IF INDEX FILE */
if $linktext == index 
goto @end
endif
/* LINKS */
print  <span class="$button_class" style="$button_style">&raquo;</span><a href="$link"><span class="$button_class" style="$button_style">$linktext</span></a>
/* MAIN LOOP END */
var $offset=($strt+1)
if  $end < ($len-1)
goto @loop
endif
/* END */
@end
<!--/parser:xtscript-->

Copy code
2016-10-26 08:48 (edited 2016-10-26 08:50 by Graham ) · (1)
* Vivo * aliefr Xtgem membet biasa kg supory php sob
2016-10-26 04:29 · (0)
* Vivo * Graham How to replace "_" to space " " ??


Home>blog>karena_because_selalu_usually
To
Home>blog>karena because selalu usually


Thanks for reply
2016-10-26 04:28 (edited 2016-10-26 04:29 by Vivo ) · (0)
* aliefr hay guys, aku mau tanya, cara membuat web xtgem berbasih php gmana yah
2016-07-28 18:31 · (0)
* Graham * pichu You can use
href="http://<xt:url type="domain" />"
to make the code generic for any xtgem site
That should also then work for parked domains as well
My version (without external script calls or 'index' links) http://ggnnww.yn.lt/path/to/page/
2016-05-13 10:06 (edited 2016-05-13 10:14 by Graham ) · (1)
* pichu * Mywapmaster edit YourSite.Com =>> Your Site
2016-05-12 13:05 · (0)
* Mywapmaster * pichu Richsnippet not valid :(
2016-05-12 03:45 · (0)
* Vivo * pichu Thanks :D
2016-04-10 04:40 · (0)

Online: Guests: 1