| Author |
Message |
Partyism
Joined: 25 Sep 2007 Posts: 156
|
|
|
|
2 Bad it isnt working with sIFR
|
|
| Mon Nov 19, 2007 10:15 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
alfred_rade
Joined: 01 Dec 2007 Posts: 24 Location: Buenos Aires |
|
|
|
Hi again, this is a fantastic script, but... I has a problem. When I press over the page number, the ajax pagination load fine but sends the entire web page to the bottom. Any solution? I want to send to the head.
Thanks, and sorry for my english.
|
|
| Tue Dec 11, 2007 3:58 am |
|
 |
alfred_rade
Joined: 01 Dec 2007 Posts: 24 Location: Buenos Aires |
|
|
|
Hello? Any idea to resolv this little problem?
|
|
| Wed Feb 13, 2008 4:25 am |
|
 |
Neisen

Joined: 23 Aug 2007 Posts: 14 Location: Latvia |
|
|
|
Yeah, the symbols are not showing right - any ideas to fix it? I have everything in UTF-8 encoding!
_________________
 |
|
| Fri Feb 29, 2008 6:26 pm |
|
 |
nolikewise
Joined: 17 Dec 2007 Posts: 41
|
|
|
|
hi, in a turkish website, it is suggested to use this code to prevent chars showing up wrong.
 |  | <?php
header("Content-Type: text/xml; charset=utf-8");
?> |
But i dont know where to put it?
the url is: http://www.ceviz.net/ajax-uygulamalarinda-turkce-karakter-sorunu_a601.html
website is turkish but you understand it if you know php well...
pls let me know about where to put this code...
thank you
|
|
| Fri Jul 11, 2008 12:20 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2668 Location: Germany |
|
|
|
You can change the charset in inc/lang/en/global.ini.
|
|
| Fri Jul 18, 2008 9:45 am |
|
 |
nolikewise
Joined: 17 Dec 2007 Posts: 41
|
|
|
| Sat Jul 19, 2008 12:15 pm |
|
 |
nolikewise
Joined: 17 Dec 2007 Posts: 41
|
|
|
|
Hİ, FI-DD, pls have a look how ajax news pagination works. It destroys all utf-8 content, actually turkish chars.
http://www.okuogren.com/yeni/
check it out...
why is that how can i handle this?
Secondly, i have a php file
 |  |
<?php
$path_to_images = 'theme/banner/'; // path to your images
$default_img = "site_logo.gif"; // image to display if directory listing fails
function getRandomImage($path, $img) {
if ( $list = getImagesList($path) ) {
mt_srand( (double)microtime() * 1000000 );
$num = array_rand($list);
$img = $list[$num];
}
return $path . $img;
}
function getImagesList($path) {
$ctr = 0;
if ( $img_dir = @opendir($path) ) {
while ( false !== ($img_file = readdir($img_dir)) ) {
// can add checks for other image file types here
if ( preg_match("/(\.gif|\.jpg)$/", $img_file) ) {
$images[$ctr] = $img_file;
$ctr++;
}
}
closedir($img_dir); a
return $images;
}
return false;
}
?> |
this shows random logo on the header. on homepage it works, but when you click any link it doesnt
to show images put this on html...
 |  | <img src="<?php echo getRandomImage($path_to_images, $default_img) ?>">
|
where should i put $cutepath.' or <?=$config_http_script_dir; ?>
when i this
 |  | $path_to_images = $cutepath.'/theme/banner/'; // path to your images
|
it doesnt work when i used <?=$config_http_script_dir; ?> it doesnt work.
how can i give an absolute link?[/code]
|
|
| Mon Jul 28, 2008 6:49 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2668 Location: Germany |
|
|
|
Try to remove this line from plugins/ajaxnewspagination/ajaxnewspagination.php:
 |  | $my_output = utf8_encode($my_output); |
|
|
| Tue Jul 29, 2008 5:47 pm |
|
 |
nolikewise
Joined: 17 Dec 2007 Posts: 41
|
|
|
|
Thank you, this works perfect...
|
|
| Thu Jul 31, 2008 12:56 pm |
|
 |
ryuzaki

Joined: 16 Aug 2008 Posts: 5 Location: New York |
|
|
|
As always, nice work. I was wondering, does this add-on feature allow multiple categories to displayed instead of limiting it to just one?
|
|
| Sat Aug 16, 2008 10:04 pm |
|
 |
|