Timezone Clock

ext sorting - Timezone Clock

ext sorting

by Ziltoid Racer » Mon Feb 20, 2017 5:41 pm

First off thank you for the extension it's just what i needed and it works great :D

Now for my question, is there a way of sorting extensions placed where this is, i also have the countdown extension and i want the timezone ext on top. would you know how i can do this?

Thanks
Z
Ziltoid Racer
Registered User
Posts: 9
Joined: Wed Feb 10, 2016 5:26 pm
Contact:

Re: ext sorting

by HiFiKabin » Mon Feb 20, 2017 6:45 pm

There is no way by default as (I think) the software orders the extensions by name.

I have re written the ext so that it should appear first in the forum page. Please let me know if it works or not (it installs perfectly, but I don't know about the ordering issue)
Attachments
timezoneclock.zip
(19.47 KiB) Downloaded 46 times
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5027
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: ext sorting

by Ziltoid Racer » Tue Feb 21, 2017 10:24 am

it does install ok bud but it's still showing second in list.

appreciate your help in this.
Ziltoid Racer
Registered User
Posts: 9
Joined: Wed Feb 10, 2016 5:26 pm
Contact:

Re: ext sorting

by HiFiKabin » Tue Feb 21, 2017 10:44 am

Then I guess that there is is little (or nothing) that can be done about it. I will however keep on looking.

I would suggest that you remove this version, and re install the 'correct' one
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5027
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: ext sorting

by HiFiKabin » Tue Feb 21, 2017 12:09 pm

Not tested but should work.

Disable both extensions, delete

dmzx/countdown/styles/prosilver/template/overall_header_page_body_before.html

and

hifikabin/timezoneclock/styles/prosilver/template/overall_header_content_before.html

download and unzip the attached, then upload it to

hifikabin/timezoneclock/styles/prosilver/template/

enable timezoneclock, THEN enable countdown

(what I have done is place the countdown code in the template event file that is in timezoneclock. Should it not work, replace the files previously deleted and purge the cache)

Just remember that should there be a new version of either extension you will have to edit the file again
Attachments
overall_header_content_before.zip
(565 Bytes) Downloaded 25 times
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 5027
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: ext sorting

by Ziltoid Racer » Tue Feb 21, 2017 6:23 pm

ok thanks bud..
Ziltoid Racer
Registered User
Posts: 9
Joined: Wed Feb 10, 2016 5:26 pm
Contact: