Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TEMPLATE CONSTRUCTION - The End (Layout creation for each content space)
#4
Let us examine a space "team_member" in the template of NotJustBrowsing, as shown in the following figures.

.png   notjustbrowsing_org_3.png (Size: 19.23 KB / Downloads: 923)
.png   notjustbrowsing_org_5.png (Size: 43.23 KB / Downloads: 923)

Testing each space's layout can be done locally on your computer. For example creating a file team_member.html with the contents to see the outcome of layout specification.

Now to add another member of team, there is no need for any layout information. Only "member_name", "member_intro" and member's photo url is sufficient.

What it means is setting layout first and concentrating on the contents later throughout the life of the website. This is object oriented way of doing things.

We have done two things
1. Created a template for a website (Template Construction - I/Final)
2. Created layouts for contents within spaces created in template.

Now we are ready to move this template in to a Content Management System. To start with, we will incorporate our template in Joomla.
Reply


Messages In This Thread
Layout creation for each space - by abdulkarim - 02-25-2016, 09:06 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)