PDA

View Full Version : ajax pagingation mysql /Help



Exoid
09-20-2008, 06:06 PM
hi

http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/suppliment.htm

we are going to add your pagingation to our cms on gatthering the news

here is the file that shows the news

we add your codes in line 98 until 108

but nothing happened !

we inculeded the JS file in our header


(our cms is nuke evolution persian version )

thetestingsite
09-20-2008, 10:19 PM
Do you have a link to the problematic site?

Exoid
09-21-2008, 05:54 AM
http://demo.evo-cms.com/modules.php?name=News&file=demo

thetestingsite
09-21-2008, 06:23 PM
On that page, you should change this:



<script type='text/javascript'>
var commentsbook={
pages: ['modules.php?name=News&op=page&amp;min=1'],
selectedpage: 0
var comments=new ajaxpageclass.createBook(commentsbook, "bookdiv", ["paginate-bottom"])
}
</script>


to this:



<script type='text/javascript'>
var commentsbook={
pages: ['modules.php?name=News&op=page&amp;min=1'],
selectedpage: 0
}

var comments=new ajaxpageclass.createBook(commentsbook, "bookdiv", ["paginate-bottom"])
</script>


Hope this helps.

Exoid
09-21-2008, 09:29 PM
thanks u & all coder