Elxis CMS Forum

Support => Administration => Topic started by: mmarch on June 30, 2007, 16:36:52

Title: How i can change default Section and Category configuration???
Post 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
Title: Re: How i can change default Page configuration???
Post by: akalant on June 30, 2007, 17:26:45
Go: Menu -> mainmenu ->home

look parameters and change them.
Title: Re: How i can change default Page configuration???
Post by: mmarch on June 30, 2007, 19:48:44
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 ???

   
Title: Re: How i can change default Section and Category configuration???
Post by: CREATIVE Options on July 01, 2007, 00:42:12
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:
Code: [Select]

$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.
Title: Re: How i can change default Section and Category configuration???
Post by: mmarch on August 16, 2007, 12:15:38
Today i tried it but unfortunately it's didn't help. Tested on Internet Explorer and FF.

I change code to -

Code: [Select]
// 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?
Title: Re: How i can change default Section and Category configuration???
Post by: CREATIVE Options on August 16, 2007, 18:46:35
Must be somewhere some hardcore code.

I will search it again after my sort vacations.

Elxis FAN
Title: Re: How i can change default Section and Category configuration???
Post by: mmarch on August 16, 2007, 18:56:15
OK many thanks i will waiting.