yii: default value for date picker field and CJuiDatePicker

by prettyscripts on 2012-01-24 14:28:00 • Leave a comment »

phpyii

setting a default date value to a date picker field is not so straightforward. as in, simply set a property for the CJuiDatePicker widget. there are 2 ways to do it. these are based on some forum posts i found a while ago. method 1 - give the attribut… more »

Tags: date, default, php, yii

yii: default home page

by prettyscripts on 2011-07-01 15:04:00 • Leave a comment »

phpyii

default home page in yii goes to site/index. what if you wants to use a different controller, module or view for home page? config rules in urlManager in config/main.php, ... 'components' => array( 'urlManager' => array( 'rules… more »

Tags: default, php, url, yii

fedora: disable default apache page

by prettyscripts on 2011-04-27 10:44:00 • Leave a comment »

unix

by default when fedora / redhat linux is installed, a 'fedora test page' is displayed when apache server is started. or when websites are configured on server, denying ip address via .htaccess, the same default page is displayed. to disable this page,… more »

Tags: apache, default, deny, fedora, htaccess, linux, red hat

gallery2: changing default text

by prettyscripts on 2008-03-21 18:24:34 • Leave a comment »

gallery2

the main page displays default text ‘This is the main page of your Gallery‘. how to change this text? from the gallery main page, click ‘Edit Album’ link, change ‘Description’ from the form. more »

Tags: default, gallery2