XtGem Forum catalog
Welcome to SamzyNet
SamzyNet Logo
time10:33 pm28/03/2024
SamzyNet Forum
* Chylin hello please hw did u list ur blog in different category in homepage
2017-11-24 06:54 · (0)
* SamzySamuel * Chylin It was listed with xtgem FileList
2017-11-24 07:03 · (0)
* Chylin * SamzySamuel oya drop d code nd how to do it
2017-11-24 19:44 · (0)
* SamzySamuel * Chylin First, Create different folders for your blog. i.e for Sports you have to create a folder named "Sports", for News you also have to create a folder named "News". After creating the folders reply me for the codes.
2017-11-24 20:39 (edited 2017-11-25 00:45 by SamzySamuel ) · (0)
* Chylin * SamzySamuel i have create the pages
2017-11-24 21:25 · (0)
* SamzySamuel * Chylin Also create a folder and name it "topic". This folder will be used to create text pages which will be used to input the topic of your post.
2017-11-25 08:49 · (0)
* Chylin * SamzySamuel av create it now, abeg mak everytin snappy
2017-11-26 01:10 · (0)
* SamzySamuel * Chylin You have it take it bit by bit else you won't understand it.. Now create a folder named "Pic". This folder is where you will upload the thumbnail for your posts.
2017-11-26 03:21 · (0)
* Chylin * SamzySamuel okey av create it now
2017-11-27 07:07 · (0)
* SamzySamuel * Chylin Now inside the folder you have created for Sports Category or any other category, create a page named "index". After that copy the file list code below and paste it in that page "index"... Rename "FOLDER" to your folders name e.g Sports, News e.t.c
<link rel="stylesheet" href="http://keyarn.xtgem.com/wapmaster/css2/theme.css"/>
<!--parser:xtscript-->
# Paging function
function paging_template $url;$page;$active_page;$total_pages; 
# Only one page so exit
if $total_pages == 1
goto @end
endif
# Default button html
assign $button=<li><a class="$button_class" href="$url">$page</a></li>
# Paging container
if $page == 1
print <ul class="pager pager-lg">
endif
if ($page+1) == $active_page
print <li class="previous"><a href="$url"><font color="red">←Back</a></font></li>
endif
if ($page-1) == $active_page
print <span><li class="next"><a href="$url"><font color="red">Next→</span></a></font></li>
endif
if $page == $total_pages
print </ul>
endif
@end
endfunction
<!--/parser:xtscript--></div>

Copy code

<div align="left"><font size="3"><!--parser:xtscript-->
var $list=<xt:filelist sort_type="updated" sort_dir="desc" folder="/FOLDER" template="&lt;table width='100%'&gt;&lt;tr&gt;&lt;td width='25%' class='YOUR_DIV_CLASS' align='center'&gt;&lt;a rel='follow' href='.file_url.'&gt;&lt;img src='/Pic/.file_name..png' width='70%' height='70%' alt='.file_name.' &gt;&lt;/a&gt;&lt;/td&gt;&lt;td width='75%' align='left' class='YOUR_DIV_CLASS'&gt;&lt;a rel='follow' href='.file_url.'&gt;&lt;b style='color:red'&gt;&lt;/b&gt;&lt;div style='color:red'&gt;&lt;xt:include file=&quot;/topic/.file_name.&quot; default=&quot;/topic/default&quot; /&gt;&lt;/div&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p&gt;&lt;hr color='#333333' width='100%'/&gt;" per_page="30" />
print $list
<!--/parser:xtscript-->
</font></center></div>

Copy code
2017-11-27 11:17 · (-1)

Viewing this page: Guest(s): 1
Looking For Something? Search below
More Pages
Translate

1 Online Guest(s) , Today: 3 views, Total: 106652 views
Last modified: 06-02-2018 10:30 am
Copyright © 2017 - 2024 SamzyNet
SamzyNet On Facebook SamzyNet On Twitter SamzyNet On Google + SamzyNet Rss Feed
Home | About Us | Contact Us | Promote | Advertise | Blog | Privacy Policy | F.A.Q
Powered By:  SamzyNet

 top