
Search In
In 'config/main.php' file we have database setting in yii for set or change database open main.php file and search 'db' you will see something like this
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=mydb',
We will have to remove .py file, rename the class and its attributes to something like
below code.
from osv import osv, fields
class travel_hostel(osv.osv):
_name = ’travel.hostel’
_inherit = ’res.partner’
_columns = {
’rooms_id’: fields.one2many(’
Hello if you want to disable you website's caching complety you just need to write configure code in core.php file
ex
You will have to look into /app/config/core.php and look for the line
Open app/config/core.php file and try to find
Configure::wr
The error is any mistake that we make while writing a program which hampers the proper functioning of the program. While creating and running any application we encounter different types of errors. An error produces undesired output or other behavio
How to modify the PetToysList component so clicking on a toy replaces the homepage by the toy's form view in OpenERP/Odoo ?
If you want to modify the PetToysList component in OpenERP(Odoo) so that when you click on a toy it replaces the homepage by
I am facing issue with my android app.
If a user installs my app through apk file. After installation a window appears with two buttons open and done which is part of android os.
When user taps on open, it opens my launcher activity. Whi
The default editor generally with linux terminal is vi editor and if you edit crontab etc. it by default opens up using vi editor.
To change this default behavior and set the editor to nano you can use command
export EDITOR=nano
after using this
Hello Guys,
If you are looking to set Breadcrumb in zend framework. Please follow the below code for the same::
1)Open your controller file and function in which you want to add breadcrumb.
/* BreadCrumb starts Here */
$breadcrumbArray = Array("Ho
File Ownership and Permissions
It is important in multi-user system to ensure that files of one user cannot be accessed by another user, until and unless user is permitted to access the files. The user who creates the file, is by default the owner o
Most of the command-line options can be specified with a configuration file.
Most of the time, they use similar names with the prefix ( - ) removed and other ( - ) are replaced by _ for e.g. --db-template becomes db_template.ote-. Controllers provi