Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
About file category.html.php
« previous
next »
Print
Pages: [
1
]
Author
Topic: About file category.html.php (Read 3597 times)
armpouniotis
Sr. Member
Posts: 377
About file category.html.php
«
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
Logged
Christos Armpouniotis
datahell
Elxis Team
Hero Member
Posts: 10351
Re: About file category.html.php
«
Reply #1 on:
April 29, 2023, 13:58:36 »
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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
armpouniotis
Sr. Member
Posts: 377
Re: About file category.html.php
«
Reply #2 on:
May 01, 2023, 00:59:47 »
Yes you are right...
but we prefer every sub-page to be shown as short articles
never mind, I will modify it manually
Christos
Logged
Christos Armpouniotis
datahell
Elxis Team
Hero Member
Posts: 10351
Re: About file category.html.php
«
Reply #3 on:
May 01, 2023, 22:01:45 »
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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
armpouniotis
Sr. Member
Posts: 377
Re: About file category.html.php
«
Reply #4 on:
May 17, 2023, 23:27:41 »
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
Logged
Christos Armpouniotis
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
About file category.html.php