[CKAN-support] Landcare New Zealand support query on Templates

Sam Smith sam.smith at okfn.org
Fri Aug 23 10:50:34 UTC 2013


I'm not sure if the way I've been doing this is the best or should be our
recommended method (something we need to establish for the docs), but I add
a new stylesheet for customisations, rather than editing an existing one.
Once you go down that path it is just a standard HTML/CSS job, and no
knowledge of CKAN is really required.

The downside to this approach is that it adds an additional request to the
server. An upside would be that it doesn't force the use of LESS on the dev.


On 23 August 2013 09:00, Nigel Babu <nigel.babu at okfn.org> wrote:

> Hi Gavin,
>
> Pretty sure this is because we import custom.less a little too early in
> ckan.less. If you set something to override the background (which is "hero"
> class) in custom.less, it gets overridden later by the actual CSS that we
> provide. I think that's a bug, I'll defer to Sam or John about that.
>
> Nigel Babu
>
> Developer  |  @nigelbabu <https://twitter.com/nigelbabu>
>
> The Open Knowledge Foundation <http://okfn.org/>
>
> Empowering through Open Knowledge
>
> http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on Facebook<https://www.facebook.com/OKFNetwork> |
> Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>
>
>  CKAN | http://ckan.org/ | @CKANproject <http://twitter.com/CKANproject> |the world’s leading open-source data portal platform
>
>
> On 23 August 2013 12:51, Gavin Chait <gavin.chait at okfn.org> wrote:
>
>> Hi all,****
>>
>> ** **
>>
>> The following queries are from Landcare New Zealand, a support client.
>> The first has, I think, insufficient detail to answer and I’ve asked them
>> to flesh it out.****
>>
>> ** **
>>
>> The second relates to retheming the template and would be a useful item
>> in the docs.  Could you please review and let me know what they need to do?
>> ****
>>
>> ** **
>>
>> ---****
>>
>> *We were trying to change the background image using the theming and
>> changes to the CSS/LESS, but had trouble. We’ve found out how to do simple
>> changes like that in the Config options CSS, but for future reference it
>> would be good to get up to speed on how to start more advanced theming (we
>> don’t actually have a desired theme we want to apply, so this would be
>> learning which we could apply when we do.  Perhaps teaching us how to
>> change the background via the CSS/LESS could be a training example?).***
>>
>> ---****
>>
>> ** **
>>
>> Much appreciated…****
>>
>> ** **
>>
>> Gavin****
>>
>> ** **
>> ------------------------------
>>
>> *Gavin Chait***
>>
>> Head of Services | skype: whythawk | M:  +44 (0) 78 9495 7090 | *
>> @GavinChait <https://twitter.com/GavinChait>*****
>>
>> *The **Open Knowledge Foundation<http://www.google.com/url?q=http%3A%2F%2Fokfn.org%2F&sa=D&sntz=1&usg=AFQjCNG2PcKjUT2LrlbSh4JGbu1dt-bNyg>
>> *****
>>
>> *Empowering through Open Knowledge*****
>>
>> *http://okfn.org/* | *@okfn <http://twitter.com/OKFN>* | *OKF on Facebook<https://www.facebook.com/OKFNetwork>
>> * | *Blog <http://blog.okfn.org/>* | Newsletter<http://okfn.org/about/newsletter>
>> ****
>>
>> ** **
>>
>> *From:* Aaron McGlinchy [mailto:McGlinchyA at landcareresearch.co.nz]
>> *Sent:* 23 August 2013 03:42
>> *To:* gavin.chait at okfn.org
>> *Cc:* Michael Speth
>> *Subject:* RE: URGENT: FW: CKAN setup/info****
>>
>> ** **
>>
>> Hi Gavin,****
>>
>>             We have a first few things that we would like your help with
>> under our support plan.****
>>
>>  ****
>>
>> a)      We have encountered trouble getting the data preview function to
>> work, and****
>>
>> b)       We were trying to change the background image using the theming
>> and changes to the CSS/LESS, but had trouble. We’ve found out how to do
>> simple changes like that in the Config options CSS, but for future
>> reference it would be good to get up to speed on how to start more advanced
>> theming (we don’t actually have a desired theme we want to apply, so this
>> would be learning which we could apply when we do.  Perhaps teaching us how
>> to change the background via the CSS/LESS could be a training example?).*
>> ***
>>
>>  ****
>>
>> My initial thought is that rather than you guys just fixing things, we
>> try and upskill ourselves in the process – so maybe you assessing the
>> problem and then talking us through fixing?****
>>
>>  ****
>>
>> I’ve cc in Michael Speth who is the technical person who is setting up
>> CKAN for us, and who you would need to liaise with.****
>>
>>  ****
>>
>> So, when would you be able to assist us with this, how long do you think
>> it should take, how would you like to work it…****
>>
>>  ****
>>
>> Thanks****
>>
>> Aaron ****
>>
>> ** **
>>
>> _______________________________________________
>> CKAN-support mailing list
>> CKAN-support at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-support
>>
>>
>


-- 
Sam Smith
Graphic Designer  |  skype: mintcanary  |   twitter: mintcanary

The Open Knowledge Foundation <http://okfn.org/>

Empowering through Open Knowledge
http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/about/newsletter>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ckan-support/attachments/20130823/15f39f8b/attachment-0003.html>


More information about the ckan-support mailing list