Catergory | Class

support forum

Catergory | Class

Postby Matthew Rosser » Sun Oct 04, 2009 3:34 pm

Hi Manolis,

I was hoping you might be able to help with the information to change/add Catergory|Class ?

So far I have added classes in the config.php , however I imagine it may require other modifications of files & possible db tables ??

:)
Matt

Code: Select all
$CONF_default_category=2;
$CONF_category_types =array(1=>"Open",2=>"Serial",3=>"Sport",4=>"Fun",5=>"Tandem");
Matthew Rosser
 
Posts: 15
Joined: Sun Sep 20, 2009 5:30 pm

Postby manolis » Sun Oct 04, 2009 7:54 pm

I have to look into the code to answer that, but there is a big change that these values are overwritten by new values in site/config_custom.php

As a very basic rule DO NOT edit config.php , add or edit the same variables
on site/config_custom.php
manolis
Site Admin
 
Posts: 152
Joined: Fri Jun 24, 2005 2:04 pm

Postby Matthew Rosser » Mon Oct 05, 2009 12:35 am

Hi Manolis,

Thanks for the info.
I have had a look through site/config_custom.php & can see no facility to edit the catergory class values, glider types yes but not catergory.

Cheers
Matt


Code: Select all
// Available Types and subtypes of Gliders
$CONF_glider_types=array(1=>"Paraglider",2=>"Flex wing FAI1",4=>"Rigid wind FAI5",8=>"Glider",
            16=>"Paramotor", 64=>"Powered flight" );
// $CONF_glider_types=array(1=>"Paraglider");
$CONF_default_cat_view=0; // pg
$CONF_default_cat_add=1; //  the default category for submitting new flights
Matthew Rosser
 
Posts: 15
Joined: Sun Sep 20, 2009 5:30 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron
Bridge by mehdiplugins.com