<div dir="ltr"><div>I'd like to interject here again the idea of creating a stable API for template variables, so that if people feel the need to template out there out theme, they can do so without having to re-engineer it mid-release.  Any changes to this API would need to be well publicized between major releases.<br>
<br></div>In order to accomplish this, the following steps would need to occur:<br><ol><li>Identify the variables demanded by each page</li><li>Consolidate variables that are shared into centralized includes/objects</li><li>
Fill in any missing variables or generalize where appropriate</li><li>Document</li></ol><p>The Koha community could make it a policy to only officially support one theme with the main release, but any other institution, entity or individual could maintain and distribute their own theme customized for particular needs.  They would only need to follow the change log in the API documentation to do so, and would only need to do the maintenance work at most once every 6 months.</p>
<p>Cheers,</p><p><br></p><p>-Ian<br></p></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 4:29 AM, Mason James <span dir="ltr"><<a href="mailto:mtj@kohaaloha.com" target="_blank">mtj@kohaaloha.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
On 2013-05-6, at 8:21 PM, Mirko wrote:<br>
<br>
> Mason James schrieb am 06.05.2013<br>
><br>
>><br>
>> On 2013-05-6, at 5:42 PM, Katrin Fischer wrote:<br>
>><br>
>>> Hi,<br>
>>><br>
>>> I agree that maintaining 2 themes is a bit harder to do in<br>
>>> Koha development,<br>
>><br>
>>> but I am not sure this necessarily means we have to remove<br>
>>> functionality that could be quite useful for some Koha<br>
>>> projects.<br>
>>><br>
>>> Couldn't we keep the functionality and still decide to only<br>
>>> officially support one theme in releases?<br>
>><br>
>><br>
>> I'm just going to say this.. we have already make this mistake a<br>
>> few times now with Koha and themes<br>
>><br>
>> afaik, Koha has had at least 3 previous themes, using the current<br>
>> directory structure<br>
>><br>
>> ensuring that those previous theme files were maintained and<br>
>> correct proved to be an impossible task, and all of those themes<br>
>> were eventually removed<br>
>><br>
>><br>
>> i am certain if we don't fix this problem, for this cycle of<br>
>> themes - the same fate will occur again...<br>
>><br>
><br>
> I think what Katrin is saying -- and I'd like to concur with -- is<br>
> that we should keep the function, not keep maintaining different<br>
> themes. There would only be one maintained theme in Koha out of the<br>
> box and libraries that use their own custom theme will have to<br>
> maintain it themselves.<br>
><br>
> The whole theme thing is kind of irrelevant if we reduce it to CSS,<br>
> we can have that in the appropriate sysprefs.<br>
><br>
> My library actually just has decided to create a custom theme for<br>
> the university's corporate identity, so I am biased, but I assume a<br>
> lot of libraries will run into problems if that functionality will<br>
> disappear.<br>
><br>
> -- Mirko<br>
<br>
<br>
<br>
</div></div>yeah, i was just talking to Chris on IRC, and i now agree with you both :P<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
</div></div></blockquote></div><br></div>