Home » General » Coding Help » Xtgem Next and Prev Code
hey Copy Xtgem Previous and Next or Back and Next Custom Pagination Code, if you created a new download site at xtgem... Its very important to have a custom paging code for your wapsite... Style your filelist pagination layout.. With xtgem custom pagination code.. All your pagination numbers will be spare .. And hidden.. You can now run your filelist pagination using "Next and and Previous", "See more... And Back" etc..
<!--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
# Paging container
if $page == 1
endif
# Previous 
if ($page+1) == $active_page
print <a class="full" href="$url"><b>« Previous</b></a>
# Next 
elseif ($page-1) == $active_page 
print <a class="full" href="$url"><b>Next »</b></a>
endif
if $page == $total_pages
endif
@end
endfunction
<!--/parser:xtscript-->

Copy code
 
0
Moynalink * Goddy
Can you help with thus code, small help plz.
$url - this link open with original xtgem domain.
I need replace link with my own park domain . How ? What is the code ?
And must tell me that where I have to place that code which root directory

I am giving my site name both plz make the code and replay here
 
0
Moynalink * Moynalink
My site name : youview.wapsite.me
And park domain name :
youview.in

Please make the code
 
0
But your site isn't accessible, and what code do you really need? A filelist code, a download page code, codes from pages? Which of them? Let me know
 
0
Home » General » Coding Help » Xtgem Next and Prev Code


XtGem Forum catalog