Author |
Message |
rolfpf
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 05, 2006
Posts: 5
|
Posted:
Mon Feb 06, 2006 5:54 am |
|
I have installed the following on a Web Host.
PHP-Nuke 7.7
Patch 3.1
On Friday, I then put up about 18 Articles with the default Category of "Article" and published them to Home.
On Monday (today), I created a Category "Consulting", set all the Articles to this Category and set the show in Home as "No".
However, when I tried to set aone of them back to show in Home it did not appear.
Next I created new Articles and put them in Home, but again they did not appear.
Finally I tried everything, I could thing of including deleting the new category that I had created and setting everything back to what I had at the sstart of the day, but NO article would appear in the Home page.
What is going on. Can anyone help me. I am stumped to what to do next.
Regards
Rolf Pfotenhauer |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
evaders99
Former Moderator in Good Standing
![](modules/Forums/images/avatars/803d73f6452557b947721.jpg)
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Mon Feb 06, 2006 12:49 pm |
|
I will try to duplicate this. In the mean time, check your stories table and make sure those rows have 'catid' and 'ihome' fields set to 0 |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rolfpf
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 06, 2006 5:07 pm |
|
Thanks evaders99,
While I was looking I switched the Theme from "Odyssey" (the one giving the trouble) to "DeepBlue" and the Articles are appearing again. This is strange.
I also checked the Stories Table and I found the following stored there.
Mostly they are set to catid=0 and ihome=0 with the following exceptions:
entry 7, catid=0, ihome=1
entry 11, catid=1, ihome=1
entry 20, catid=1, ihome=0
What does this mean?
I guess for a start that the problem must be with the Odyssey Theme. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jmrobles
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Sep 13, 2008
Posts: 2
Location: Tres Cantos - Spain
|
Posted:
Sat Sep 13, 2008 2:12 am |
|
Hi,
The ihome field in the $prefix_stories table controls if an story (news) must be published at first page (value 0) or not (value 1).
As I could see two days ago, when I had the same problem (and when I met this thread, searching for a solution), the Odyssey theme uses the number of stories to arrange them in two columns, but there is a little error in the process: in theme.php, there is the following sentence to find out how many stories must be vissible at first page:
$kokku = $db->sql_numrows($db->sql_query("select * from ".$prefix."_stories LIMIT 0, 30 "));
(kokku must be number in estonian).
In that sentence, the stories that are present in the table but avoided from publishing at first page (ihome != 0), are erroneously considered. I solved the problem for me, using that other line:
$kokku = $db->sql_numrows($db->sql_query("select * from ".$prefix."_stories where ihome='0' LIMIT 0, 30 "));
I expect it will be useful. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
Moderator
![](modules/Forums/images/avatars/4e3210db4efb891870d79.gif)
Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sat Sep 13, 2008 2:23 am |
|
Just don´t use theme Odysee it has several bugs and don´t work proper when you use the multilingual feature for your website. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jmrobles
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Sep 13, 2008 2:51 am |
|
Of course, what Susan says may be an other solution. Here, in Spain, we say "Muerto el perro, se acabó la rabia" ("Dead the dog, no more rabies").
I agree that there are themes better programmed than Odyssey; for example, the name of theme is hardcoded in Odyssey, so, if you want to clone it with a different name to customize it (as I did), you must change all the occurrences of Odyssey. Also, the poor multilingual support, I think is caused by the lack of macros. In the other hand, its appearance is very clean.
Anyway, thanks for the advice. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|