Elxis CMS Forum
Support => General => Topic started by: armpouniotis on April 28, 2023, 15:58:09
-
Hi there !
everytime I update elxis, I have to modify the file "category.html.php", line 35:
from:
if ($page > 1) {
to:
if ($page > 1000) {
I have to do that on every website...
is it possible to incorporate it in later elxis updates ?
thank you in advance
Christos
-
Why?????? "page > 1" is the correct one. In this case the style of the articles is controlled by the parameter "Next pages style" (Short articles, Link articles, Featured articles). If you put page > 1000 Elxis will think that every sub-page is the first page of the category.
-
Yes you are right...
but we prefer every sub-page to be shown as short articles
never mind, I will modify it manually
Christos
-
This is already supported....
parameter "Next pages style" (Short articles, Link articles, Featured articles)
Except if something is missing for you in the style Elxis applies. I don't know, you must be more specific.
-
check these settings in Category in Short articles Tab:
Short articles number = 10
Columns = 2
Short image = Left
etc...
yes, but next pages style is not in 2 columns like the 1st page...
That's why I modify:
"category.html.php", line 35:
from:
if ($page > 1) {
to:
if ($page > 1000) {
Christos