docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
docs [08-04-2015 09:53]
127.0.0.1 external edit
docs [11-04-2015 18:23]
cwacha
Line 179: Line 179:
  
 [[docs:xmlrpc|The XML-RPC API has its own page here]] [[docs:xmlrpc|The XML-RPC API has its own page here]]
 +
 +===== CardDAV Interface =====
 +
 +[[docs:carddav|The CardDAV Interface has its own page here]]
  
 ===== Contact Format ===== ===== Contact Format =====
Line 207: Line 211:
   * creation date   * creation date
   * modification date   * modification date
 +  * UID
  
 ==== Unsupported fields ==== ==== Unsupported fields ====
Line 215: Line 220:
 These fields will not be included since I have absolutely no need for them. The current design is transparent enough for me. These fields will not be included since I have absolutely no need for them. The current design is transparent enough for me.
  
- 
-===== Templates ===== 
- 
-This section describes the HTML template that is currently used. In the current state the template system should be flexible enough to allow you to design a look and feel as you like (and not as the template system likes). 
- 
-The template files have the file ending ''.tpl''. The main file that keeps it all together is called **main.tpl**. 
- 
-  main.tpl 
-     | 
-     +- search.tpl 
-     | 
-     +- tpl_showcontactlist() 
-       +- contactlist.tpl 
-           +- tpl_contactlist() 
-               +- contactlist_item.tpl 
-     | 
-     +- tpl_showperson() 
-         +- person_empty.tpl 
-         | 
-         +- person.tpl 
-           +- tpl_addresses() 
-             +- address.tpl 
-           | 
-           +- tpl_phones() 
-             +- phone.tpl 
-           | 
-           +- tpl_emails() 
-             +- email.tpl 
-           | 
-           +- tpl_chathandles() 
-             +- chathandle.tpl 
-           | 
-           +- tpl_urls() 
-             +- url.tpl 
-           | 
-           +- tpl_relatednames() 
-         | 
-         +- person_edit.tpl 
-             +- tpl_include() 
-               +- person_edit_phones.tpl 
-             | 
-             +- tpl_include() 
-               +- person_edit_emails.tpl 
-             | 
-             +- tpl_include() 
-               +- person_edit_urls.tpl 
-             | 
-             +- tpl_include() 
-               +- person_edit_relatednames.tpl 
-             | 
-             +- tpl_include() 
-               +- person_edit_chathandles.tpl 
-             | 
-             +- tpl_include() 
-                 +- person_edit_addresses.tpl 
- 
- 
- 
-  * //tpl_showcontactlist()// creates the list of contacts. It basically just inserts the file **contactlist.tpl** 
-  * //tpl_contactlist()// iterates over all contacts and outputs one **contactlist_item.tpl** per contact. 
- 
- 
-  * All other functions work the same way, you should get the hang of it. Remark that **person_edit.tpl** does not call any //tpl_functions// since i thouhgt it would be easier to just inline all the code. Other suggestions are welcome. I have never done a template system before, so it might still have some inconsitencies. 
  
  
  • docs.txt
  • Last modified: 05-03-2020 01:03
  • by cwacha