City Guides  ::   Expat Blogs  ::   Travel Expat  ::   Expat Interviews  ::   Expat Banking
  Blog in English
 
 
 Expat News Main
 Photo Albums
 Contact
 
 Categories
International News [18]
Expat Trends [31]
Moving Abroad [27]
Housing [3]
Work & Business [11]
Lifestyle [23]
Education [10]
Health [6]
Finance [22]
Entertainment [51]
Repatriation [4]
EasyExpat News [58]
BlogExpat News [21]
Expat tweets [43]
 
 Archives
 
 Links
Our expat blogs
- American Expats in the News [EN]
- Expat Interviews [DE] [EN] [ES] [FR] [IT]
- Expat News [EN]
- Chroniques d'expatriation [FR]
Our expat sites
- EasyExpat.com
- BlogExpat.com
- ExpertExpat.com
 

Blogs: Guide and Usage   Template Packages

How to modify your templateHow to modify your template

EasyExpat EasyExpat  Date 01 August, 2005 18:33

In order to offer a blog service, EasyExpat has chosen pLog. pLog uses a template system in order to clearly separate what is content from what is the core code. Users can develop their own templates and the template rendering engine uses a simple syntax to change the aspect of their site a little : Smarty.

A good starting point to learn about Smarty is their crash-course: http://smarty.php.net/crashcourse.php Or if you want more details, a very nice manual is also available: http://smarty.php.net/manual/en/

How templates work

As we said above, pLog uses Smarty to render the contents of your journal. That means that you can easily change the way the site looks like just by going to the Administration Interface of your journal (http://<yourname>.blogexpat.com/admin.php) and selecting a new set of templates [Control Center->Blog to choose the template amongs a list). But, how does that work? How can we develop our own set of templates?

In order to view the files making a template you need to go to Control Center->Blog Template Editor. Then you can copy the chosen template into your own one. You will then be able to modify this customized template.

Click on your new template to see the list of files you can modify, usually similar to:

  • commentarticle.template
  • commentform.template
  • demosites.template
  • error.template
  • features.template
  • footer.template
  • header.template
  • main.template
  • post.template
  • postandcomments.template
  • posttrackbacks.template
  • samplerss.template
  • album.template
  • albums.template
  • resource.template
  • searchresults.template

In bold are the 3 files that you are the most likely to modify, regarding usually the colums and the posts in the middle of the page. You will find the explanation for meaning of the files here.

If you are looking for more help on EasyExpat's blogs, do not forget that we have a dedicated forum.

 

   



Add this RSS to Yahoo!    Add this RSS to Google    Add this RSS to Netvibes    Add this RSS feed to your favorites on Technorati

         
         EasyExpat on

 
 
Calendar
« August 2005 »
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
 
 
 
 
 
Syndicate
RSS
 
Easy Expat: Guide for expatriates    Blog for Expatriates, Moving Abroad
 


Copyright EasyExpat Ltd © All rights reserved.

Look for more information with dotExpat network:
Easy Expat  -  Blog Expat  -  EasyExpat Travel  -  Expert Expat
Blog powered by LifeType -  Designed by EasyExpat

Guide for Expatriate Expatriation - International Relocation Portal: Move, Work, Live Abroad
Deutsch  -  English  -  Español  -  Français  -  Italiano  -  Nederlands  -  Polski  -  Português  -  Русский