How to convert a cotonti-skin 0.6.5 to a version 0.6.6

If you are updating cotonti, don't forget to update your own skin to.

If your skin was made for a cotonti-version older than 0.6.5. please follow first the upgrade-guide: How to convert a old cotonti-skin to a version for >=0.6.5

If your skin is working on 0.6.5. change the following:

- Make the following changes in page.tpl
Replace
 <!-- IF {PHP.tag_i} > 0 -->,&nbsp;<!-- ENDIF --><a href="{PAGE_TAGS_ROW_URL}">{PAGE_TAGS_ROW_TAG}</a> 
with
<!-- IF {PHP.tag_i} > 0 -->, &nbsp;<!-- ENDIF --><a href="{PAGE_TAGS_ROW_URL}">{PAGE_TAGS_ROW_TAG}</a> 
Difference is the space after -->,

Replace
<!-- BEGIN: DOWNLOAD --> 
{PAGE_FILE_ICON}<a href="{PAGE_FILE_URL}">{PHP.L.Download}: {PAGE_SHORTTITLE}</a><br/> 
<!-- END: DOWNLOAD --> 
with
<!-- BEGIN: DOWNLOAD --> 
{PAGE_FILE_ICON}<a href="{PAGE_FILE_URL}">{PHP.L.Download}: {PAGE_FILETITLE}</a><br/> 
<!-- END: DOWNLOAD -->


- Make the following changes in /plugins/news.tpl

Replace
<div class="pagnav">{PAGE_PAGEPREV} {PAGE_PAGNAV} {PAGE_PAGENEXT}</div>
with
<div class="paging">{PAGE_PAGEPREV} {PAGE_PAGENAV} {PAGE_PAGENEXT}</div>

Your skin is up-to-date to us with Cotonti Genoa 0.6.6


1. Gökhan YILDIZ  2010-02-02 03:12
Why I will change the {PAGE_FILETITLE} with {PAGE_SHORTTITLE}? {PAGE_SHORTTITLE} already works.
2. jcrush  2010-02-02 06:42
что меня раздражает, так это всякие классы,целая куча всяких дивов, когда надо обрабатывать HTML теги стандартные в CSS, а не наоборот.
3. Kort  2010-02-02 16:57
Gökhan YILDIZ {PAGE_SHORTTITLE} shall be replaced by {PAGE_FILETITLE} only in the download block
4. pieter  2010-02-02 17:05
It is changed. Thanks Kort for explaining
Only registered users can post new comments