Elxis CMS Forum
Support => Administration => Topic started by: mmarch on June 30, 2007, 16:36:52
-
Hi!!!
By default Page configuration are -
# Leading: 1
# Intro: 4
Columns: 2
# Links: 4
How i can change default parametrs to another???
Thank's
-
Go: Menu -> mainmenu ->home
look parameters and change them.
-
NO i mean, if you creating new category or section than default value are -
# Leading: 1
# Intro: 4
Columns: 2
# Links: 4
I would like Change samewhere parametrs, thats allow each new creating category or section be a
# Leading: 1
# Intro: 22
Columns: 1
# Links: 5
How i can change it ???
-
Locate the file:
root_folder_of_elxis/components/com_content/content.php
and then inside the file locate the following code it is around the 800 line:
$columns = $params->def( 'columns', 2 );
if ( $columns == 0 ) {
$columns = 1;
}
$intro = $params->def( 'intro', 4 );
$leading = $params->def( 'leading', 1 );
$links = $params->def( 'link', 4 );
Change the values with your risk until the developers confirm the code, because right now I can't verify if this is the right code.
Elxis FAN.
-
Today i tried it but unfortunately it's didn't help. Tested on Internet Explorer and FF.
I change code to -
// parameters
}
$columns = $params->def( 'columns', 1 );
if ( $columns == 0 ) {
$columns = 1;
}
$intro = $params->def( 'intro', 22 );
$leading = $params->def( 'leading', 1 );
$links = $params->def( 'link', 5 );
What's mean pagination?
Maybe it's DB issue?
-
Must be somewhere some hardcore code.
I will search it again after my sort vacations.
Elxis FAN
-
OK many thanks i will waiting.