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.
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:
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 "));
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.
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum