Author |
Message |
Bigboy177
Worker


Joined: Jul 07, 2004
Posts: 192
|
Posted:
Tue Jul 27, 2004 1:05 am |
|
I downloaded the Old Articles block from your download section... and I was wandering how can I make it to show only 10 old articles not everyone... I looked at the block, and I tried to hack it a bit... But I get error messages...
Please Help.. |
|
|
|
 |
GanjaUK
Life Cycles Becoming CPU Cycles

Joined: Feb 14, 2004
Posts: 633
Location: England
|
Posted:
Tue Jul 27, 2004 5:27 am |
|
Admin, Prefs, Stories in Old Articles Box. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
 |
Bigboy177

|
Posted:
Wed Jul 28, 2004 1:49 pm |
|
Thanks for help... I didn't notice this setting in the prefs...
Sorry for beeing such a pain in the a.... but I've got the same problem as I had with NSN News... When I point a news with my mouse... every polish sign gets changed... Maybe someone can tell me if I can add some code to point the charset to the right one and have the polish signs where they should be...
Thanks...  |
|
|
|
 |
GanjaUK

|
Posted:
Wed Jul 28, 2004 3:48 pm |
|
What's the URL to your site? |
|
|
|
 |
Bigboy177

|
Posted:
Wed Jul 28, 2004 3:52 pm |
|
|
|
 |
GanjaUK

|
Posted:
Wed Jul 28, 2004 4:12 pm |
|
Looks like the charset is there but not in the <head> section of the page for the news pop ups. Try moving the line to the <head> section.
The page is not using header.php where meta tags are pulled from.
Code:echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=ISO-8859-2\">\n";
| in read_article.php ? |
|
|
|
 |
Bigboy177

|
Posted:
Wed Jul 28, 2004 4:31 pm |
|
In the News Page everything is OK... but in the Old Articles Block the signs are messed up... I've downloaded the Raven's Old Articles block, which displays the article's content when you point it... but I can't use it like this... I tried moving the:
Code:
echo "<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=ISO-8859-2\">\n";
|
Into the <head>, and it didn't help... Have you got any idea what may be wrong... |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Wed Jul 28, 2004 5:59 pm |
|
Does the original block work? |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
Bigboy177

|
Posted:
Wed Jul 28, 2004 6:04 pm |
|
Yes it does... but it doesn't have the option to display news on mouseover...  |
|
|
|
 |
sixonetonoffun

|
Posted:
Wed Jul 28, 2004 6:44 pm |
|
Ok at least we know that much works ok then.
Try adding into the original block
hometext, bodytext to the select statement
then take Ravens code
$total_text = htmlentities(strip_tags($row[hometext];.' '.$row[bodytext]));
$total_text = "title=\"$total_text\"";
and add it just before setlocale(LC_TIME, $locale);
Then add $total_text to the urls where title= should be. |
|
|
|
 |
Bigboy177

|
Posted:
Thu Jul 29, 2004 5:05 pm |
|
It didn't work... My page didn't load...  |
|
|
|
 |
|