* GuruzLord Please how can I add search box to my blog?
2017-02-15 20:01 · (0)
* Graham * GuruzLord
Enable it in the settings it is off by default
show_searchbox="1" in the blog xt function
2017-02-15 21:56 · (0)
* GuruzLord * Graham that's what I did but it's not showing
2017-02-16 00:33
*
* Screenshot_2017-02-16-01-31-57.png · image/png · 62.27KB
· (0)
* Graham * GuruzLord I looked and the search code has been removed from your blog twig file in _xtgem_templates
2017-02-16 01:05 (edited 2017-02-16 01:13 by Graham ) · (0)
* GuruzLord * Graham is there any way you can give me the code?
2017-02-16 01:48 · (0)
* Graham * GuruzLord I have put the search code back in your twig
the block is {% block entries_list_searchbox %}
I made a copy first
2017-02-16 10:09 · (0)
* GuruzLord * Graham Thank you sir
2017-02-16 17:27 · (0)
* GuruzLord * GuruzLord Sir please help me edit the pagination of this filelist to NEXT Example at screenshot
<xt:filelist sort_type="updated" sort_dir="desc" folder="/Upload/Android/Apps" template="&lt;a href='/download?file=.file_name.&name=.file_name_parsed.&type=.file_mime.&size=.file_size.&ext=.file_type.&link=.file_url.&date=.file_date.&time=.file_time.'&gt;.file_name_parsed.&lt;/a&gt;&lt;b&gt; - &lt;/b&gt;" per_page="10" />
Copy code
2017-02-17 02:55
*
* Screenshot_2017-02-17-03-53-59.png · image/png · 59.18KB
(edited 2017-02-17 06:13 by GuruzLord ) · (0)
* Graham * GuruzLord custom pagination is a special xtscript function
this creates a basic prev/next pagination you just add it above the filelist function
you will need to set your own css classes to this
!--parser:xtscript-->
function paging_template $url;$page;$active_page;$total_pages; 
if $total_pages == 1
goto @end
endif
if $page == 1
print <div class="">
endif
if ($page+1) == $active_page
  print <a href="$url">&laquo; Prev</a>
elseif ($page-1) == $active_page 
  print <a href="$url">next &raquo;</a> 
endif
if $page==$total_pages
print </div>
endif
@end
endfunction
<!--/parser:xtscript-->

Copy code
2017-02-17 09:29 · (0)
* GuruzLord * Graham Sir please help me Edit this code.
I don't want to use Icon any more, I want to replace the Icon with div style I have tried ma best to do it by my self but its not working out
/* Forum Member Icons  By Redbullet Da Wapmaster
website: http://redbullet.xtgem.com
Email: bidexking2015@gmail.com
Contact: 08071389491 */
//member Icons
var icon = document.querySelectorAll("a[href*='/u/']");
for(i=0;i<icon.length;i++){
var lcon= document.createElement("img");
lcon.setAttribute("src", "/forum/icon/Mem.png"); lcon.setAttribute("class","icon");
icon[i].appendChild(lcon);}
//Remove Member Icons
var licon = document.querySelectorAll("a[href*='GuruzLord'] img.icon,a[href*='Cycwap'] img.icon,a[href*='Keyarn'] img.icon,a[href*='non'] img.icon,a[href*='non'] img.icon");
for(i=0;i<licon.length;i++){
licon[i].style.display="none";}
//Admin Icon
var Admn = document.querySelectorAll("a[href*='GuruzLord']");
for(i=0;i<Admn.length;i++){
var Adcn= document.createElement("img");
Adcn.setAttribute("src", "/forum/icon/lord_icon.png");
Adcn.setAttribute("class","admin");
Admn[i].appendChild(Adcn);}
//Mods Icon
var Mods = document.querySelectorAll("a[href*='Cycwap'],a[href*='non'],a[href*='Keyarn'],a[href*='non']");
for(i=0;i<Mods.length;i++){
var ModsIcon = document.createElement("img");
ModsIcon.setAttribute("src","/forum/icon/admins.png");
ModsIcon.setAttribute("class","Mods");
Mods[i].appendChild(ModsIcon);
}

Copy code
2017-03-17 10:49 · (0)

Online: Guests: 1