#1. What to change if you update a skin from cotonti to cotonti >= 0.6.5?
- Check all <!-- BEGIN: xxxx --> and <!-- END: xxxx -->
Be sure spaces are in the correct places, like above.
Only check it if you got errors about xTemplate
Known error:
polls.tpl: <!-- END: POLL_VIEW_DISABLED--> and should be <!-- END: POLL_VIEW_DISABLED -->
- Copy the /admin dir from sed-light skin and copy to yours.
You only need to modify admin.tpl to fit your skin.
- Delete admin-tpl's from your root skin directory /skins/yourskin/
* admin.banlist.inc.tpl
* admin.bbcode.inc.tpl
* admin.cache.inc.tpl
* admin.comments.inc.tpl
* admin.tpl
- Copy the /plugins dir from sed-light skin and copy to your skin-dir.
This directory is for all tpl's of your plugins.
Copy plugins-tpl's from your root skin directory /skins/yourskin/ to /skins/yourskin/plugins/
e.g.
* whosonline.tpl
* news.tpl
* tags.tpl
* adminqv.tpl
- Edit the other tpl's in /skins/yourskin/plugins to fit your skin.
Especially search.tpl
- pm.tpl is now split into 2 tpl's
* pm.tpl
* pm.list.tpl
Copy those 2 tpl's from sed-light and you need to adapt them to fit your skin.
- for 0.6.1 and higher ratings need an update
* ratings.tpl - copy contents from sed-light skin
* your skin CSS - replace ratings styles with new stiles from sed-light.css, that section starts with
/* ============== Ratings CSS ============== */
- page.add.tpl and page.edit.tpl
change:
<td colspan="2" class="valid">
<input type="submit" value="{PHP.skinlang.pageadd.Submit}" />
</td>
with
<td colspan="2" class="valid">
<!-- IF {PHP.usr_can_publish} -->
<input name="rpublish" type="submit" class="submit" value="{PHP.L.Publish}" onclick="this.value='OK';return true" />
<input type="submit" value="{PHP.L.Putinvalidationqueue}" />
<!-- ELSE -->
<input type="submit" value="{PHP.L.Submit}" />
<!-- ENDIF -->
</td>
Now you can choose as admin to publish directly. Normal users can only put it in validation queue.
- /skins/yourskin/plugins/whoisonline.tpl
Look for:
PHP.L.plu_therescurrently} {WHOSONlINE_VISITORS} {PHP.L.plu_visitors} {WHOSONlINE_MEMBERS} {PHP.L.plu_members}<br /> <br />
and replace it by
PHP.L.plu_therescurrently} {WHOSONlINE_VISITORS} {WHOSONlINE_TEXTVISITORS} {WHOSONlINE_MEMBERS} {WHOSONlINE_TEXTMEMBERS}<br /> <br />
If you does not do it, you will get: "Now online 0 Array 1 Array"
Hopefully I covered it all.
Good luck with converting our skin.
Thanked: 263 times
Thanked: 263 times
Thanked: 180 times
adminqv.tpl not for admins .... this is plugin tpl
Thanked: 9 times
Thanked: 9 times
Changed also changes for 0.0.6 to 0.6.5