[ckan-dev] Changing background image on new CKAN install

Aaron McGlinchy McGlinchyA at landcareresearch.co.nz
Sun Jul 28 23:16:19 UTC 2013


Hi,

   We are still having trouble implementing a new background.  Can anyone provide step by step instructions for how to do this - say to change the default chequered grey background to a new image called "newback.jpg"?



Thanks

Aaron





On 17 July 2013 03:25, Aaron McGlinchy

<McGlinchyA at landcareresearch.co.nz> wrote:

> Hi, we have recently installed CKAN 2.0, and are tweaking it a bit. One

> thing we want to do is replace the default (grey chequered) background

> image.

>

>

>

> I provided a new image to my IT guy and asked him to implement the change,

> however he has come back to me with an issue:

>

>

>

> I have updated the homepage.less to use the new background.



It is recommended to add your own css via the custom.less file not to

change the base files



> Updating the

> less requires a recompile of the css. I have installed everything required

> and the final command bin/less gives the following output:

>

>

>

> Watching /usr/lib/ckan/default/src/ckan/ckan/public/base/less

> [2013-07-17 01:35:03] recompiled main.css in 1345ms

>

>

>

> The command never exits so it seems like its stuck in an infinite loop.

>

This is because it is polling the less files and will recompile the

css when changes are made. This is a feature used in development.

>

>

> I have attached part of the puppet script that installs the necessary

> components and runs the commands for recompiling the less files. Note, I am

> using the latest node.js from ppa:chris-lea/node.js. Which is added outside

> of the code I provided.

>

>

>

> This is code for adding the node.js ppa.

>

> apt::ppa { 'ppa:chris-lea/node.js': }

>

> ---

>

> Do you have any suggestions?

>

>

>

> Thanks

>

> Aaron



________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130728/34dddabb/attachment-0001.html>


More information about the ckan-dev mailing list