Creating Template - Example (Nurse-Salary / Teacher Salary)

  1. Creating First Template
    Example nurse-salary
    Use locations files from default template
  2. Creating Second Template
    Example teacher-salary
    copy and paste existing custom template nurse-salary


 Step 1 

Create a template in Admin Panel



 Step 2 

Part 1

Create First Template

(nurse-salary)

  1. click
    view > frontend > custom > templates
  2. then create folder
    nurse-salary
  3. copy country.php file
    view > frontend > default > template > country.php
  4. paste country.php file
    view > frontend > custom > template > nurse-salary > country.php




Part 2

Create Second Template

(teacher-salary)

  1. copy an existing template folder (nurse-salary)
    view > frontend > custom > templates > nurse-salary
  2. paste inside
    view > frontend > custom > templates > nurse-salary
  3. rename
    teacher-salary
  4. then edit location files
    country.php / state.php / district.php / city.php





No comments:

Post a Comment

Note: Only a member of this blog may post a comment.