- 1 Introduction
- 1.1 About Zdoo
- 1.2 Zdoo Features
- 1.3 Technical Support
- 1.4 Zdoo License
- 2 Install and Upgrade
- 2.1 ZDOO Installation (for all systems)
- 2.2 One-click Installation Package for Windows (Recommended)
- 2.3 One-click Installation Package for Linux
- 2.4 Upgrade Zdoo
- 2.5 Zdoo Cloud
- 2.6 Remove zdoo from the address
- 2.7 Data Backup
- 2.8 Install Ioncube
- 2.9 Install php-zip
- 3 CRM
- 3.1 CRM Workflow
- 3.2 Add Product
- 3.3 Add Customer
- 3.4 Create Order
- 3.5 Sign Contract
- 3.6 Manage Contact
- 3.7 Manage List
- 3.8 Manage Supplier
- 3.9 CRM Settings
- 3.10 CRM Report
- 4 OA
- 4.1 Todo
- 4.2 Review
- 4.3 Announcement
- 4.4 Attendance
- 4.5 Leave
- 4.6 Makeup
- 4.7 Overtime
- 4.8 Business Trip
- 4.9 Reimbursement
- 4.10 Lieu
- 4.11 Egress
- 4.12 Holiday
- 4.13 Settings
- 5 Cashflow(Cash)
- 5.1 Introduction
- 5.2 Basic Settings
- 5.3 Add Bank Account
- 5.4 Manage Account
- 5.5 Keep Account
- 5.6 Batch keep accounts and import
- 5.7 Reconciliation
- 5.8 Report
- 6 Project (Proj)
- 6.1 Project Workflow
- 6.2 Create Project
- 6.3 Create Task
- 6.4 Actions in a project
- 6.5 Action Views
- 6.6 Actions in a task
- 7 Document(Doc)
- 7.1 Introduction
- 7.2 Create Document Library
- 7.3 Create Document
- 8 TEAM
- 8.1 Introduction
- 8.2 Settings
- 8.3 Modules
- 9 Inventory(PSI)
- 10 Flow
- 10.1 Introduction
- 10.2 Built-in Flows
- 10.3 Features
- 10.4 Examples
- 11 Ameba
- 11.1 Amoeba Management
- 11.2 Start Ameba
- 11.3 Ameba Category
- 11.4 Ameba Department
- 11.5 Expense Distribution Rules
- 11.6 Income Distribution Rules
- 11.7 Ameba Budget
- 11.8 Ameba Trade
- 11.9 Ameba Report
- 12 Administration
- 12.1 Settings
- 12.2 User
- 12.3 Privileges
- 12.4 Apps
- 12.5 Email settings
- 13 Integration
- 13.1 Introduction
- 13.2 Integrate ZenTao
- 14 Customization
- 14.1 Get Ready
- 14.2 Zdoo Directory
- 14.3 Find the Code
- 14.4 Database Structure
Find the Code
- 2016-08-31 09:36:26
- tengfei
- 5541
- Last edited by MCFEY on 2020-04-10 14:13:31
You have to know where the code is before you change them. Once you understand the directory of Zdoo, let's see how to find those codes.
Locate the code via Control
Let's see an example first. Example :
crm/ order-browse- assignedTo.html crm/index.php?m=order&f=browse&mode=assignedTo
In
crm/
order-browse-
assignedTo.html, it
means
browse is the method to access to
Order in
CRM; the first parameter is
assignedTo; the page type is
h
tml.
In
crm/index.php?m=order&f=browse&mode=assignedTo
, CRM is the name of an application; m is the name of a module; f is the name of the method; what is behind that is parameter list.
Now let's take a look at Zdoo source code, the method to browse in app/crm/order/control.php
Calling in Control
$this->order is to call model in CRM, so the file is at app/crm/order/model.php.
$this->loadmoel('order', 'crm')->xxx is to load modlel in Order of CRM, and its file is at app/crm/order/model.php.
$this->app->loadClass('pager') is to load a lib, and corresponding file is at lib/pager/pager.class.php.
$this->lang->bug->xxx is defined in app/crm/order/lang/zh-cn.php. zh-cn can be changed to language your need.
Following $this->display() is the call of templates with the same method in the directory of view. For example, the method to browse an order, and its file is at app/order/view/browse.html.php.
Application
App directory in Zdoo has subdirectories correspond to CRM, OA, TEAM, and public modules in Zdoo.
CUSTOMERS
PRODUCTS
SUPPORT
CONTACT US
- Email: Philip@easycorp.ltd
- Skype: philip517
- Whatsapp: +86 185 6395 3295