dot
Manual:
Read me
Install
Upgrading
Know Bugs
Customize
Templates

Links:
Belchior Foundry
Support Forum

Resources:
PHP
MySQL

vCard Lite
 

Card Templates

This a simple tutorial about templates:

You can ADD or EDIT a GERENIC templates (3 default card layout: template01.ihtml, template02.ihtml, template03.ihtml) to use with vCard

Notes:
  • The extension of templates MUST be ".ihtml" and be placed in templates directory.
  • Attention: The Template TAGS is case sensive
    GENERIC TEMPLATE

    - Open file 'demo.ihtml' to see how simple is create your own generic postcard template! Other examples of generic template are template01.ihtml, template02.ihtml, template03.ihtml (3 default card layout)

    The templates Tags are internal vCard code that replace tags with user provide content.

    Example: {T_PostMessage}:
    The tags is replace by card's message that user provide from creation's form page

    1. {T_SenderName} = Sender name
    2. {T_SenderEmail} = Sender e-mail address
    3. {T_RecpName} = Recipient name
    4. {T_RecpEmail} = Recipient e-mail address
    5. {T_PostColor} = the Background Color (i.e.: white, blue, cyan, darkviolet)
    6. {T_PostStamp} = IMAGE HTML TAG of Stamp image (i.e.: <img src="http://www.domain.com/vCard/images/stampXX.gif" border=0>)
    7. {T_PostFontFace} = Font Face (i.e.: Arial, Verdana, Times New Roman )
    8. {T_PostFontSize} = Font Size (i.e.: +1, +3)
    9. {T_PostFontColor} = Font Color (i.e.: white, blue, cyan, darkviolet)
    10. {T_PostHeading} = Heading Message String
    11. {T_PostMessage} = Body Message String
    12. {T_PostSig} = Signature Message String
    13. {T_PostImage} = IMAGE/Flash HTML TAG of Stamp image (i.e.: <img src="http://www.domain.com/vCard/images/pic001.jpg" border=0>)
    14. {T_PostSound} = Sound HTML TAG of sound file (i.e.: <EMBED SRC="http://www.domain.com/music/sound.mid">)
    15. {T_PostCaption} = Postcard caption text

    SPECIAL TEMPLATE

    If you want create a template like "friends.ihtml" with MANY graphics, music, texts... you need create a special card template

    In this mode you ONLY can use this Templates TAGS:

    1. {T_PostMessage} = Message String
    2. {T_SenderName} = Sender Name
    3. {T_RecpName} = Recipient Name
    4. {T_PostCaption} = Postcard caption text

    See friends.ihtml file to see how it's work! Real example is the best wat to undestand how something work!

    Your imagination is your limit. Because if you know bluemuontain.com you can imagine wich great postcard you can create using this amazing feature that is exclusive of vCard.

  • vCard Templates

    These templates are used by vCard

    Notes:
  • The extension of templates MUST be ".ihtml" and be placed in templates directory.
  • Attention: The Template TAGS is case sensive
    Main Page (File: templates/gallery_page.ihtml)

    Thist template is used by vCard to show the main page of postcard service with cards categories list (index.php)

    You can use "Table List" or "Simple text list" of categories avaiable

    1. {T_Categories} = Message string "Categories"
    2. {T_List_Categories_UL} = Simple list of categories
    3. {T_Upload_Option} = Message link to upload option. It wont visible if you disable this feature in your config file.
    4. {T_Upload_Option_Note} = Message note about upload feature. It wont visible if you disable this feature in your config file.
      NOTE: If you want direct link some image/text to upload feature just create a link to 'upload.php' file.

    5. {T_List_TopTxt} = Message string XX TOP postcards.
    6. {T_List_TopPostcards} = Show the list of your TOP postcards.

    GALLERY (File: templates/gallerybrowse_page.ihtml)

    This template is used by vCard to show the content from a postcard category (gbrowse.php).

    1. {T_GalleryCategory} = Show the text "Category Name"
    2. {T_Total} = "X postcards"
    3. {T_PostcardsTable} = Table with avaiable postcards in category. You can edit how much postcard will appear in config file
    4. {T_SubCatList} = List link of Subcategories
    5. {T_GalleryNavBar} = Navigation bar links
    6. {T_BackMainPage} = Show the text link to back gallery main page
  • -->
    Copyright © 2001 Belchior Foundry, All Rights Reserved.