Firefox PHP

broken emerald template from phorum-5.2.23.tar.gz

Posted by salmobytes 
broken emerald template from phorum-5.2.23.tar.gz
April 26, 2017 10:14PM
emerald/list.tpl shows a bell icon to the left of sticky topics, as it installs
I found a pushpin.png icon that was 16x16 and put it in emerald/images
and then (inside list.tpl) changed "bell" below to "pushpin" and all was well.

{IF MESSAGES->sort PHORUM_SORT_STICKY}
{IF MESSAGES->new}
{VAR icon "flag_red"}
{VAR alt LANG->NewMessage}
{ELSE}
{VAR icon "bell"} <-- change bell to pushpin
{VAR alt LANG->Sticky}
{/IF}



Edited 3 time(s). Last edit at 04/26/2017 10:25PM by salmobytes.
Re: broken emerald template from phorum-5.2.23.tar.gz
April 26, 2017 10:53PM
Ah. Also my old coffeeshop template caused all kinds of trouble after the upgrade so I reverted to emerald, which did work, not counting the bell icon showing up next to sticky topics.

The coffeeshop template turned out to be riddled with HTML errors, so I was glad to get rid of it. None of those errors was bad enough to trigger quirks mode. But still

</div class="something"> ....for instance. There were many others. I don't recommend coffeeshop as a template. I'll hack emerald until it does what I want.
Sorry, only registered users may post in this forum.

Click here to login